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