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
);
215
GenericDictionaryLookup lookup = _compilation.ComputeGenericLookup(
_canonMethod
, helperId, helperArgument);
218
if (
_canonMethod
.RequiresInstMethodDescArg())
220
return _compilation.NodeFactory.ReadyToRunHelperFromDictionaryLookup(lookup.HelperId, lookup.HelperObject,
_canonMethod
);
224
Debug.Assert(
_canonMethod
.RequiresInstArg() ||
_canonMethod
.AcquiresInstMethodTableFromThis());
225
return _compilation.NodeFactory.ReadyToRunHelperFromTypeLookup(lookup.HelperId, lookup.HelperObject,
_canonMethod
.OwningType);
320
_compilation.DetectGenericCycles(
_canonMethod
, method);
462
if (opcode is ILOpcode.call or ILOpcode.callvirt &&
_canonMethod
.IsAsyncCall())
476
if (allowAsyncVariant && (
_canonMethod
.SupportsAsyncVersionCodegen() ? MatchTailCallAwait(method) : MatchTaskAwaitPattern()))
490
if (!_asyncDependenciesReported &&
_canonMethod
.IsAsyncCall() && method.IsAsyncCall())
788
targetMethod = _compilation.ExpandIntrinsicForCallsite(targetMethod,
_canonMethod
);
807
if (!
_canonMethod
.IsSharedByGenericInstantiations)
905
_canonMethod
,
972
AsyncResumptionStub resumptionStub = _compilation.TypeSystemContext.GetAsyncResumptionStub(
_canonMethod
, _compilation.TypeSystemContext.GeneratedAssembly.GetGlobalModuleType());
1789
if (_wrappingAwaitReported || !
_canonMethod
.SupportsAsyncVersionCodegen() || _prevMatchedAwaitTailCallRetPostOffset == _currentOffset)
1796
MethodDesc taskReturningMethod =
_canonMethod
.GetTargetOfAsyncVariant();
1803
MethodDesc runtimeDeterminedCaller =
_canonMethod
.GetSharedRuntimeFormMethodTarget();