27 references to MethodAction
illink (27)
Linker.Steps\BodySubstitutionParser.cs (2)
67
_substitutionInfo.SetMethodAction (method,
MethodAction
.ConvertToThrow);
80
_substitutionInfo.SetMethodAction (method,
MethodAction
.ConvertToStub);
Linker.Steps\CheckSuppressionsStep.cs (1)
41
if (Context.Annotations.GetAction (method) !=
MethodAction
.ConvertToThrow)
Linker.Steps\CodeRewriterStep.cs (2)
105
case
MethodAction
.ConvertToStub:
108
case
MethodAction
.ConvertToThrow:
Linker.Steps\DescriptorMarker.cs (1)
173
_context.Annotations.SetAction (method,
MethodAction
.Parse);
Linker.Steps\MarkStep.cs (10)
276
Annotations.SetAction (body.Method,
MethodAction
.ConvertToThrow);
1826
Annotations.SetAction (method,
MethodAction
.ForceParse);
2894
var
methodAction = Annotations.GetAction (method);
2895
if (methodAction is
MethodAction
.ConvertToStub) {
2903
if (methodAction ==
MethodAction
.Nothing)
2904
Annotations.SetAction (method,
MethodAction
.Parse);
3266
case
MethodAction
.ConvertToStub:
3278
case
MethodAction
.ConvertToThrow:
3412
case
MethodAction
.ForceParse:
3414
case
MethodAction
.Parse:
Linker.Steps\UnreachableBlocksOptimizer.cs (2)
223
case
MethodAction
.ConvertToThrow:
225
case
MethodAction
.ConvertToStub:
Linker\Annotations.cs (2)
125
public
MethodAction
GetAction (MethodDefinition method)
140
public void SetAction (MethodDefinition method,
MethodAction
action)
Linker\MemberActionStore.cs (4)
38
public
MethodAction
GetAction (MethodDefinition method)
40
if (PrimarySubstitutionInfo.MethodActions.TryGetValue (method, out
MethodAction
action))
49
return
MethodAction
.ConvertToStub;
51
return
MethodAction
.Nothing;
Linker\SubstitutionInfo.cs (3)
11
public Dictionary<MethodDefinition,
MethodAction
> MethodActions { get; }
18
MethodActions = new Dictionary<MethodDefinition,
MethodAction
> ();
24
public void SetMethodAction (MethodDefinition method,
MethodAction
action)