12 references to WRN_DoesNotReturnMismatch
Microsoft.CodeAnalysis.CSharp (5)
Errors\ErrorFacts.cs (3)
70nullableWarnings.Add(GetId(ErrorCode.WRN_DoesNotReturnMismatch)); 467case ErrorCode.WRN_DoesNotReturnMismatch: 1986case ErrorCode.WRN_DoesNotReturnMismatch:
Generated\ErrorFacts.Generated.cs (1)
240case ErrorCode.WRN_DoesNotReturnMismatch:
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
1254diagnostics.Add(ErrorCode.WRN_DoesNotReturnMismatch, overrideMethod.Locations[0], new FormattedSymbol(overrideMethod, SymbolDisplayFormat.MinimallyQualifiedFormat));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (6)
Semantics\LambdaTests.cs (2)
4805Diagnostic(ErrorCode.WRN_DoesNotReturnMismatch, "DoesNotReturnDelegate").WithArguments("void DoesNotReturnDelegate.Invoke()").WithLocation(6, 39), 4808Diagnostic(ErrorCode.WRN_DoesNotReturnMismatch, "DoesNotReturnDelegate").WithArguments("void DoesNotReturnDelegate.Invoke()").WithLocation(6, 39),
Semantics\NullableReferenceTypesTests.cs (4)
35340Diagnostic(ErrorCode.WRN_DoesNotReturnMismatch, "MayThrow").WithArguments("bool C3.MayThrow()").WithLocation(22, 17), 35343Diagnostic(ErrorCode.WRN_DoesNotReturnMismatch, "MayThrow").WithArguments("bool C4.MayThrow()").WithLocation(26, 13) 41143Diagnostic(ErrorCode.WRN_DoesNotReturnMismatch, "M").WithArguments("void Derived.M()").WithLocation(11, 26), 41146Diagnostic(ErrorCode.WRN_DoesNotReturnMismatch, "M").WithArguments("bool C1.M()").WithLocation(35, 12)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
364case ErrorCode.WRN_DoesNotReturnMismatch: