8 references to WRN_MismatchedRefEscapeInTernary
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_Operators.cs (1)
4319
diagnostics.Add(_inUnsafeRegion ? ErrorCode.
WRN_MismatchedRefEscapeInTernary
: ErrorCode.ERR_MismatchedRefEscapeInTernary, node.Location);
Errors\ErrorFacts.cs (2)
518
case ErrorCode.
WRN_MismatchedRefEscapeInTernary
:
2275
case ErrorCode.
WRN_MismatchedRefEscapeInTernary
:
Generated\ErrorFacts.Generated.cs (1)
302
case ErrorCode.
WRN_MismatchedRefEscapeInTernary
:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Semantics\RefEscapingTests.cs (3)
3372
Diagnostic(ErrorCode.
WRN_MismatchedRefEscapeInTernary
, "true ? ref sOuter : ref sInner").WithLocation(33, 36),
3378
Diagnostic(ErrorCode.
WRN_MismatchedRefEscapeInTernary
, "true ? ref sInner : ref sOuter").WithLocation(36, 36),
3384
Diagnostic(ErrorCode.
WRN_MismatchedRefEscapeInTernary
, "true ? ref ternarySame1 : ref ternarySame2").WithLocation(39, 36)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
400
case ErrorCode.
WRN_MismatchedRefEscapeInTernary
: