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;
31
public MarkSubStepsDispatcher (IEnumerable<
ISubStep
> subSteps)
33
substeps = new List<
ISubStep
> (subSteps);
42
static bool HasSubSteps (List<
ISubStep
> substeps) => substeps?.Count > 0;
98
foreach (
var
substep in Categorized.on_assemblies) {
105
foreach (
var
substep in Categorized.on_types) {
112
foreach (
var
substep in Categorized.on_fields) {
119
foreach (
var
substep in Categorized.on_methods) {
126
foreach (
var
substep in Categorized.on_properties) {
133
foreach (
var
substep in Categorized.on_events) {
140
foreach (
var
substep in substeps)
147
on_assemblies = new List<
ISubStep
> (),
148
on_types = new List<
ISubStep
> (),
149
on_fields = new List<
ISubStep
> (),
150
on_methods = new List<
ISubStep
> (),
151
on_properties = new List<
ISubStep
> (),
152
on_events = new List<
ISubStep
> ()
155
foreach (
var
substep in substeps)
159
void CategorizeSubStep (
ISubStep
substep, AssemblyDefinition assembly)
172
static void CategorizeTarget (
ISubStep
substep, SubStepTargets target, List<
ISubStep
> list)
180
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;
41
substeps = new List<
ISubStep
> ();
44
protected SubStepsDispatcher (IEnumerable<
ISubStep
> subSteps)
46
substeps = new List<
ISubStep
> (subSteps);
49
public void Add (
ISubStep
substep)
61
static bool HasSubSteps (List<
ISubStep
> substeps) => substeps?.Count > 0;
119
foreach (
var
substep in Categorized.on_assemblies) {
126
foreach (
var
substep in Categorized.on_types) {
133
foreach (
var
substep in Categorized.on_fields) {
140
foreach (
var
substep in Categorized.on_methods) {
147
foreach (
var
substep in Categorized.on_properties) {
154
foreach (
var
substep in Categorized.on_events) {
161
foreach (
var
substep in substeps)
168
on_assemblies = new List<
ISubStep
> (),
169
on_types = new List<
ISubStep
> (),
170
on_fields = new List<
ISubStep
> (),
171
on_methods = new List<
ISubStep
> (),
172
on_properties = new List<
ISubStep
> (),
173
on_events = new List<
ISubStep
> ()
176
foreach (
var
substep in substeps)
180
void CategorizeSubStep (
ISubStep
substep, AssemblyDefinition assembly)
193
static void CategorizeTarget (
ISubStep
substep, SubStepTargets target, List<
ISubStep
> list)
201
static bool Targets (
ISubStep
substep, SubStepTargets target) => (substep.Targets & target) == target;