Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Override IsByRefLike on S.R.E.*Builder classes #34846

Merged
merged 5 commits into from
Apr 20, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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;
marcusturewicz marked this conversation as resolved.
Show resolved Hide resolved

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