1 write to _resource
illink (1)
Linker.Steps\ProcessLinkerXmlBase.cs (1)
58
_resource
= (
18 references to _resource
illink (18)
Linker.Steps\BodySubstitutionParser.cs (1)
31
bool stripSubstitutions = _context.IsOptimizationEnabled (CodeOptimizations.RemoveSubstitutions,
_resource
?.Assembly);
Linker.Steps\DescriptorMarker.cs (1)
49
bool stripDescriptors = _context.IsOptimizationEnabled (CodeOptimizations.RemoveDescriptors,
_resource
?.Assembly);
Linker.Steps\LinkAttributesParser.cs (3)
35
bool stripLinkAttributes = _context.IsOptimizationEnabled (CodeOptimizations.RemoveLinkAttributes,
_resource
?.Assembly);
446
if (
_resource
?.Assembly == null)
450
if (
_resource
?.Assembly.Name.Name == PlatformAssemblies.CoreLib)
Linker.Steps\ProcessLinkerXmlBase.cs (13)
68
if (!AllowedAssemblySelector.HasFlag (AllowedAssemblies.AnyAssembly) &&
_resource
== null)
78
if (
_resource
!= null) {
80
_context.Annotations.AddResourceToRemove (
_resource
.Value.Assembly,
_resource
.Value.Resource);
91
if (
_resource
!= null)
92
ProcessAssembly (
_resource
.Value.Assembly, nav, warnOnUnresolvedTypes: true);
99
protected virtual AllowedAssemblies AllowedAssemblySelector { get =>
_resource
!= null ? AllowedAssemblies.ContainingAssembly : AllowedAssemblies.AnyAssembly; }
125
Debug.Assert (
_resource
!= null);
126
if (
_resource
.Value.Assembly.Name.Name != name!.Name) {
127
LogWarning (assemblyNav, DiagnosticId.AssemblyWithEmbeddedXmlApplyToAnotherAssembly,
_resource
.Value.Assembly.Name.Name, name.ToString ());
130
assemblyToProcess =
_resource
.Value.Assembly;
472
? new MessageOrigin (_xmlDocumentLocation, lineInfo.LineNumber, lineInfo.LinePosition,
_resource
?.Assembly)
473
: new MessageOrigin (_xmlDocumentLocation, 0, 0,
_resource
?.Assembly);