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