60 references to Annotations
illink (60)
Linker.Steps\AddBypassNGenStep.cs (4)
20
if (
Annotations
.GetAction(assembly) == AssemblyAction.AddBypassNGen)
48
if (!
Annotations
.IsMarked(method))
97
if (
Annotations
.GetAction(coreLibAssembly) == AssemblyAction.Copy)
99
Annotations
.SetAction(coreLibAssembly, AssemblyAction.Save);
Linker.Steps\CleanStep.cs (1)
42
if (
Annotations
.GetAction(assembly) == AssemblyAction.Link)
Linker.Steps\CodeRewriterStep.cs (2)
26
if (
Annotations
.GetAction(assembly) != AssemblyAction.Link)
49
switch (
Annotations
.GetAction(method))
Linker.Steps\OutputStep.cs (3)
124
var action =
Annotations
.GetAction(assembly);
182
Annotations
.CloseSymbolReader(assembly);
210
if (!
Annotations
.ProcessSatelliteAssemblies)
Linker.Steps\ProcessReferencesStep.cs (2)
49
if (IsFullyPreservedAction(
Annotations
.GetAction(assembly)))
50
Annotations
.Mark(assembly.MainModule, new DependencyInfo(DependencyKind.AssemblyAction, assembly), new MessageOrigin(assembly));
Linker.Steps\ReflectionBlockedStep.cs (3)
44
if (!
Annotations
.IsIndirectlyCalled(method))
58
if (
Annotations
.IsIndirectlyCalled(method))
83
Annotations
.Mark(ca, new DependencyInfo(DependencyKind.DisablePrivateReflection, ca));
Linker.Steps\RegenerateGuidStep.cs (1)
44
if (
Annotations
.GetAction(assembly) == AssemblyAction.Link)
Linker.Steps\RemoveResourcesStep.cs (2)
24
var action =
Annotations
.GetAction(assembly);
33
Annotations
.AddResourceToRemove(assembly, resource);
Linker.Steps\RootAssemblyInputStep.cs (11)
34
Annotations
.Mark(assembly.MainModule, di, origin);
55
Annotations
.Mark(ep.DeclaringType, di, origin);
56
Annotations
.AddPreservedMethod(ep.DeclaringType, ep);
94
Annotations
.SetRootAssembly(assembly);
95
Annotations
.Mark(assembly.MainModule, di, origin);
144
Annotations
.Mark(type, new DependencyInfo(DependencyKind.RootAssembly, type.Module.Assembly), new MessageOrigin(type.Module.Assembly));
145
Annotations
.SetPreserve(type, TypePreserve.All);
158
Annotations
.SetMembersPreserve(type, preserve);
161
Annotations
.Mark(type, new DependencyInfo(DependencyKind.RootAssembly, type.Module.Assembly), new MessageOrigin(type.Module.Assembly));
162
Annotations
.SetMembersPreserve(type, preserve);
179
Annotations
.SetMembersPreserve(type, preserve);
Linker.Steps\SealerStep.cs (7)
40
if (!
Annotations
.IsMarked(a))
97
Debug.Assert(
Annotations
.IsMarked(method));
98
if (!
Annotations
.IsMarked(method))
101
var overrides =
Annotations
.GetOverrides(method);
116
var bases =
Annotations
.GetBaseMethods(method);
140
if (
Annotations
.IsMarked(m.Override))
153
if (
Annotations
.IsMarked(m.Base))
Linker.Steps\SweepStep.cs (24)
54
var assemblies =
Annotations
.GetAssemblies().ToArray();
68
var action =
Annotations
.GetAction(assembly);
76
Annotations
.SetAction(assembly, AssemblyAction.Save);
85
foreach (var assembly in
Annotations
.GetAssemblies().ToArray())
90
Annotations
.SetAction(assembly, AssemblyAction.Delete);
99
switch (
Annotations
.GetAction(assembly))
113
var action =
Annotations
.GetAction(assembly);
133
if (
Annotations
.GetAction(ad) != AssemblyAction.Delete)
157
Annotations
.SetAction(assembly, AssemblyAction.Save);
161
Annotations
.SetAction(assembly, AssemblyAction.AddBypassNGen);
176
switch (
Annotations
.GetAction(assembly))
179
Annotations
.SetAction(assembly, AssemblyAction.AddBypassNGen);
191
Annotations
.SetAction(assembly, assemblyAction);
253
if (main.EntryPoint != null && !
Annotations
.IsMarked(main.EntryPoint))
264
return
Annotations
.IsMarked(assembly.MainModule);
269
return (Context.MetadataTrimming & metadataTrimming) != 0 && !
Annotations
.IsReflectionUsed(member);
274
Annotations
.SetAction(assembly, AssemblyAction.Delete);
279
var resourcesToRemove =
Annotations
.GetResourcesToRemove(assembly);
320
if (type.HasFields && !type.IsBeforeFieldInit && !
Annotations
.HasPreservedStaticCtor(type) && !type.IsEnum)
432
if (!
Annotations
.IsMarked(attribute))
517
return assembly != null &&
Annotations
.GetAction(assembly) == AssemblyAction.Link;
548
if (!
Annotations
.IsMarked(constants[i].ConstantType))
562
if (ttype != null && !
Annotations
.IsMarked(ttype))
607
return !
Annotations
.IsMarked(element);