7 references to ERR_InterceptorMustReferToStartOfTokenPosition
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2374
or ErrorCode.
ERR_InterceptorMustReferToStartOfTokenPosition
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
1292
diagnostics.Add(ErrorCode.
ERR_InterceptorMustReferToStartOfTokenPosition
, attributeLocation, referencedToken.Text, linePositionZeroBased.Line + 1, linePositionZeroBased.Character + 1);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (5)
Semantics\InterceptorsTests.cs (5)
3352
Diagnostic(ErrorCode.
ERR_InterceptorMustReferToStartOfTokenPosition
, @"InterceptsLocation(""Program.cs"", 15, 13)").WithArguments("InterceptableMethod", "15", "11").WithLocation(21, 6)
3395
Diagnostic(ErrorCode.
ERR_InterceptorMustReferToStartOfTokenPosition
, @"InterceptsLocation(""Program.cs"", 12, 11)").WithArguments("InterceptableMethod", "12", "13").WithLocation(20, 6),
3401
Diagnostic(ErrorCode.
ERR_InterceptorMustReferToStartOfTokenPosition
, @"InterceptsLocation(""Program.cs"", 14, 33)").WithArguments("InterceptableMethod", "14", "11").WithLocation(21, 6)
3440
Diagnostic(ErrorCode.
ERR_InterceptorMustReferToStartOfTokenPosition
, @"InterceptsLocation(""Program.cs"", 11, 31)").WithArguments("InterceptableMethod", "11", "11").WithLocation(17, 6)
3482
Diagnostic(ErrorCode.
ERR_InterceptorMustReferToStartOfTokenPosition
, @"InterceptsLocation(""Program.cs"", 12, 13)").WithArguments("InterceptableMethod", "13", "13").WithLocation(19, 6)