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