10 references to ERR_InterceptableMethodMustBeOrdinary
Microsoft.CodeAnalysis.CSharp (3)
Errors\ErrorFacts.cs (1)
636
or ErrorCode.
ERR_InterceptableMethodMustBeOrdinary
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
195
this._diagnostics.Add(ErrorCode.
ERR_InterceptableMethodMustBeOrdinary
, attributeLocation, nameSyntax.Identifier.ValueText);
Lowering\LocalRewriter\LocalRewriter_FunctionPointerInvocation.cs (1)
40
this._diagnostics.Add(ErrorCode.
ERR_InterceptableMethodMustBeOrdinary
, attributeLocation, nameSyntax.Identifier.ValueText);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (6)
Semantics\InterceptorsTests.cs (6)
1463
Diagnostic(ErrorCode.
ERR_InterceptableMethodMustBeOrdinary
, "InterceptsLocation").WithArguments("action").WithLocation(6, 6),
1466
Diagnostic(ErrorCode.
ERR_InterceptableMethodMustBeOrdinary
, "InterceptsLocation").WithArguments("action").WithLocation(7, 6));
2211
Diagnostic(ErrorCode.
ERR_InterceptableMethodMustBeOrdinary
, "InterceptsLocation").WithArguments("a").WithLocation(5, 6),
2214
Diagnostic(ErrorCode.
ERR_InterceptableMethodMustBeOrdinary
, "InterceptsLocation").WithArguments("local").WithLocation(6, 6),
2217
Diagnostic(ErrorCode.
ERR_InterceptableMethodMustBeOrdinary
, "InterceptsLocation").WithArguments("fnptr").WithLocation(7, 6)
7642
Diagnostic(ErrorCode.
ERR_InterceptableMethodMustBeOrdinary
, "global::System.Runtime.CompilerServices.InterceptsLocationAttribute").WithArguments("P").WithLocation(5, 6));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
2990
case ErrorCode.
ERR_InterceptableMethodMustBeOrdinary
: