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