9 references to WRN_RefReturnLocal
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder.ValueChecks.cs (1)
1112
Error(diagnostics, inUnsafeRegion ? ErrorCode.
WRN_RefReturnLocal
: ErrorCode.ERR_RefReturnLocal, node, localSymbol);
Errors\ErrorFacts.cs (2)
536
case ErrorCode.
WRN_RefReturnLocal
:
2335
or ErrorCode.
WRN_RefReturnLocal
Generated\ErrorFacts.Generated.cs (1)
307
case ErrorCode.
WRN_RefReturnLocal
:
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
CodeGen\CodeGenFunctionPointersTests.cs (2)
10991
Diagnostic(ErrorCode.
WRN_RefReturnLocal
, "span").WithArguments("span").WithLocation(10, 28)
10998
Diagnostic(ErrorCode.
WRN_RefReturnLocal
, "span").WithArguments("span").WithLocation(10, 28)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\RefFieldTests.cs (1)
10884
Diagnostic(ErrorCode.
WRN_RefReturnLocal
, "i").WithArguments("i").WithLocation(6, 34));
Semantics\RefLocalsAndReturnsTests.cs (1)
1906
Diagnostic(ErrorCode.
WRN_RefReturnLocal
, "l").WithArguments("l").WithLocation(13, 20),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
427
case ErrorCode.
WRN_RefReturnLocal
: