1 instantiation of MethodIL
illink (1)
Linker\MethodIL.cs (1)
29
public static MethodIL Create(MethodBody body) => new
MethodIL
(body);
33 references to MethodIL
illink (33)
Linker.Dataflow\InterproceduralState.cs (7)
22
public ValueSet<
MethodIL
> MethodBodies;
26
public InterproceduralState(ValueSet<
MethodIL
> methodBodies, HoistedLocalState hoistedLocals, InterproceduralStateLattice lattice)
53
public void TrackMethod(
MethodIL
methodIL)
57
var methodsList = new List<
MethodIL
>(MethodBodies.GetKnownValues());
73
MethodBodies = new ValueSet<
MethodIL
>(methodsList);
92
public readonly ValueSetLattice<
MethodIL
> MethodBodyLattice;
97
ValueSetLattice<
MethodIL
> methodBodyLattice,
Linker.Dataflow\MethodBodyScanner.cs (7)
160
public BasicBlockIterator(
MethodIL
methodIL)
248
public virtual void InterproceduralScan(
MethodIL
startingMethodIL)
267
foreach (
var
methodIL in oldInterproceduralState.MethodBodies.GetKnownValues())
301
protected virtual void Scan(
MethodIL
methodIL, ref InterproceduralState interproceduralState)
747
private static void ScanExceptionInformation(Dictionary<int, Stack<StackSlot>> knownStacks,
MethodIL
methodIL)
808
MethodIL
methodIL,
879
MethodIL
methodIL,
Linker.Dataflow\ReflectionMethodBodyScanner.cs (2)
63
public override void InterproceduralScan(
MethodIL
methodIL)
71
protected override void Scan(
MethodIL
methodIL, ref InterproceduralState interproceduralState)
Linker.Dataflow\ScannerExtensions.cs (1)
19
public static HashSet<int> ComputeBranchTargets(this
MethodIL
methodIL)
Linker.Steps\MarkStep.cs (7)
2806
var
body = Context.GetMethodIL(method);
3790
var
processedMethodBody = Context.GetMethodIL(body);
3814
bool CheckRequiresReflectionMethodBodyScanner(
MethodIL
methodIL)
3843
bool MarkAndCheckRequiresReflectionMethodBodyScanner(
MethodIL
methodIL, MessageOrigin origin)
3886
bool IsUnreachableBody(
MethodIL
methodIL)
3896
void MarkInterfacesNeededByBodyStack(
MethodIL
methodIL)
4061
protected virtual void MarkReflectionLikeDependencies(
MethodIL
methodIL, bool requiresReflectionMethodBodyScanner, MessageOrigin origin)
Linker\BannedApiExtensions.cs (2)
24
public static
MethodIL
GetMethodIL(this MethodDefinition method, LinkContext context)
27
public static
MethodIL
GetMethodIL(this MethodBody body, LinkContext context)
Linker\LinkContext.cs (3)
1023
public
MethodIL
GetMethodIL(Cecil.Cil.MethodBody methodBody)
1026
public
MethodIL
GetMethodIL(MethodDefinition method)
1033
return
MethodIL
.Create(method.Body);
Linker\MethodBodyScanner.cs (3)
14
public static bool IsWorthConvertingToThrow(
MethodIL
body)
71
public IEnumerable<(InterfaceImplementation, TypeDefinition)>? GetReferencedInterfaces(
MethodIL
methodIL)
103
HashSet<TypeDefinition> AllPossibleStackTypes(
MethodIL
methodIL)
Linker\MethodIL.cs (1)
29
public static
MethodIL
Create(MethodBody body) => new MethodIL(body);