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())
209
CodeBasedDependencyAlgorithm.AddDependenciesDueToMethodCodePresence(_unconditionalDependencies, _factory,
_canonMethod
, _canonMethodIL);
210
CodeBasedDependencyAlgorithm.AddConditionalDependenciesDueToMethodCodePresence(conditionalDependencies, _factory,
_canonMethod
);
229
GenericDictionaryLookup lookup = _compilation.ComputeGenericLookup(
_canonMethod
, helperId, helperArgument);
232
if (
_canonMethod
.RequiresInstMethodDescArg())
234
return _compilation.NodeFactory.ReadyToRunHelperFromDictionaryLookup(lookup.HelperId, lookup.HelperObject,
_canonMethod
);
238
Debug.Assert(
_canonMethod
.RequiresInstArg() ||
_canonMethod
.AcquiresInstMethodTableFromThis());
239
return _compilation.NodeFactory.ReadyToRunHelperFromTypeLookup(lookup.HelperId, lookup.HelperObject,
_canonMethod
.OwningType);
337
_compilation.DetectGenericCycles(
_canonMethod
, method);
562
if (opcode is ILOpcode.call or ILOpcode.callvirt &&
_canonMethod
.IsAsyncCall())
576
if (allowAsyncVariant && (
_canonMethod
.SupportsAsyncVersionCodegen() ? MatchTailCallAwait() : MatchTaskAwaitPattern()))
590
if (!_asyncDependenciesReported &&
_canonMethod
.IsAsyncCall() && method.IsAsyncCall())
896
targetMethod = _compilation.ExpandIntrinsicForCallsite(targetMethod,
_canonMethod
);
915
if (!
_canonMethod
.IsSharedByGenericInstantiations)
1013
_canonMethod
,
1080
AsyncResumptionStub resumptionStub = _compilation.TypeSystemContext.GetAsyncResumptionStub(
_canonMethod
, _compilation.TypeSystemContext.GeneratedAssembly.GetGlobalModuleType());
2040
if (_wrappingAwaitReported || !
_canonMethod
.SupportsAsyncVersionCodegen() || _prevMatchedAwaitTailCallRetPostOffset == _currentOffset)
2047
MethodDesc taskReturningMethod =
_canonMethod
.GetTargetOfAsyncVariant();
2054
MethodDesc runtimeDeterminedCaller =
_canonMethod
.GetSharedRuntimeFormMethodTarget();