1 write to _genericMethodDefinition
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Methods\RoConstructedGenericMethod.cs (1)
24
_genericMethodDefinition
= genericMethodDefinition;
16 references to _genericMethodDefinition
System.Reflection.MetadataLoadContext (16)
System\Reflection\TypeLoading\Methods\RoConstructedGenericMethod.cs (16)
28
internal sealed override RoType GetRoDeclaringType() =>
_genericMethodDefinition
.GetRoDeclaringType();
29
internal sealed override RoModule GetRoModule() =>
_genericMethodDefinition
.GetRoModule();
31
protected sealed override string ComputeName() =>
_genericMethodDefinition
.Name;
32
public sealed override int MetadataToken =>
_genericMethodDefinition
.MetadataToken;
33
public sealed override IEnumerable<CustomAttributeData> CustomAttributes =>
_genericMethodDefinition
.CustomAttributes;
36
protected sealed override MethodAttributes ComputeAttributes() =>
_genericMethodDefinition
.Attributes;
37
protected sealed override CallingConventions ComputeCallingConvention() =>
_genericMethodDefinition
.CallingConvention;
38
protected sealed override MethodImplAttributes ComputeMethodImplementationFlags() =>
_genericMethodDefinition
.MethodImplementationFlags;
40
protected sealed override MethodSig<RoParameter> ComputeMethodSig() =>
_genericMethodDefinition
.SpecializeMethodSig(this);
42
public sealed override MethodBody? GetMethodBody() =>
_genericMethodDefinition
.SpecializeMethodBody(this);
49
public sealed override MethodInfo GetGenericMethodDefinition() =>
_genericMethodDefinition
;
59
if (!(
_genericMethodDefinition
== other.
_genericMethodDefinition
))
76
int hashCode =
_genericMethodDefinition
.GetHashCode();
84
protected sealed override MethodSig<string> ComputeMethodSigStrings() =>
_genericMethodDefinition
.SpecializeMethodSigStrings(TypeContext);
86
public sealed override TypeContext TypeContext => new TypeContext(
_genericMethodDefinition
.TypeContext.GenericTypeArguments, _genericMethodArguments);