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)
3818
if (ReflectionMethodBodyScanner.RequiresReflectionMethodBodyScannerForMethodBody(Context, methodIL.
Method
))
3846
if (!Annotations.IsProcessed(methodIL.
Method
))
3848
Debug.Assert(CompilerGeneratedState.IsNestedFunctionOrStateMachineMember(methodIL.
Method
));
3849
MethodDefinition owningMethod = methodIL.
Method
;
3852
Debug.Assert(owningMethod != methodIL.
Method
);
3863
MarkType(var.VariableType, new DependencyInfo(DependencyKind.VariableType, methodIL.
Method
), origin);
3867
MarkType(eh.CatchType, new DependencyInfo(DependencyKind.CatchType, methodIL.
Method
), origin);
3870
ReflectionMethodBodyScanner.RequiresReflectionMethodBodyScannerForMethodBody(Context, methodIL.
Method
);
3871
MessageOrigin ilOrigin = new MessageOrigin(methodIL.
Method
);
3873
MarkInstruction(instruction, methodIL.
Method
, ref requiresReflectionMethodBodyScanner, ref ilOrigin);
3877
if (CompilerGeneratedState.IsNestedFunctionOrStateMachineMember(methodIL.
Method
))
3888
return !methodIL.
Method
.IsStatic
3889
&& !Annotations.IsInstantiated(methodIL.
Method
.DeclaringType)
4063
Debug.Assert(!CompilerGeneratedState.IsNestedFunctionOrStateMachineMember(methodIL.
Method
));
4068
if (Context.CompilerGeneratedState.TryGetCompilerGeneratedCalleesForUserMethod(methodIL.
Method
, out List<IMemberDefinition>? compilerGeneratedCallees))
Linker\MethodBodyScanner.cs (1)
110
foreach (var param in methodIL.
Method
.GetParameters())