4 references to ValidateEscape
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_Statements.cs (1)
1598
ValidateEscape
(op2, leftEscape, isByRef: false, diagnostics);
Binder\RefSafetyAnalysis.cs (3)
497
ValidateEscape
(initializer, valEscapeScope, isByRef: false, _diagnostics);
523
ValidateEscape
(expr, SafeContext.ReturnOnly, node.RefKind != RefKind.None, _diagnostics);
533
ValidateEscape
(expr, SafeContext.ReturnOnly, isByRef: false, _diagnostics);