74 references to WRN_InterceptsLocationAttributeUnsupportedSignature
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (2)
217
case ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
:
2483
or ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
Generated\ErrorFacts.Generated.cs (1)
348
case ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
:
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
1158
diagnostics.Add(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, attributeLocation);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (69)
Semantics\InterceptorsTests.cs (69)
81
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 1, 3)").WithLocation(5, 6));
87
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 1, 3)").WithLocation(5, 6));
627
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 5, 3)").WithLocation(11, 6));
633
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 5, 3)").WithLocation(11, 6));
835
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 5, 11)").WithLocation(15, 6),
1258
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 11, 9)").WithLocation(17, 6));
1280
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 11, 9)").WithLocation(17, 6));
1318
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 15, 21)").WithLocation(21, 6),
1513
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 10, 9)").WithLocation(6, 6),
1519
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 15, 14)").WithLocation(7, 6),
1951
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 9, 11)").WithLocation(15, 6));
2090
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 8, 13)").WithLocation(16, 6),
2096
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 11, 9)").WithLocation(17, 6),
2102
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 11, 13)").WithLocation(18, 6),
2457
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 14, 30)").WithLocation(20, 6),
2463
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 14, 31)").WithLocation(21, 6),
2469
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 14, 37)").WithLocation(22, 6),
3050
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""BAD"", 15, 11)").WithLocation(21, 6),
3089
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""projects/Program.cs"", 15, 11)").WithLocation(21, 6),
3127
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, "InterceptsLocation(null, 15, 11)").WithLocation(20, 6),
3165
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""program.cs"", 15, 11)").WithLocation(20, 6),
3206
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 25, 1)").WithLocation(21, 6),
3212
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 26, 1)").WithLocation(22, 6),
3218
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 100, 1)").WithLocation(23, 6),
3259
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 16, 5)").WithLocation(21, 6),
3265
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 16, 6)").WithLocation(22, 6),
3271
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 16, 1000)").WithLocation(23, 6),
3310
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 15, 9)").WithLocation(21, 6),
3349
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 15, 13)").WithLocation(21, 6),
3392
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 12, 11)").WithLocation(20, 6),
3398
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 14, 33)").WithLocation(21, 6),
3437
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 11, 31)").WithLocation(17, 6),
3479
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 12, 13)").WithLocation(19, 6),
3520
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", -1, 1)").WithLocation(17, 6),
3526
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 1, -1)").WithLocation(18, 6),
3532
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", -1, -1)").WithLocation(19, 6),
3538
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 0, 1)").WithLocation(20, 6),
3544
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 1, 0)").WithLocation(21, 6),
3550
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 0, 0)").WithLocation(22, 6),
4889
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 12, 9)").WithLocation(48, 6));
4922
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""OtherFile.cs"", 42, 9)").WithLocation(48, 6),
5183
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 5, 22)").WithLocation(16, 6),
5217
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 5, 8)").WithLocation(16, 6),
5250
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""Program.cs"", 5, 14)").WithLocation(14, 6),
5328
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""/_/Program.cs"", 5, 3)").WithLocation(11, 6));
5364
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, $@"InterceptsLocation(@""{path}"", 5, 3)").WithLocation(11, 6));
5397
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(@""\_\Program.cs"", 5, 3)").WithLocation(11, 6),
5469
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(@""/_/Program.cs"", 11, 9)").WithLocation(16, 6),
5507
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(@""\_\Program.cs"", 5, 3)").WithLocation(11, 6));
5541
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(@""/_/Program.cs"", 5, 3)").WithLocation(11, 6),
5584
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(@""\_/Program.cs"", 5, 3)").WithLocation(11, 6));
5617
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""src/Program.cs"", 9, 11)").WithLocation(14, 6));
5650
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(@""src\Program.cs"", 9, 11)").WithLocation(14, 6));
5680
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(@""src/Program.cs"", 9, 11)").WithLocation(14, 6),
5714
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""C:/src/Program.cs"", 9, 11)").WithLocation(14, 6));
5722
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""C:/src/Program.cs"", 9, 11)").WithLocation(14, 6),
5758
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(@""C:\src/Program.cs"", 9, 11)").WithLocation(14, 6));
5766
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(@""C:\src/Program.cs"", 9, 11)").WithLocation(14, 6),
5804
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""../src/Program.cs"", 6, 11)").WithLocation(6, 6));
5840
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""../src/Program.cs"", 6, 11)").WithLocation(6, 6),
5878
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""../src/Program.cs"", 6, 11)").WithLocation(6, 6),
5917
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""../../src/Program.cs"", 6, 11)").WithLocation(6, 6));
5951
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""../src/./Program.cs"", 6, 11)").WithLocation(6, 6));
5985
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""../src/Program.cs/."", 6, 11)").WithLocation(6, 6));
6025
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""../src/Program.cs"", 2, 3)").WithLocation(6, 6));
6065
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""../src/Program.cs"", 2, 3)").WithLocation(6, 6),
6125
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""./file1.cs"", 6, 15)").WithLocation(6, 6),
6139
Diagnostic(ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
, @"InterceptsLocation(""./file1.cs"", 6, 15)").WithLocation(6, 6));
9542
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)
477
case ErrorCode.
WRN_InterceptsLocationAttributeUnsupportedSignature
: