Skip to content

Commit

Permalink
Override IsByRefLike on S.R.E.*Builder classes
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusturewicz committed Apr 11, 2020
1 parent ca1a684 commit 87e4fd2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ public FieldBuilder DefineLiteral(string literalName, object? literalValue)

public override Type? BaseType => m_typeBuilder.BaseType;

public override bool IsByRefLike => false;

protected override ConstructorInfo? GetConstructorImpl(BindingFlags bindingAttr, Binder? binder,
CallingConventions callConvention, Type[] types, ParameterModifier[]? modifiers)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ public override bool Equals(object? o)

public override Module Module => m_type.Module;

public override bool IsByRefLike => false;

internal int MetadataTokenInternal => m_type.MetadataTokenInternal;
#endregion

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -721,6 +721,8 @@ public override string ToString()

public override Module Module => GetModuleBuilder();

public override bool IsByRefLike => false;

internal int MetadataTokenInternal => m_tdType.Token;

#endregion
Expand Down

0 comments on commit 87e4fd2

Please sign in to comment.