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