8 references to GlobalAlias
Microsoft.CodeAnalysis (4)
Emit\CommonPEModuleBuilder.cs (1)
472if (alias != MetadataReferenceProperties.GlobalAlias && aliases.IndexOf(alias, 0, i) < 0)
MetadataReference\MetadataReferenceProperties.cs (1)
129/// Namespaces in references whose <see cref="Aliases"/> contain <see cref="GlobalAlias"/> are available in global declaration space.
ReferenceManager\CommonReferenceManager.State.cs (1)
724return aliases.Length == 0 || aliases.IndexOf(MetadataReferenceProperties.GlobalAlias, StringComparer.Ordinal) >= 0;
ReferenceManager\MergedAliases.cs (1)
71AddNonIncluded(aliases, MetadataReferenceProperties.GlobalAlias);
Microsoft.CodeAnalysis.CSharp.Features (2)
AddImport\CSharpAddImportFeatureService.cs (1)
570aliases = metadataReference.Properties.Aliases.Where(a => a != MetadataReferenceProperties.GlobalAlias).ToImmutableArray();
Completion\CompletionProviders\ExternAliasCompletionProvider.cs (1)
78aliases.Remove(MetadataReferenceProperties.GlobalAlias);
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Completion\AbstractCompletionProviderTests.cs (1)
827var aliases = hasGlobalAlias ? $"{metadataAlias},{MetadataReferenceProperties.GlobalAlias}" : $"{metadataAlias}";
Microsoft.CodeAnalysis.Features (1)
Completion\Providers\ImportCompletionProvider\AbstractTypeImportCompletionService.cs (1)
154=> aliases.IsEmpty || aliases.Any(static alias => alias == MetadataReferenceProperties.GlobalAlias);