1 write to _constrainedMethod
ILCompiler.Compiler (1)
Compiler\DependencyAnalysis\GenericLookupResult.cs (1)
1058
_constrainedMethod
= constrainedMethod;
13 references to _constrainedMethod
ILCompiler.Compiler (13)
Compiler\DependencyAnalysis\GenericLookupResult.cs (13)
1062
Debug.Assert(_constraintType.IsRuntimeDeterminedSubtype ||
_constrainedMethod
.IsRuntimeDeterminedExactMethod, "Concrete type in a generic dictionary?");
1063
Debug.Assert(!
_constrainedMethod
.HasInstantiation || !_directCall, "Direct call to constrained generic method isn't supported");
1068
MethodDesc canonMethod =
_constrainedMethod
.GetCanonMethodTarget(CanonicalFormKind.Specific);
1084
MethodDesc instantiatedConstrainedMethod =
_constrainedMethod
.GetNonRuntimeDeterminedMethodFromRuntimeDeterminedMethodViaSubstitution(dictionary.TypeInstantiation, dictionary.MethodInstantiation);
1134
factory.MetadataManager.NoteOverridingMethod(
_constrainedMethod
, implMethod);
1147
sb.Append(nameMangler.GetMangledMethodName(
_constrainedMethod
));
1152
public override string ToString() => $"ConstrainedMethodUseLookupResult: {_constraintType} {
_constrainedMethod
} {_directCall}";
1156
return factory.NativeLayout.ConstrainedMethodUse(
_constrainedMethod
, _constraintType, _directCall);
1170
return comparer.Compare(
_constrainedMethod
, otherResult.
_constrainedMethod
);
1175
return
_constrainedMethod
.GetHashCode() * 13 + _constraintType.GetHashCode();
1181
return
_constrainedMethod
== other.
_constrainedMethod
&&