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