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