5 references to UsingDirective
Microsoft.CodeAnalysis.CSharp (5)
Binder\ImportChain.cs (1)
89
var typeRef = GetTypeReference((TypeSymbol)namespaceOrType, nsOrType.
UsingDirective
, moduleBuilder, diagnostics);
Binder\Imports.cs (1)
110
expandedUsingsBuilder.Add(new NamespaceOrTypeAndUsingDirective(expandedNamespace, previousUsing.
UsingDirective
, dependencies: default));
Compilation\CSharpCompilation.UsingsFromOptionsAndDiagnostics.cs (1)
146
Debug.Assert(@using.
UsingDirective
is null);
Symbols\Source\SourceNamespaceSymbol.AliasesAndUsings.cs (2)
334
diagnostics.Add(ErrorCode.HDN_DuplicateWithGlobalUsing, namespaceOrType.
UsingDirective
!.NamespaceOrType.Location, namespaceOrType.NamespaceOrType);
1016
UsingDirectiveSyntax usingDirective = @using.
UsingDirective
!;