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