13 references to WRN_NullabilityMismatchInInterfaceImplementedByBase
Microsoft.CodeAnalysis.CSharp (5)
Errors\ErrorFacts.cs (3)
65nullableWarnings.Add(GetId(ErrorCode.WRN_NullabilityMismatchInInterfaceImplementedByBase)); 445case ErrorCode.WRN_NullabilityMismatchInInterfaceImplementedByBase: 1985or ErrorCode.WRN_NullabilityMismatchInInterfaceImplementedByBase
Generated\ErrorFacts.Generated.cs (1)
224case ErrorCode.WRN_NullabilityMismatchInInterfaceImplementedByBase:
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
304diagnostics.Add(ErrorCode.WRN_NullabilityMismatchInInterfaceImplementedByBase, GetImplementsLocationOrFallback(@interface), this, interfaceMember);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Semantics\NullableReferenceTypesTests.cs (3)
17075Diagnostic(ErrorCode.WRN_NullabilityMismatchInInterfaceImplementedByBase, "I1<A>").WithArguments("C2", "I1<A>.M2()").WithLocation(17, 23) 17150Diagnostic(ErrorCode.WRN_NullabilityMismatchInInterfaceImplementedByBase, "I1<A>").WithArguments("C2", "I1<A>.M1()").WithLocation(13, 23) 17189Diagnostic(ErrorCode.WRN_NullabilityMismatchInInterfaceImplementedByBase, "I1<A>").WithArguments("C2", "I1<A>.M1()").WithLocation(2, 23)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
Symbols\DefaultInterfaceImplementationTests.cs (4)
35487Diagnostic(ErrorCode.WRN_NullabilityMismatchInInterfaceImplementedByBase, "I2").WithArguments("Test1", "I1<string>.M1()").WithLocation(4, 15) 35596Diagnostic(ErrorCode.WRN_NullabilityMismatchInInterfaceImplementedByBase, "I2").WithArguments("Test1", "I1<string>.M1()").WithLocation(4, 19) 36025Diagnostic(ErrorCode.WRN_NullabilityMismatchInInterfaceImplementedByBase, "I1<string?>").WithArguments("Test1", "I1<string?>.M1()").WithLocation(4, 19) 36251Diagnostic(ErrorCode.WRN_NullabilityMismatchInInterfaceImplementedByBase, "I2<string>").WithArguments("Test1", "I1<string>.M1()").WithLocation(4, 15)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
357case ErrorCode.WRN_NullabilityMismatchInInterfaceImplementedByBase: