63 references to Annotations
illink (63)
Linker.Steps\AddBypassNGenStep.cs (4)
20
if (
Annotations
.GetAction (assembly) == AssemblyAction.AddBypassNGen) {
46
if (!
Annotations
.IsMarked (method)) {
91
if (
Annotations
.GetAction (coreLibAssembly) == AssemblyAction.Copy) {
92
Annotations
.SetAction (coreLibAssembly, AssemblyAction.Save);
Linker.Steps\CleanStep.cs (1)
42
if (
Annotations
.GetAction (assembly) == AssemblyAction.Link)
Linker.Steps\CodeRewriterStep.cs (5)
24
if (
Annotations
.GetAction (assembly) != AssemblyAction.Link)
40
if (type.HasFields &&
Annotations
.HasSubstitutedInit (type)) {
80
if (!
Annotations
.HasSubstitutedInit (field.Resolve ()))
88
if (!
Annotations
.HasSubstitutedInit (field))
104
switch (
Annotations
.GetAction (method)) {
Linker.Steps\OutputStep.cs (3)
117
var action =
Annotations
.GetAction (assembly);
172
Annotations
.CloseSymbolReader (assembly);
199
if (!
Annotations
.ProcessSatelliteAssemblies)
Linker.Steps\ProcessReferencesStep.cs (2)
47
if (IsFullyPreservedAction (
Annotations
.GetAction (assembly)))
48
Annotations
.Mark (assembly.MainModule, new DependencyInfo (DependencyKind.AssemblyAction, assembly), new MessageOrigin (assembly));
Linker.Steps\ReflectionBlockedStep.cs (3)
40
if (!
Annotations
.IsIndirectlyCalled (method)) {
52
if (
Annotations
.IsIndirectlyCalled (method))
75
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);
32
Annotations
.AddResourceToRemove (assembly, resource);
Linker.Steps\RootAssemblyInputStep.cs (11)
33
Annotations
.Mark (assembly.MainModule, di, origin);
52
Annotations
.Mark (ep.DeclaringType, di, origin);
53
Annotations
.AddPreservedMethod (ep.DeclaringType, ep);
91
Annotations
.SetRootAssembly (assembly);
92
Annotations
.Mark (assembly.MainModule, di, origin);
139
Annotations
.Mark (type, new DependencyInfo (DependencyKind.RootAssembly, type.Module.Assembly), new MessageOrigin (type.Module.Assembly));
140
Annotations
.SetPreserve (type, TypePreserve.All);
152
Annotations
.SetMembersPreserve (type, preserve);
155
Annotations
.Mark (type, new DependencyInfo (DependencyKind.RootAssembly, type.Module.Assembly), new MessageOrigin (type.Module.Assembly));
156
Annotations
.SetMembersPreserve (type, preserve);
173
Annotations
.SetMembersPreserve (type, preserve);
Linker.Steps\SealerStep.cs (7)
38
if (!
Annotations
.IsMarked (a))
90
Debug.Assert (
Annotations
.IsMarked (method));
91
if (!
Annotations
.IsMarked (method))
94
var overrides =
Annotations
.GetOverrides (method);
109
var bases =
Annotations
.GetBaseMethods (method);
132
if (
Annotations
.IsMarked (m.Override))
144
if (
Annotations
.IsMarked (m.Base))
Linker.Steps\SweepStep.cs (24)
54
var assemblies =
Annotations
.GetAssemblies ().ToArray ();
67
var action =
Annotations
.GetAction (assembly);
74
Annotations
.SetAction (assembly, AssemblyAction.Save);
83
foreach (var assembly in
Annotations
.GetAssemblies ().ToArray ()) {
86
Annotations
.SetAction (assembly, AssemblyAction.Delete);
95
switch (
Annotations
.GetAction (assembly)) {
108
var action =
Annotations
.GetAction (assembly);
126
if (
Annotations
.GetAction (ad) != AssemblyAction.Delete)
149
Annotations
.SetAction (assembly, AssemblyAction.Save);
153
Annotations
.SetAction (assembly, AssemblyAction.AddBypassNGen);
168
switch (
Annotations
.GetAction (assembly)) {
170
Annotations
.SetAction (assembly, AssemblyAction.AddBypassNGen);
181
Annotations
.SetAction (assembly, assemblyAction);
240
if (main.EntryPoint != null && !
Annotations
.IsMarked (main.EntryPoint)) {
250
return
Annotations
.IsMarked (assembly.MainModule);
255
return (Context.MetadataTrimming & metadataTrimming) != 0 && !
Annotations
.IsReflectionUsed (member);
260
Annotations
.SetAction (assembly, AssemblyAction.Delete);
265
var resourcesToRemove =
Annotations
.GetResourcesToRemove (assembly);
306
if (type.HasFields && !type.IsBeforeFieldInit && !
Annotations
.HasPreservedStaticCtor (type) && !type.IsEnum)
404
if (!
Annotations
.IsMarked (attribute)) {
485
return assembly != null &&
Annotations
.GetAction (assembly) == AssemblyAction.Link;
510
if (!
Annotations
.IsMarked (constants[i].ConstantType))
521
if (ttype != null && !
Annotations
.IsMarked (ttype))
561
return !
Annotations
.IsMarked (element);