1 write to _lazyDeclarationDiagnostics
Microsoft.CodeAnalysis.CSharp (1)
Compilation\CSharpCompilation.cs (1)
2822
Interlocked.CompareExchange(ref
_lazyDeclarationDiagnostics
, diagnostics, null);
3 references to _lazyDeclarationDiagnostics
Microsoft.CodeAnalysis.CSharp (3)
Compilation\CSharpCompilation.cs (3)
2819
if (
_lazyDeclarationDiagnostics
== null)
2825
return
_lazyDeclarationDiagnostics
;
3226
var result =
_lazyDeclarationDiagnostics
?.AsEnumerable() ?? Enumerable.Empty<Diagnostic>();