3 instantiations of UsingsAndDiagnostics
Microsoft.CodeAnalysis.CSharp (3)
Symbols\Source\SourceNamespaceSymbol.AliasesAndUsings.cs (3)
589result = new UsingsAndDiagnostics() 855return new UsingsAndDiagnostics() 1095new UsingsAndDiagnostics()
16 references to UsingsAndDiagnostics
Microsoft.CodeAnalysis.CSharp (16)
Symbols\Source\SourceNamespaceSymbol.AliasesAndUsings.cs (16)
404private UsingsAndDiagnostics? _lazyGlobalUsings; 405private UsingsAndDiagnostics? _lazyUsings; 535private UsingsAndDiagnostics GetUsingsAndDiagnostics(SourceNamespaceSymbol declaringSymbol, CSharpSyntaxNode declarationSyntax, ConsList<TypeSymbol>? basesBeingResolved) 545private UsingsAndDiagnostics GetGlobalUsingsAndDiagnostics(SourceNamespaceSymbol declaringSymbol, CSharpSyntaxNode declarationSyntax, ConsList<TypeSymbol>? basesBeingResolved) 550private UsingsAndDiagnostics GetUsingsAndDiagnostics(ref UsingsAndDiagnostics? usings, SourceNamespaceSymbol declaringSymbol, CSharpSyntaxNode declarationSyntax, ConsList<TypeSymbol>? basesBeingResolved, bool onlyGlobal) 573UsingsAndDiagnostics result; 579var calculated = buildUsings(usingDirectives, declaringSymbol, declarationSyntax, applyIsGlobalFilter, basesBeingResolved); 585result = UsingsAndDiagnostics.Empty; 597var calculated = buildUsings(usingDirectives, declaringSymbol, declarationSyntax, applyIsGlobalFilter, basesBeingResolved); 615UsingsAndDiagnostics buildUsings( 917var globalUsingsAndDiagnostics = _lazyGlobalUsings ?? 920UsingsAndDiagnostics.Empty); 923var usingsAndDiagnostics = _lazyUsings ?? GetUsingsAndDiagnostics(declaringSymbol, (CSharpSyntaxNode)declarationSyntax.GetSyntax(cancellationToken), basesBeingResolved: null); 962private static void Validate(SourceNamespaceSymbol declaringSymbol, SyntaxReference declarationSyntax, ExternAliasesAndDiagnostics externAliasesAndDiagnostics, UsingsAndDiagnostics usingsAndDiagnostics, DiagnosticBag? globalUsingDiagnostics) 1094public static readonly UsingsAndDiagnostics Empty =