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