2 instantiations of ExternAliasesAndDiagnostics
Microsoft.CodeAnalysis.CSharp (2)
Symbols\Source\SourceNamespaceSymbol.AliasesAndUsings.cs (2)
458
new
ExternAliasesAndDiagnostics
() { ExternAliases = buildExternAliases(externAliasDirectives, declaringSymbol, diagnostics), Diagnostics = diagnostics.ToReadOnlyAndFree() },
1086
public static readonly ExternAliasesAndDiagnostics Empty = new
ExternAliasesAndDiagnostics
() { ExternAliases = ImmutableArray<AliasAndExternAliasDirective>.Empty, Diagnostics = ImmutableArray<Diagnostic>.Empty };
6 references to ExternAliasesAndDiagnostics
Microsoft.CodeAnalysis.CSharp (6)
Symbols\Source\SourceNamespaceSymbol.AliasesAndUsings.cs (6)
403
private
ExternAliasesAndDiagnostics
? _lazyExternAliases;
423
private
ExternAliasesAndDiagnostics
GetExternAliasesAndDiagnostics(SourceNamespaceSymbol declaringSymbol, CSharpSyntaxNode declarationSyntax)
451
_lazyExternAliases =
ExternAliasesAndDiagnostics
.Empty;
914
var
externAliasesAndDiagnostics = _lazyExternAliases ?? GetExternAliasesAndDiagnostics(declaringSymbol, (CSharpSyntaxNode)declarationSyntax.GetSyntax(cancellationToken));
962
private static void Validate(SourceNamespaceSymbol declaringSymbol, SyntaxReference declarationSyntax,
ExternAliasesAndDiagnostics
externAliasesAndDiagnostics, UsingsAndDiagnostics usingsAndDiagnostics, DiagnosticBag? globalUsingDiagnostics)
1086
public static readonly
ExternAliasesAndDiagnostics
Empty = new ExternAliasesAndDiagnostics() { ExternAliases = ImmutableArray<AliasAndExternAliasDirective>.Empty, Diagnostics = ImmutableArray<Diagnostic>.Empty };