1 write to _canonMethod
ILCompiler.Compiler (1)
IL\ILImporter.Scanner.cs (1)
121
_canonMethod
= method;
27 references to _canonMethod
ILCompiler.Compiler (27)
IL\ILImporter.Scanner.cs (27)
135
TypeDesc owningType =
_canonMethod
.OwningType;
141
(
_canonMethod
.Signature.IsStatic ||
_canonMethod
.IsConstructor || owningType.IsValueType || owningType.IsInterface))
159
if (
_canonMethod
.IsSynchronized)
164
if (
_canonMethod
.Signature.IsStatic)
178
if (
_canonMethod
.IsCanonicalMethod(CanonicalFormKind.Any))
180
if (
_canonMethod
.RequiresInstMethodDescArg())
186
if (
_canonMethod
.RequiresSaveRestoreOfAsyncContexts())
208
CodeBasedDependencyAlgorithm.AddDependenciesDueToMethodCodePresence(ref _unconditionalDependencies, _factory,
_canonMethod
, _canonMethodIL);
209
CodeBasedDependencyAlgorithm.AddConditionalDependenciesDueToMethodCodePresence(ref conditionalDependencies, _factory,
_canonMethod
);
228
GenericDictionaryLookup lookup = _compilation.ComputeGenericLookup(
_canonMethod
, helperId, helperArgument);
231
if (
_canonMethod
.RequiresInstMethodDescArg())
233
return _compilation.NodeFactory.ReadyToRunHelperFromDictionaryLookup(lookup.HelperId, lookup.HelperObject,
_canonMethod
);
237
Debug.Assert(
_canonMethod
.RequiresInstArg() ||
_canonMethod
.AcquiresInstMethodTableFromThis());
238
return _compilation.NodeFactory.ReadyToRunHelperFromTypeLookup(lookup.HelperId, lookup.HelperObject,
_canonMethod
.OwningType);
336
_compilation.DetectGenericCycles(
_canonMethod
, method);
561
if (opcode is ILOpcode.call or ILOpcode.callvirt &&
_canonMethod
.IsAsyncCall())
575
if (allowAsyncVariant && (
_canonMethod
.SupportsAsyncVersionCodegen() ? MatchTailCallAwait() : MatchTaskAwaitPattern()))
589
if (!_asyncDependenciesReported &&
_canonMethod
.IsAsyncCall() && method.IsAsyncCall())
895
targetMethod = _compilation.ExpandIntrinsicForCallsite(targetMethod,
_canonMethod
);
914
if (!
_canonMethod
.IsSharedByGenericInstantiations)
1012
_canonMethod
,
1079
AsyncResumptionStub resumptionStub = _compilation.TypeSystemContext.GetAsyncResumptionStub(
_canonMethod
, _compilation.TypeSystemContext.GeneratedAssembly.GetGlobalModuleType());
2037
if (_wrappingAwaitReported || !
_canonMethod
.SupportsAsyncVersionCodegen() || _prevMatchedAwaitTailCallRetPostOffset == _currentOffset)
2044
MethodDesc taskReturningMethod =
_canonMethod
.GetTargetOfAsyncVariant();
2051
MethodDesc runtimeDeterminedCaller =
_canonMethod
.GetSharedRuntimeFormMethodTarget();