76 references to GetCSharpResultAt
Microsoft.CodeAnalysis.NetAnalyzers.UnitTests (76)
Microsoft.CodeQuality.Analyzers\QualityGuidelines\ValidateArgumentsOfPublicMethodsTests.cs (76)
202GetCSharpResultAt(6, 17, "void Test.M1(string str)", "str")); 233GetCSharpResultAt(11, 17, "void Test.M1(C c)", "c")); 268GetCSharpResultAt(11, 17, "void Test.M1(C c)", "c")); 308GetCSharpResultAt(12, 9, "void Test.M1(C c)", "c")); 341GetCSharpResultAt(6, 17, "void Test.M1(Test[] tArray)", "tArray")); 374GetCSharpResultAt(11, 13, "void Test.M1(C c)", "c")); 417GetCSharpResultAt(12, 17, "void Test.M1(C c1, C c2)", "c1"), 419GetCSharpResultAt(16, 18, "void Test.M1(C c1, C c2)", "c2")); 460GetCSharpResultAt(7, 17, @"void Test.M1(string str = """")", "str")); 557GetCSharpResultAt(10, 34, "void Test.M1(string str, string str2)", "str2")); 757GetCSharpResultAt(16, 17, "void Test.M1(C c)", "c"), 759GetCSharpResultAt(27, 17, "void Test.M2(C c)", "c") 843GetCSharpResultAt(19, 17, "void Test.M1(string str, C c, bool flag)", "str"), 845GetCSharpResultAt(20, 17, "void Test.M1(string str, C c, bool flag)", "c")); 1139GetCSharpResultAt(19, 17, "void Test.M1(string str, C c)", "c"), 1141GetCSharpResultAt(37, 17, "void Test.M2(string str, C c)", "c")); 1204GetCSharpResultAt(11, 17, "void Test.M1(C c)", "c")); 1520GetCSharpResultAt(15, 17, "void Test.M1(string str, C c)", "str"), 1522GetCSharpResultAt(16, 17, "void Test.M1(string str, C c)", "c"), 1524GetCSharpResultAt(23, 17, "void Test.M2(string str, C c)", "str"), 1526GetCSharpResultAt(24, 17, "void Test.M2(string str, C c)", "c"), 1528GetCSharpResultAt(30, 17, "void Test.M3(C c1, C c2)", "c2")); 1726GetCSharpResultAt(19, 17, "void Test.M1(string str, C c)", "c"), 1728GetCSharpResultAt(37, 17, "void Test.M2(string str, C c)", "c")); 1962GetCSharpResultAt(12, 12, "void Test.M1(C c1, C c2)", "c2")); 2116GetCSharpResultAt(14, 13, "void C.M1(C c1, C c2)", "c2"), 2292GetCSharpResultAt(16, 13, "void C.M1(C c1, C c2, C c3, C c4, C c5, C c6)", "c4"), 2294GetCSharpResultAt(19, 13, "void C.M1(C c1, C c2, C c3, C c4, C c5, C c6)", "c5"), 2296GetCSharpResultAt(22, 13, "void C.M1(C c1, C c2, C c3, C c4, C c5, C c6)", "c6"), 2329GetCSharpResultAt(12, 12, "void Test.M1(C c1, C c2)", "c2")); 2382GetCSharpResultAt(21, 17, "void Test.M3(C c)", "c")); 2435GetCSharpResultAt(21, 17, "void Test.M3<T>(T c)", "c")); 2540GetCSharpResultAt(12, 12, "void Test.M1(C c1, C c2)", "c2")); 2773GetCSharpResultAt(16, 17, "void Test.M1(C c)", "c")); 2831GetCSharpResultAt(14, 17, "void Test.M1(C c)", "c")); 2887GetCSharpResultAt(13, 17, "void Test.M1(C c)", "c")); 2977GetCSharpResultAt(18, 13, "void Test.M1(string str, C c)", "str"), 2979GetCSharpResultAt(19, 18, "void Test.M1(string str, C c)", "c")); 3052GetCSharpResultAt(14, 21, "void Test.M1(string str, C c)", "c"), 3054GetCSharpResultAt(17, 18, "void Test.M1(string str, C c)", "str")); 3083GetCSharpResultAt(18, 17, "void Test.M1(string str, C c)", "str"), 3085GetCSharpResultAt(19, 17, "void Test.M1(string str, C c)", "c")); 3118GetCSharpResultAt(16, 21, "void Test.M1(string str, C c)", "str"), 3120GetCSharpResultAt(17, 21, "void Test.M1(string str, C c)", "c")); 3151GetCSharpResultAt(18, 17, "void Test.M1(string str, C c)", "str"), 3153GetCSharpResultAt(19, 17, "void Test.M1(string str, C c)", "c")); 3206GetCSharpResultAt(16, 21, "void Test.M1(string str, C c)", "str"), 3208GetCSharpResultAt(17, 21, "void Test.M1(string str, C c)", "c")); 3332GetCSharpResultAt(16, 17, "void Test.M1(string str, C c)", "str"), 3334GetCSharpResultAt(17, 17, "void Test.M1(string str, C c)", "c")); 3388GetCSharpResultAt(14, 20, "void Test.M1(string str, C c)", "str"), 3390GetCSharpResultAt(14, 23, "void Test.M1(string str, C c)", "c")); 3894GetCSharpResultAt(77, 21, "void Idk<TContent>.ExportInfo(TContent part, ContentContext context)", "context")); 3917GetCSharpResultAt(8, 15, "void C.M(C c)", "c")); 3964GetCSharpResultAt(12, 35, "IInterface PropConvert.ToSettings(object o)", "o")); 4199GetCSharpResultAt(115, 28, "void Class1.Method(IContext aContext)", "aContext"), 4201GetCSharpResultAt(156, 13, "bool Class1.HasUrl(IContext filterContext)", "filterContext"), 4263GetCSharpResultAt(10, 31, "void Class1.M1(Class1 node, bool flag1, bool flag2)", "node")); 4339GetCSharpResultAt(10, 67, "void C.M(Encoding encoding, Stream stream)", "stream")); 4600GetCSharpResultAt(8, 13, "void C1.M1(int index, C2 c2)", "c2")); 4670GetCSharpResultAt(11, 13, "void C1.M1(int index, int index2, C2 c2, S[] items)", "c2")); 4872GetCSharpResultAt(12, 27, "void C.Add(IEnumerable<SyntaxNodeOrToken> nodeOrTokens)", "nodeOrTokens")); 4891GetCSharpResultAt(8, 54, "void C.M(object p)", "p")); 4918GetCSharpResultAt(18, 17, "void C.M2(object obj, CancellationToken cancellationToken)", "obj")); 4945GetCSharpResultAt(9, 14, "void S.M(object obj)", "obj")); 5148GetCSharpResultAt(9, 12, "void C.M(object o)", "o")); 5179GetCSharpResultAt(10, 12, "void C.M(object o, int param)", "o")); 5248GetCSharpResultAt(15, 17, "object C.M(C c)", "c")); 5392GetCSharpResultAt(9, 23, "void C.M(C c)", "c")); 5431GetCSharpResultAt(10, 20, "C C.M(Stream stream)", "stream")); 5712GetCSharpResultAt(11, 22, "bool SyntaxNode.M(SyntaxNode node)", "node"), 5714GetCSharpResultAt(37, 23, "SyntaxKind Extensions.Kind(SyntaxNode node)", "node")); 6007GetCSharpResultAt(13, 12, "void C.M(C c1, C c2)", "c2")); 6166GetCSharpResultAt(7, 20, "void Class1.DoSomething(object input)", "input")); 6476GetCSharpResultAt(6, 17, "void Test.M1(string str)", "str") 6555GetCSharpResultAt(6, 17, "void Test.M1(string str)", "str")