1 write to AliasOpt
Microsoft.CodeAnalysis (1)
PEWriter\UsedNamespaceOrType.cs (1)
29
AliasOpt
= alias;
27 references to AliasOpt
Microsoft.CodeAnalysis (27)
NativePdbWriter\PdbWriter.cs (15)
175
Debug.Assert(import.
AliasOpt
!= null);
183
lazyDeclaredExternAliases.Add(import.
AliasOpt
);
266
if (import.
AliasOpt
!= null)
268
return (isProjectLevel ? "@PA:" : "@FA:") + import.
AliasOpt
+ "=" + typeName;
280
if (import.
AliasOpt
== null)
286
return (isProjectLevel ? "@PA:" : "@FA:") + import.
AliasOpt
+ "=" + namespaceName;
290
Debug.Assert(import.
AliasOpt
!= null);
293
return (isProjectLevel ? "@PX:" : "@FX:") + import.
AliasOpt
+ "=" + import.TargetXmlNamespaceOpt;
305
return (import.
AliasOpt
!= null) ?
306
"A" + import.
AliasOpt
+ " T" + typeName :
314
if (import.
AliasOpt
!= null)
317
"A" + import.
AliasOpt
+ " E" + namespaceName + " " + GetAssemblyReferenceAlias(import.TargetAssemblyOpt, declaredExternAliasesOpt) :
318
"A" + import.
AliasOpt
+ " U" + namespaceName;
328
Debug.Assert(import.
AliasOpt
!= null);
330
return "X" + import.
AliasOpt
;
PEWriter\MetadataWriter.PortablePdb.cs (9)
342
writer.WriteCompressedInteger(MetadataTokens.GetHeapOffset(_debugMetadataOpt.GetOrAddBlobUTF8(import.
AliasOpt
)));
350
if (import.
AliasOpt
!= null)
354
writer.WriteCompressedInteger(MetadataTokens.GetHeapOffset(_debugMetadataOpt.GetOrAddBlobUTF8(import.
AliasOpt
)));
368
if (import.
AliasOpt
!= null)
372
writer.WriteCompressedInteger(MetadataTokens.GetHeapOffset(_debugMetadataOpt.GetOrAddBlobUTF8(import.
AliasOpt
)));
384
if (import.
AliasOpt
!= null)
388
writer.WriteCompressedInteger(MetadataTokens.GetHeapOffset(_debugMetadataOpt.GetOrAddBlobUTF8(import.
AliasOpt
)));
404
Debug.Assert(import.
AliasOpt
!= null);
408
writer.WriteCompressedInteger(MetadataTokens.GetHeapOffset(_debugMetadataOpt.GetOrAddBlobUTF8(import.
AliasOpt
)));
PEWriter\UsedNamespaceOrType.cs (3)
68
return
AliasOpt
== other.
AliasOpt
77
return Hash.Combine(
AliasOpt
,