8 references to WRN_MismatchedRefEscapeInTernary
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_Operators.cs (1)
5818
diagnostics.Add(_inUnsafeRegion ? ErrorCode.
WRN_MismatchedRefEscapeInTernary
: ErrorCode.ERR_MismatchedRefEscapeInTernary, node.Location);
Errors\ErrorFacts.cs (2)
531
case ErrorCode.
WRN_MismatchedRefEscapeInTernary
:
2330
or ErrorCode.
WRN_MismatchedRefEscapeInTernary
Generated\ErrorFacts.Generated.cs (1)
302
case ErrorCode.
WRN_MismatchedRefEscapeInTernary
:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Semantics\RefEscapingTests.cs (3)
4734
Diagnostic(ErrorCode.
WRN_MismatchedRefEscapeInTernary
, "true ? ref sOuter : ref sInner").WithLocation(33, 36),
4740
Diagnostic(ErrorCode.
WRN_MismatchedRefEscapeInTernary
, "true ? ref sInner : ref sOuter").WithLocation(36, 36),
4746
Diagnostic(ErrorCode.
WRN_MismatchedRefEscapeInTernary
, "true ? ref ternarySame1 : ref ternarySame2").WithLocation(39, 36)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
422
case ErrorCode.
WRN_MismatchedRefEscapeInTernary
: