3 instantiations of InvocationTestAnalyzer
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
Diagnostics\OperationAnalyzerTests.cs (2)
347
.VerifyAnalyzerDiagnostics(new DiagnosticAnalyzer[] { new
InvocationTestAnalyzer
() }, null, null,
1739
.VerifyAnalyzerDiagnostics(new DiagnosticAnalyzer[] { new
InvocationTestAnalyzer
() }, null, null);
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Diagnostics\OperationAnalyzerTests.vb (1)
285
comp.VerifyAnalyzerDiagnostics({New
InvocationTestAnalyzer
}, Nothing, Nothing,
20 references to InvocationTestAnalyzer
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (9)
Diagnostics\OperationAnalyzerTests.cs (9)
348
Diagnostic(
InvocationTestAnalyzer
.BigParamArrayArgumentsDescriptor.Id, "M0(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)").WithLocation(19, 9),
349
Diagnostic(
InvocationTestAnalyzer
.BigParamArrayArgumentsDescriptor.Id, "M0(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)").WithLocation(20, 9),
350
Diagnostic(
InvocationTestAnalyzer
.OutOfNumericalOrderArgumentsDescriptor.Id, "3").WithLocation(23, 21),
351
Diagnostic(
InvocationTestAnalyzer
.UseDefaultArgumentDescriptor.Id, "M3(0)").WithArguments("y").WithLocation(33, 9),
352
Diagnostic(
InvocationTestAnalyzer
.UseDefaultArgumentDescriptor.Id, "M3(y: null)").WithArguments("x").WithLocation(34, 9),
353
Diagnostic(
InvocationTestAnalyzer
.UseDefaultArgumentDescriptor.Id, "M3(x: 0)").WithArguments("y").WithLocation(35, 9),
354
Diagnostic(
InvocationTestAnalyzer
.UseDefaultArgumentDescriptor.Id, "M3()").WithArguments("x").WithLocation(36, 9),
355
Diagnostic(
InvocationTestAnalyzer
.UseDefaultArgumentDescriptor.Id, "M3()").WithArguments("y").WithLocation(36, 9),
356
Diagnostic(
InvocationTestAnalyzer
.UseDefaultArgumentDescriptor.Id, "M5(b: new int[] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11})").WithArguments("x").WithLocation(47, 9));
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (11)
Diagnostics\OperationAnalyzerTests.vb (11)
286
Diagnostic(
InvocationTestAnalyzer
.UseDefaultArgumentDescriptor.Id, "M3(Nothing,)").WithArguments("b").WithLocation(25, 9),
287
Diagnostic(
InvocationTestAnalyzer
.UseDefaultArgumentDescriptor.Id, "M3(,0)").WithArguments("a").WithLocation(26, 9),
288
Diagnostic(
InvocationTestAnalyzer
.UseDefaultArgumentDescriptor.Id, "M3(,)").WithArguments("a").WithLocation(27, 9),
289
Diagnostic(
InvocationTestAnalyzer
.UseDefaultArgumentDescriptor.Id, "M3(,)").WithArguments("b").WithLocation(27, 9),
290
Diagnostic(
InvocationTestAnalyzer
.OutOfNumericalOrderArgumentsDescriptor.Id, "2").WithLocation(11, 21),
291
Diagnostic(
InvocationTestAnalyzer
.OutOfNumericalOrderArgumentsDescriptor.Id, "4").WithLocation(12, 33),
292
Diagnostic(
InvocationTestAnalyzer
.OutOfNumericalOrderArgumentsDescriptor.Id, "2").WithLocation(12, 21),
293
Diagnostic(
InvocationTestAnalyzer
.OutOfNumericalOrderArgumentsDescriptor.Id, "1").WithLocation(12, 15),
294
Diagnostic(
InvocationTestAnalyzer
.BigParamArrayArgumentsDescriptor.Id, "M0(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)").WithLocation(14, 9),
295
Diagnostic(
InvocationTestAnalyzer
.BigParamArrayArgumentsDescriptor.Id, "M0(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)").WithLocation(15, 9),
296
Diagnostic(
InvocationTestAnalyzer
.OutOfNumericalOrderArgumentsDescriptor.Id, "3").WithLocation(17, 21))