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