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 ());
71
MethodBodies = new ValueSet<
MethodIL
> (methodsList);
90
public readonly ValueSetLattice<
MethodIL
> MethodBodyLattice;
95
ValueSetLattice<
MethodIL
> methodBodyLattice,
Linker.Dataflow\MethodBodyScanner.cs (7)
152
public BasicBlockIterator (
MethodIL
methodIL)
227
public virtual void InterproceduralScan (
MethodIL
startingMethodIL)
245
foreach (
var
methodIL in oldInterproceduralState.MethodBodies.GetKnownValues ())
276
protected virtual void Scan (
MethodIL
methodIL, ref InterproceduralState interproceduralState)
703
private static void ScanExceptionInformation (Dictionary<int, Stack<StackSlot>> knownStacks,
MethodIL
methodIL)
761
MethodIL
methodIL,
824
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)
2557
var
body = Context.GetMethodIL (method);
3467
var
processedMethodBody = Context.GetMethodIL (body);
3490
bool CheckRequiresReflectionMethodBodyScanner (
MethodIL
methodIL)
3517
bool MarkAndCheckRequiresReflectionMethodBodyScanner (
MethodIL
methodIL, MessageOrigin origin)
3559
bool IsUnreachableBody (
MethodIL
methodIL)
3569
void MarkInterfacesNeededByBodyStack (
MethodIL
methodIL)
3715
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)
991
public
MethodIL
GetMethodIL (Cecil.Cil.MethodBody methodBody)
994
public
MethodIL
GetMethodIL (MethodDefinition method)
1000
return
MethodIL
.Create (method.Body);
Linker\MethodBodyScanner.cs (3)
14
public static bool IsWorthConvertingToThrow (
MethodIL
body)
66
public IEnumerable<(InterfaceImplementation, TypeDefinition)>? GetReferencedInterfaces (
MethodIL
methodIL)
97
HashSet<TypeDefinition> AllPossibleStackTypes (
MethodIL
methodIL)
Linker\MethodIL.cs (1)
29
public static
MethodIL
Create (MethodBody body) => new MethodIL (body);