1 instantiation of HashCodeAnalyzer
Microsoft.CodeAnalysis.CodeStyle (1)
HashCodeAnalyzer.cs (1)
50
analyzer = new
HashCodeAnalyzer
(compilation, objectGetHashCodeMethod, equalityComparerType, systemHashCodeType);
10 references to HashCodeAnalyzer
Microsoft.CodeAnalysis.CodeStyle (6)
HashCodeAnalyzer.cs (1)
35
public static bool TryGetAnalyzer(Compilation compilation, [NotNullWhen(true)] out
HashCodeAnalyzer
analyzer)
HashCodeAnalyzer.OperationDeconstructor.cs (2)
23
private readonly
HashCodeAnalyzer
_analyzer;
31
HashCodeAnalyzer
analyzer, IMethodSymbol method, ILocalSymbol? hashCodeVariable)
UseSystemHashCodeDiagnosticAnalyzer.cs (3)
33
if (
HashCodeAnalyzer
.TryGetAnalyzer(c.Compilation, out
var
analyzer))
40
private void AnalyzeOperationBlock(
HashCodeAnalyzer
analyzer, OperationBlockAnalysisContext context)
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
UseSystemHashCodeCodeFixProvider.cs (2)
52
if (!
HashCodeAnalyzer
.TryGetAnalyzer(semanticModel.Compilation, out
var
analyzer))
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
ConvertToRecordHelpers.cs (2)
82
HashCodeAnalyzer
.TryGetAnalyzer(compilation, out
var
analyzer))