7 references to ERR_InterceptorScopedMismatch
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
629
or ErrorCode.
ERR_InterceptorScopedMismatch
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
276
diagnostics.Add(ErrorCode.
ERR_InterceptorScopedMismatch
, attributeLocation, method, symbolForCompare);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\InterceptorsTests.cs (4)
4235
Diagnostic(ErrorCode.
ERR_InterceptorScopedMismatch
, "InterceptsLocation").WithArguments("C.InterceptableMethod(scoped ref int)", "D.Interceptor1(ref int)").WithLocation(5, 6)
4358
Diagnostic(ErrorCode.
ERR_InterceptorScopedMismatch
, "InterceptsLocation").WithArguments("C.InterceptableMethod(out int)", "D.Interceptor1(out int)").WithLocation(7, 6)
9369
Diagnostic(ErrorCode.
ERR_InterceptorScopedMismatch
, "System.Runtime.CompilerServices.InterceptsLocation").WithArguments("E.M(object, scoped ref RS)", "Interceptors.Method1(object, ref RS)").WithLocation(9, 10));
9412
Diagnostic(ErrorCode.
ERR_InterceptorScopedMismatch
, "System.Runtime.CompilerServices.InterceptsLocation").WithArguments("C.M(scoped ref RS)", "C.Method1(ref RS)").WithLocation(9, 10));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
2983
case ErrorCode.
ERR_InterceptorScopedMismatch
: