19 references to Method
illink (19)
Linker.Dataflow\InterproceduralState.cs (1)
63
if (CompilerGeneratedState.TryGetStateMachineType(methodIL.
Method
, out TypeDefinition? stateMachineType))
Linker.Dataflow\MethodBodyScanner.cs (1)
250
MethodDefinition startingMethod = startingMethodIL.
Method
;
Linker.Dataflow\ReflectionMethodBodyScanner.cs (1)
73
_origin = new MessageOrigin(methodIL.
Method
);
Linker.Steps\MarkStep.cs (15)
3780
if (ReflectionMethodBodyScanner.RequiresReflectionMethodBodyScannerForMethodBody(Context, methodIL.
Method
))
3808
if (!Annotations.IsProcessed(methodIL.
Method
))
3810
Debug.Assert(CompilerGeneratedState.IsNestedFunctionOrStateMachineMember(methodIL.
Method
));
3811
MethodDefinition owningMethod = methodIL.
Method
;
3814
Debug.Assert(owningMethod != methodIL.
Method
);
3825
MarkType(var.VariableType, new DependencyInfo(DependencyKind.VariableType, methodIL.
Method
), origin);
3829
MarkType(eh.CatchType, new DependencyInfo(DependencyKind.CatchType, methodIL.
Method
), origin);
3832
ReflectionMethodBodyScanner.RequiresReflectionMethodBodyScannerForMethodBody(Context, methodIL.
Method
);
3833
MessageOrigin ilOrigin = new MessageOrigin(methodIL.
Method
);
3835
MarkInstruction(instruction, methodIL.
Method
, ref requiresReflectionMethodBodyScanner, ref ilOrigin);
3839
if (CompilerGeneratedState.IsNestedFunctionOrStateMachineMember(methodIL.
Method
))
3850
return !methodIL.
Method
.IsStatic
3851
&& !Annotations.IsInstantiated(methodIL.
Method
.DeclaringType)
4023
Debug.Assert(!CompilerGeneratedState.IsNestedFunctionOrStateMachineMember(methodIL.
Method
));
4028
if (Context.CompilerGeneratedState.TryGetCompilerGeneratedCalleesForUserMethod(methodIL.
Method
, out List<IMemberDefinition>? compilerGeneratedCallees))
Linker\MethodBodyScanner.cs (1)
110
foreach (var param in methodIL.
Method
.GetParameters())