1 implementation of ISubStep
illink (1)
Linker.Steps\BaseSubStep.cs (1)
9
public abstract class BaseSubStep :
ISubStep
53 references to ISubStep
illink (53)
Linker.Steps\CheckSuppressionsDispatcher.cs (1)
13
public CheckSuppressionsDispatcher() : base(new List<
ISubStep
> { new CheckSuppressionsStep() })
Linker.Steps\MarkSubStepsDispatcher.cs (22)
21
readonly List<
ISubStep
> substeps;
33
public MarkSubStepsDispatcher(IEnumerable<
ISubStep
> subSteps)
35
substeps = new List<
ISubStep
>(subSteps);
44
static bool HasSubSteps(List<
ISubStep
> substeps) => substeps?.Count > 0;
105
foreach (
var
substep in Categorized.on_assemblies)
113
foreach (
var
substep in Categorized.on_types)
121
foreach (
var
substep in Categorized.on_fields)
129
foreach (
var
substep in Categorized.on_methods)
137
foreach (
var
substep in Categorized.on_properties)
145
foreach (
var
substep in Categorized.on_events)
153
foreach (
var
substep in substeps)
161
on_assemblies = new List<
ISubStep
>(),
162
on_types = new List<
ISubStep
>(),
163
on_fields = new List<
ISubStep
>(),
164
on_methods = new List<
ISubStep
>(),
165
on_properties = new List<
ISubStep
>(),
166
on_events = new List<
ISubStep
>()
169
foreach (
var
substep in substeps)
173
void CategorizeSubStep(
ISubStep
substep, AssemblyDefinition assembly)
186
static void CategorizeTarget(
ISubStep
substep, SubStepTargets target, List<
ISubStep
> list)
194
static bool Targets(
ISubStep
substep, SubStepTargets target) => (substep.Targets & target) == target;
Linker.Steps\SubStepsDispatcher.cs (30)
14
public List<
ISubStep
> on_assemblies;
15
public List<
ISubStep
> on_types;
16
public List<
ISubStep
> on_fields;
17
public List<
ISubStep
> on_methods;
18
public List<
ISubStep
> on_properties;
19
public List<
ISubStep
> on_events;
29
readonly List<
ISubStep
> substeps;
43
substeps = new List<
ISubStep
>();
46
protected SubStepsDispatcher(IEnumerable<
ISubStep
> subSteps)
48
substeps = new List<
ISubStep
>(subSteps);
51
public void Add(
ISubStep
substep)
63
static bool HasSubSteps(List<
ISubStep
> substeps) => substeps?.Count > 0;
127
foreach (
var
substep in Categorized.on_assemblies)
135
foreach (
var
substep in Categorized.on_types)
143
foreach (
var
substep in Categorized.on_fields)
151
foreach (
var
substep in Categorized.on_methods)
159
foreach (
var
substep in Categorized.on_properties)
167
foreach (
var
substep in Categorized.on_events)
175
foreach (
var
substep in substeps)
183
on_assemblies = new List<
ISubStep
>(),
184
on_types = new List<
ISubStep
>(),
185
on_fields = new List<
ISubStep
>(),
186
on_methods = new List<
ISubStep
>(),
187
on_properties = new List<
ISubStep
>(),
188
on_events = new List<
ISubStep
>()
191
foreach (
var
substep in substeps)
195
void CategorizeSubStep(
ISubStep
substep, AssemblyDefinition assembly)
208
static void CategorizeTarget(
ISubStep
substep, SubStepTargets target, List<
ISubStep
> list)
216
static bool Targets(
ISubStep
substep, SubStepTargets target) => (substep.Targets & target) == target;