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