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