4 types derived from OperationReplacer
Microsoft.CodeAnalysis.NetAnalyzers (4)
Microsoft.NetCore.Analyzers\Runtime\UseStringEqualsOverStringCompare.Fixer.cs (4)
148
private sealed class StringStringCaseReplacer :
OperationReplacer
172
private sealed class StringStringBoolReplacer :
OperationReplacer
214
private sealed class StringStringStringComparisonReplacer :
OperationReplacer
238
private sealed class OrdinalStringStringCaseReplacer :
OperationReplacer
7 references to OperationReplacer
Microsoft.CodeAnalysis.NetAnalyzers (7)
Microsoft.NetCore.Analyzers\Runtime\UseStringEqualsOverStringCompare.Fixer.cs (7)
44
var
replacer = GetOperationReplacers(symbols).First(x => x.IsMatch(violation));
67
private static ImmutableArray<
OperationReplacer
> GetOperationReplacers(RequiredSymbols symbols)
69
return 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.