12 references to WRN_DoesNotReturnMismatch
Microsoft.CodeAnalysis.CSharp (5)
Errors\ErrorFacts.cs (3)
70nullableWarnings.Add(GetId(ErrorCode.WRN_DoesNotReturnMismatch)); 480case ErrorCode.WRN_DoesNotReturnMismatch: 2043or ErrorCode.WRN_DoesNotReturnMismatch
Generated\ErrorFacts.Generated.cs (1)
240case ErrorCode.WRN_DoesNotReturnMismatch:
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
1258diagnostics.Add(ErrorCode.WRN_DoesNotReturnMismatch, overrideMethod.GetFirstLocation(), new FormattedSymbol(overrideMethod, SymbolDisplayFormat.MinimallyQualifiedFormat));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (6)
Semantics\LambdaTests.cs (2)
4820Diagnostic(ErrorCode.WRN_DoesNotReturnMismatch, "DoesNotReturnDelegate").WithArguments("void DoesNotReturnDelegate.Invoke()").WithLocation(6, 39), 4823Diagnostic(ErrorCode.WRN_DoesNotReturnMismatch, "DoesNotReturnDelegate").WithArguments("void DoesNotReturnDelegate.Invoke()").WithLocation(6, 39),
Semantics\NullableReferenceTypesTests.cs (4)
37278Diagnostic(ErrorCode.WRN_DoesNotReturnMismatch, "MayThrow").WithArguments("bool C3.MayThrow()").WithLocation(22, 17), 37281Diagnostic(ErrorCode.WRN_DoesNotReturnMismatch, "MayThrow").WithArguments("bool C4.MayThrow()").WithLocation(26, 13) 43209Diagnostic(ErrorCode.WRN_DoesNotReturnMismatch, "M").WithArguments("void Derived.M()").WithLocation(11, 26), 43212Diagnostic(ErrorCode.WRN_DoesNotReturnMismatch, "M").WithArguments("bool C1.M()").WithLocation(35, 12)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
386case ErrorCode.WRN_DoesNotReturnMismatch: