9 references to WRN_RefReturnNonreturnableLocal
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder.ValueChecks.cs (1)
899
Error(diagnostics, inUnsafeRegion ? ErrorCode.
WRN_RefReturnNonreturnableLocal
: ErrorCode.ERR_RefReturnNonreturnableLocal, node, localSymbol);
Errors\ErrorFacts.cs (2)
514
case ErrorCode.
WRN_RefReturnNonreturnableLocal
:
2271
case ErrorCode.
WRN_RefReturnNonreturnableLocal
:
Generated\ErrorFacts.Generated.cs (1)
298
case ErrorCode.
WRN_RefReturnNonreturnableLocal
:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\RefLocalsAndReturnsTests.cs (4)
2349
Diagnostic(ErrorCode.
WRN_RefReturnNonreturnableLocal
, "r").WithArguments("r").WithLocation(13, 20),
2352
Diagnostic(ErrorCode.
WRN_RefReturnNonreturnableLocal
, "r").WithArguments("r").WithLocation(20, 20),
2358
Diagnostic(ErrorCode.
WRN_RefReturnNonreturnableLocal
, "r").WithArguments("r").WithLocation(33, 20),
2361
Diagnostic(ErrorCode.
WRN_RefReturnNonreturnableLocal
, "r").WithArguments("r").WithLocation(39, 20),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
396
case ErrorCode.
WRN_RefReturnNonreturnableLocal
: