13 references to GetCA1310CSharpResultsAt
Microsoft.CodeAnalysis.NetAnalyzers.UnitTests (13)
Microsoft.NetCore.Analyzers\Runtime\SpecifyStringComparisonTests.cs (13)
44GetCA1310CSharpResultsAt(11, 18, $"string.Compare({StringArgType}, {StringArgType})",
47GetCA1310CSharpResultsAt(12, 18, $"string.Compare({StringArgType}, {StringArgType}, bool)",
50GetCA1310CSharpResultsAt(13, 18, $"string.Compare({StringArgType}, int, {StringArgType}, int, int)",
53GetCA1310CSharpResultsAt(14, 18, $"string.Compare({StringArgType}, int, {StringArgType}, int, int, bool)",
75GetCA1310CSharpResultsAt(11, 18, "string.EndsWith(string)",
78GetCA1310CSharpResultsAt(12, 16, "string.StartsWith(string)",
121GetCA1310CSharpResultsAt(10, 18, $"string.{method}(string)",
124GetCA1310CSharpResultsAt(11, 18, $"string.{method}(string, int)",
127GetCA1310CSharpResultsAt(12, 16, $"string.{method}(string, int, int)",
244GetCA1310CSharpResultsAt(11, 22, $"string.CompareTo({StringArgType})",
247GetCA1310CSharpResultsAt(12, 20, $"string.CompareTo({ObjectArgType})",
524GetCA1310CSharpResultsAt(12, 50,
555GetCA1310CSharpResultsAt(12, 54,