1 write to TargetAssemblyOpt
Microsoft.CodeAnalysis (1)
PEWriter\UsedNamespaceOrType.cs (1)
30
TargetAssemblyOpt
= targetAssembly;
19 references to TargetAssemblyOpt
Microsoft.CodeAnalysis (19)
NativePdbWriter\PdbWriter.cs (9)
176
Debug.Assert(import.
TargetAssemblyOpt
== null);
250
Debug.Assert(import.
TargetAssemblyOpt
== null);
256
Debug.Assert(import.
TargetAssemblyOpt
== null);
301
Debug.Assert(import.
TargetAssemblyOpt
== null);
316
return (import.
TargetAssemblyOpt
!= null) ?
317
"A" + import.AliasOpt + " E" + namespaceName + " " + GetAssemblyReferenceAlias(import.
TargetAssemblyOpt
, declaredExternAliasesOpt) :
322
return (import.
TargetAssemblyOpt
!= null) ?
323
"E" + namespaceName + " " + GetAssemblyReferenceAlias(import.
TargetAssemblyOpt
, declaredExternAliasesOpt) :
329
Debug.Assert(import.
TargetAssemblyOpt
== null);
PEWriter\MetadataWriter.PortablePdb.cs (5)
337
Debug.Assert(import.
TargetAssemblyOpt
== null);
348
Debug.Assert(import.
TargetAssemblyOpt
== null);
366
if (import.
TargetAssemblyOpt
!= null)
380
writer.WriteCompressedInteger(MetadataTokens.GetRowNumber(GetAssemblyReferenceHandle(import.
TargetAssemblyOpt
)));
405
Debug.Assert(import.
TargetAssemblyOpt
== null);
PEWriter\ReferenceIndexer.cs (2)
139
if (import.
TargetAssemblyOpt
!= null)
141
Visit(import.
TargetAssemblyOpt
);
PEWriter\UsedNamespaceOrType.cs (3)
69
&& object.Equals(
TargetAssemblyOpt
, other.
TargetAssemblyOpt
)
78
Hash.Combine((object?)
TargetAssemblyOpt
,