1 write to _canonMethod
ILCompiler.Compiler (1)
IL\ILImporter.Scanner.cs (1)
120
_canonMethod
= method;
27 references to _canonMethod
ILCompiler.Compiler (27)
IL\ILImporter.Scanner.cs (27)
134
TypeDesc owningType =
_canonMethod
.OwningType;
140
(
_canonMethod
.Signature.IsStatic ||
_canonMethod
.IsConstructor || owningType.IsValueType || owningType.IsInterface))
158
if (
_canonMethod
.IsSynchronized)
163
if (
_canonMethod
.Signature.IsStatic)
177
if (
_canonMethod
.IsCanonicalMethod(CanonicalFormKind.Any))
179
if (
_canonMethod
.RequiresInstMethodDescArg())
185
if (
_canonMethod
.RequiresSaveRestoreOfAsyncContexts())
207
CodeBasedDependencyAlgorithm.AddDependenciesDueToMethodCodePresence(ref _unconditionalDependencies, _factory,
_canonMethod
, _canonMethodIL);
208
CodeBasedDependencyAlgorithm.AddConditionalDependenciesDueToMethodCodePresence(ref conditionalDependencies, _factory,
_canonMethod
);
227
GenericDictionaryLookup lookup = _compilation.ComputeGenericLookup(
_canonMethod
, helperId, helperArgument);
230
if (
_canonMethod
.RequiresInstMethodDescArg())
232
return _compilation.NodeFactory.ReadyToRunHelperFromDictionaryLookup(lookup.HelperId, lookup.HelperObject,
_canonMethod
);
236
Debug.Assert(
_canonMethod
.RequiresInstArg() ||
_canonMethod
.AcquiresInstMethodTableFromThis());
237
return _compilation.NodeFactory.ReadyToRunHelperFromTypeLookup(lookup.HelperId, lookup.HelperObject,
_canonMethod
.OwningType);
332
_compilation.DetectGenericCycles(
_canonMethod
, method);
551
if (opcode is ILOpcode.call or ILOpcode.callvirt &&
_canonMethod
.IsAsyncCall())
565
if (allowAsyncVariant && (
_canonMethod
.SupportsAsyncVersionCodegen() ? MatchTailCallAwait() : MatchTaskAwaitPattern()))
579
if (!_asyncDependenciesReported &&
_canonMethod
.IsAsyncCall() && method.IsAsyncCall())
877
targetMethod = _compilation.ExpandIntrinsicForCallsite(targetMethod,
_canonMethod
);
896
if (!
_canonMethod
.IsSharedByGenericInstantiations)
994
_canonMethod
,
1061
AsyncResumptionStub resumptionStub = _compilation.TypeSystemContext.GetAsyncResumptionStub(
_canonMethod
, _compilation.TypeSystemContext.GeneratedAssembly.GetGlobalModuleType());
1924
if (_wrappingAwaitReported || !
_canonMethod
.SupportsAsyncVersionCodegen() || _prevMatchedAwaitTailCallRetPostOffset == _currentOffset)
1931
MethodDesc taskReturningMethod =
_canonMethod
.GetTargetOfAsyncVariant();
1938
MethodDesc runtimeDeterminedCaller =
_canonMethod
.GetSharedRuntimeFormMethodTarget();