15 references to ERR_InterceptorNameNotInvoked
Microsoft.CodeAnalysis.CSharp (3)
Errors\ErrorFacts.cs (1)
2376
or ErrorCode.
ERR_InterceptorNameNotInvoked
Symbols\Source\SourceMethodSymbolWithAttributes.cs (2)
1083
diagnostics.Add(ErrorCode.
ERR_InterceptorNameNotInvoked
, attributeLocation, referencedToken.Text);
1280
diagnostics.Add(ErrorCode.
ERR_InterceptorNameNotInvoked
, attributeLocation, referencedToken.Text);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (12)
Semantics\InterceptorsTests.cs (12)
1321
Diagnostic(ErrorCode.
ERR_InterceptorNameNotInvoked
, @"InterceptsLocation(""Program.cs"", 15, 21)").WithArguments("InterceptableMethod").WithLocation(21, 6)
1516
Diagnostic(ErrorCode.
ERR_InterceptorNameNotInvoked
, @"InterceptsLocation(""Program.cs"", 10, 9)").WithArguments("action").WithLocation(6, 6),
1522
Diagnostic(ErrorCode.
ERR_InterceptorNameNotInvoked
, @"InterceptsLocation(""Program.cs"", 15, 14)").WithArguments("action").WithLocation(7, 6));
2093
Diagnostic(ErrorCode.
ERR_InterceptorNameNotInvoked
, @"InterceptsLocation(""Program.cs"", 8, 13)").WithArguments("Prop").WithLocation(16, 6),
2105
Diagnostic(ErrorCode.
ERR_InterceptorNameNotInvoked
, @"InterceptsLocation(""Program.cs"", 11, 13)").WithArguments("Program").WithLocation(18, 6)
2157
Diagnostic(ErrorCode.
ERR_InterceptorNameNotInvoked
, "InterceptsLocation").WithArguments("Prop").WithLocation(5, 6),
2163
Diagnostic(ErrorCode.
ERR_InterceptorNameNotInvoked
, "InterceptsLocation").WithArguments("Program").WithLocation(7, 6)
5186
Diagnostic(ErrorCode.
ERR_InterceptorNameNotInvoked
, @"InterceptsLocation(""Program.cs"", 5, 22)").WithArguments("myEnumerable").WithLocation(16, 6));
5220
Diagnostic(ErrorCode.
ERR_InterceptorNameNotInvoked
, @"InterceptsLocation(""Program.cs"", 5, 8)").WithArguments("myDisposable").WithLocation(16, 6)
5253
Diagnostic(ErrorCode.
ERR_InterceptorNameNotInvoked
, @"InterceptsLocation(""Program.cs"", 5, 14)").WithArguments("myDeconstructable").WithLocation(14, 6)
6128
Diagnostic(ErrorCode.
ERR_InterceptorNameNotInvoked
, @"InterceptsLocation(""./file1.cs"", 6, 15)").WithArguments("Interceptable").WithLocation(6, 6));
7852
Diagnostic(ErrorCode.
ERR_InterceptorNameNotInvoked
, "global::System.Runtime.CompilerServices.InterceptsLocationAttribute").WithArguments("P").WithLocation(6, 6));