1 write to _constrainedMethod
ILCompiler.Compiler (1)
Compiler\DependencyAnalysis\GenericLookupResult.cs (1)
1060
_constrainedMethod
= constrainedMethod;
13 references to _constrainedMethod
ILCompiler.Compiler (13)
Compiler\DependencyAnalysis\GenericLookupResult.cs (13)
1064
Debug.Assert(_constraintType.IsRuntimeDeterminedSubtype ||
_constrainedMethod
.IsRuntimeDeterminedExactMethod, "Concrete type in a generic dictionary?");
1065
Debug.Assert(!
_constrainedMethod
.HasInstantiation || !_directCall, "Direct call to constrained generic method isn't supported");
1070
MethodDesc canonMethod =
_constrainedMethod
.GetCanonMethodTarget(CanonicalFormKind.Specific);
1086
MethodDesc instantiatedConstrainedMethod =
_constrainedMethod
.GetNonRuntimeDeterminedMethodFromRuntimeDeterminedMethodViaSubstitution(dictionary.TypeInstantiation, dictionary.MethodInstantiation);
1136
factory.MetadataManager.NoteOverridingMethod(
_constrainedMethod
, implMethod);
1149
sb.Append(nameMangler.GetMangledMethodName(
_constrainedMethod
));
1154
public override string ToString() => $"ConstrainedMethodUseLookupResult: {_constraintType} {
_constrainedMethod
} {_directCall}";
1158
return factory.NativeLayout.ConstrainedMethodUse(
_constrainedMethod
, _constraintType, _directCall);
1172
return comparer.Compare(
_constrainedMethod
, otherResult.
_constrainedMethod
);
1177
return
_constrainedMethod
.GetHashCode() * 13 + _constraintType.GetHashCode();
1183
return
_constrainedMethod
== other.
_constrainedMethod
&&