74 references to WRN_InterceptsLocationAttributeUnsupportedSignature
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (2)
221
case ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
:
2488
or ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
Generated\ErrorFacts.Generated.cs (1)
347
case ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
:
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
1190
diagnostics.Add(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, attributeLocation);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (69)
Semantics\InterceptorsTests.cs (69)
72
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 1, 3)").WithLocation(5, 6));
78
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 1, 3)").WithLocation(5, 6));
618
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 5, 3)").WithLocation(11, 6));
624
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 5, 3)").WithLocation(11, 6));
826
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 5, 11)").WithLocation(15, 6),
1249
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 11, 9)").WithLocation(17, 6));
1271
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 11, 9)").WithLocation(17, 6));
1309
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 15, 21)").WithLocation(21, 6),
1504
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 10, 9)").WithLocation(6, 6),
1510
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 15, 14)").WithLocation(7, 6),
1942
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 9, 11)").WithLocation(15, 6));
2081
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 8, 13)").WithLocation(16, 6),
2087
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 11, 9)").WithLocation(17, 6),
2093
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 11, 13)").WithLocation(18, 6),
2448
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 14, 30)").WithLocation(20, 6),
2454
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 14, 31)").WithLocation(21, 6),
2460
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 14, 37)").WithLocation(22, 6),
3041
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""BAD"", 15, 11)").WithLocation(21, 6),
3080
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""projects/Program.cs"", 15, 11)").WithLocation(21, 6),
3118
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, "InterceptsLocation(null, 15, 11)").WithLocation(20, 6),
3156
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""program.cs"", 15, 11)").WithLocation(20, 6),
3197
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 25, 1)").WithLocation(21, 6),
3203
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 26, 1)").WithLocation(22, 6),
3209
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 100, 1)").WithLocation(23, 6),
3250
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 16, 5)").WithLocation(21, 6),
3256
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 16, 6)").WithLocation(22, 6),
3262
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 16, 1000)").WithLocation(23, 6),
3301
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 15, 9)").WithLocation(21, 6),
3340
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 15, 13)").WithLocation(21, 6),
3383
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 12, 11)").WithLocation(20, 6),
3389
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 14, 33)").WithLocation(21, 6),
3428
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 11, 31)").WithLocation(17, 6),
3470
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 12, 13)").WithLocation(19, 6),
3511
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", -1, 1)").WithLocation(17, 6),
3517
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 1, -1)").WithLocation(18, 6),
3523
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", -1, -1)").WithLocation(19, 6),
3529
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 0, 1)").WithLocation(20, 6),
3535
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 1, 0)").WithLocation(21, 6),
3541
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 0, 0)").WithLocation(22, 6),
4880
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 12, 9)").WithLocation(48, 6));
4913
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""OtherFile.cs"", 42, 9)").WithLocation(48, 6),
5174
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 5, 22)").WithLocation(16, 6),
5208
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 5, 8)").WithLocation(16, 6),
5241
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 5, 14)").WithLocation(14, 6),
5319
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""/_/Program.cs"", 5, 3)").WithLocation(11, 6));
5355
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, $@"InterceptsLocation(@""{path}"", 5, 3)").WithLocation(11, 6));
5388
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(@""\_\Program.cs"", 5, 3)").WithLocation(11, 6),
5460
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(@""/_/Program.cs"", 11, 9)").WithLocation(16, 6),
5498
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(@""\_\Program.cs"", 5, 3)").WithLocation(11, 6));
5532
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(@""/_/Program.cs"", 5, 3)").WithLocation(11, 6),
5575
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(@""\_/Program.cs"", 5, 3)").WithLocation(11, 6));
5608
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""src/Program.cs"", 9, 11)").WithLocation(14, 6));
5641
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(@""src\Program.cs"", 9, 11)").WithLocation(14, 6));
5671
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(@""src/Program.cs"", 9, 11)").WithLocation(14, 6),
5705
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""C:/src/Program.cs"", 9, 11)").WithLocation(14, 6));
5713
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""C:/src/Program.cs"", 9, 11)").WithLocation(14, 6),
5749
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(@""C:\src/Program.cs"", 9, 11)").WithLocation(14, 6));
5757
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(@""C:\src/Program.cs"", 9, 11)").WithLocation(14, 6),
5795
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""../src/Program.cs"", 6, 11)").WithLocation(6, 6));
5831
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""../src/Program.cs"", 6, 11)").WithLocation(6, 6),
5869
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""../src/Program.cs"", 6, 11)").WithLocation(6, 6),
5908
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""../../src/Program.cs"", 6, 11)").WithLocation(6, 6));
5942
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""../src/./Program.cs"", 6, 11)").WithLocation(6, 6));
5976
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""../src/Program.cs/."", 6, 11)").WithLocation(6, 6));
6016
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""../src/Program.cs"", 2, 3)").WithLocation(6, 6));
6056
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""../src/Program.cs"", 2, 3)").WithLocation(6, 6),
6116
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""./file1.cs"", 6, 15)").WithLocation(6, 6),
6130
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""./file1.cs"", 6, 15)").WithLocation(6, 6));
9533
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"System.Runtime.CompilerServices.InterceptsLocation(""Program.cs"", 1, 17)").WithLocation(5, 10));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
476
case ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
: