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)
229
MethodDefinition startingMethod = startingMethodIL.
Method
;
Linker.Dataflow\ReflectionMethodBodyScanner.cs (1)
73
_origin = new MessageOrigin (methodIL.
Method
);
Linker.Steps\MarkStep.cs (15)
3499
if (ReflectionMethodBodyScanner.RequiresReflectionMethodBodyScannerForMethodBody (Context, methodIL.
Method
))
3525
if (!Annotations.IsProcessed (methodIL.
Method
)) {
3526
Debug.Assert (CompilerGeneratedState.IsNestedFunctionOrStateMachineMember (methodIL.
Method
));
3527
MethodDefinition owningMethod = methodIL.
Method
;
3530
Debug.Assert (owningMethod != methodIL.
Method
);
3541
MarkType (var.VariableType, new DependencyInfo (DependencyKind.VariableType, methodIL.
Method
), origin);
3545
MarkType (eh.CatchType, new DependencyInfo (DependencyKind.CatchType, methodIL.
Method
), origin);
3548
ReflectionMethodBodyScanner.RequiresReflectionMethodBodyScannerForMethodBody (Context, methodIL.
Method
);
3549
MessageOrigin ilOrigin = new MessageOrigin (methodIL.
Method
);
3551
MarkInstruction (instruction, methodIL.
Method
, ref requiresReflectionMethodBodyScanner, ref ilOrigin);
3555
if (CompilerGeneratedState.IsNestedFunctionOrStateMachineMember (methodIL.
Method
))
3566
return !methodIL.
Method
.IsStatic
3567
&& !Annotations.IsInstantiated (methodIL.
Method
.DeclaringType)
3722
Debug.Assert (!CompilerGeneratedState.IsNestedFunctionOrStateMachineMember (methodIL.
Method
));
3727
if (Context.CompilerGeneratedState.TryGetCompilerGeneratedCalleesForUserMethod (methodIL.
Method
, out List<IMemberDefinition>? compilerGeneratedCallees)) {
Linker\MethodBodyScanner.cs (1)
104
foreach (var param in methodIL.
Method
.GetParameters ())