4 types derived from OperationReplacer
Microsoft.CodeAnalysis.NetAnalyzers (4)
Microsoft.NetCore.Analyzers\Runtime\UseStringEqualsOverStringCompare.Fixer.cs (4)
148private sealed class StringStringCaseReplacer : OperationReplacer 172private sealed class StringStringBoolReplacer : OperationReplacer 214private sealed class StringStringStringComparisonReplacer : OperationReplacer 238private sealed class OrdinalStringStringCaseReplacer : OperationReplacer
7 references to OperationReplacer
Microsoft.CodeAnalysis.NetAnalyzers (7)
Microsoft.NetCore.Analyzers\Runtime\UseStringEqualsOverStringCompare.Fixer.cs (7)
44var replacer = GetOperationReplacers(symbols).First(x => x.IsMatch(violation)); 67private static ImmutableArray<OperationReplacer> GetOperationReplacers(RequiredSymbols symbols) 69return ImmutableArray.Create<OperationReplacer>( 89/// Indicates whether the current <see cref="OperationReplacer"/> applies to the specified violation. 92/// <returns>True if the current <see cref="OperationReplacer"/> applies to the specified violation.</returns> 96/// Creates a replacement node for a violation that the current <see cref="OperationReplacer"/> applies to. 97/// Asserts if the current <see cref="OperationReplacer"/> does not apply to the specified violation.