11 references to WRN_NullabilityMismatchInParameterTypeOnInterceptor
Microsoft.CodeAnalysis.CSharp (5)
Errors\ErrorFacts.cs (3)
84
nullableWarnings.Add(GetId(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnInterceptor
));
548
case ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnInterceptor
:
631
or ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnInterceptor
Generated\ErrorFacts.Generated.cs (1)
322
case ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnInterceptor
:
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
234
diagnostics.Add(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnInterceptor
, attributeLocation, new FormattedSymbol(implementingParameter, SymbolDisplayFormat.ShortFormat), method);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\InterceptorsTests.cs (4)
3858
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnInterceptor
, "InterceptsLocation").WithArguments("param2", "C.Method1(string?)").WithLocation(5, 6),
9178
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnInterceptor
, "System.Runtime.CompilerServices.InterceptsLocation").WithArguments("s", "E.M2(object, string?)").WithLocation(18, 10));
9229
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnInterceptor
, "System.Runtime.CompilerServices.InterceptsLocation").WithArguments("o", "E.M(object?)").WithLocation(7, 10),
9232
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnInterceptor
, "System.Runtime.CompilerServices.InterceptsLocation").WithArguments("o", "E.M(object?)").WithLocation(8, 10));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Diagnostics\DiagnosticTest.cs (2)
309
case ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnInterceptor
:
2985
case ErrorCode.
WRN_NullabilityMismatchInParameterTypeOnInterceptor
: