1 write to _diagnostics
Microsoft.CodeAnalysis.CSharp.Features (1)
Diagnostics\Analyzers\TypeSyntaxSimplifierWalker.cs (1)
67
Interlocked.CompareExchange(ref
_diagnostics
, ImmutableArray.CreateBuilder<Diagnostic>(), null);
4 references to _diagnostics
Microsoft.CodeAnalysis.CSharp.Features (4)
Diagnostics\Analyzers\TypeSyntaxSimplifierWalker.cs (4)
58
public bool HasDiagnostics =>
_diagnostics
?.Count > 0;
60
public ImmutableArray<Diagnostic> Diagnostics =>
_diagnostics
?.ToImmutable() ?? [];
66
if (
_diagnostics
is null)
69
return
_diagnostics
;