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)
3494
if (ReflectionMethodBodyScanner.RequiresReflectionMethodBodyScannerForMethodBody (Context, methodIL.
Method
))
3520
if (!Annotations.IsProcessed (methodIL.
Method
)) {
3521
Debug.Assert (CompilerGeneratedState.IsNestedFunctionOrStateMachineMember (methodIL.
Method
));
3522
MethodDefinition owningMethod = methodIL.
Method
;
3525
Debug.Assert (owningMethod != methodIL.
Method
);
3536
MarkType (var.VariableType, new DependencyInfo (DependencyKind.VariableType, methodIL.
Method
), origin);
3540
MarkType (eh.CatchType, new DependencyInfo (DependencyKind.CatchType, methodIL.
Method
), origin);
3543
ReflectionMethodBodyScanner.RequiresReflectionMethodBodyScannerForMethodBody (Context, methodIL.
Method
);
3544
MessageOrigin ilOrigin = new MessageOrigin (methodIL.
Method
);
3546
MarkInstruction (instruction, methodIL.
Method
, ref requiresReflectionMethodBodyScanner, ref ilOrigin);
3550
if (CompilerGeneratedState.IsNestedFunctionOrStateMachineMember (methodIL.
Method
))
3561
return !methodIL.
Method
.IsStatic
3562
&& !Annotations.IsInstantiated (methodIL.
Method
.DeclaringType)
3717
Debug.Assert (!CompilerGeneratedState.IsNestedFunctionOrStateMachineMember (methodIL.
Method
));
3722
if (Context.CompilerGeneratedState.TryGetCompilerGeneratedCalleesForUserMethod (methodIL.
Method
, out List<IMemberDefinition>? compilerGeneratedCallees)) {
Linker\MethodBodyScanner.cs (1)
104
foreach (var param in methodIL.
Method
.GetParameters ())