19 references to Intersect
Microsoft.CodeAnalysis.CSharp (19)
Binder\Binder.ValueChecks.cs (19)
1940escapeScope = escapeScope.Intersect(argEscape); 2024escapeScope = escapeScope.Intersect(argumentEscape); 2040escapeScope = escapeScope.Intersect(GetValEscape(receiver, localScopeDepth)); 2089escapeScope = escapeScope.Intersect(argEscape); 2843inferredDestinationValEscape = inferredDestinationValEscape.Intersect(GetValEscape(argument, localScopeDepth)); 3390.Intersect(GetRefEscape(conditional.Alternative, localScopeDepth)); 4111return consEscape.Intersect(GetValEscape(conditional.Alternative, localScopeDepth)); 4117.Intersect(GetValEscape(coalescingOp.RightOperand, localScopeDepth)); 4275escape = escape.Intersect(GetValEscape(initializerOpt, localScopeDepth)); 4290escape = escape.Intersect(GetValEscape(initializerOpt, localScopeDepth)); 4300.Intersect(GetValEscape(withExpression.InitializerExpression, localScopeDepth)); 4404.Intersect(GetValEscape(compound.Right, localScopeDepth)); 4424.Intersect(GetValEscape(binary.Right, localScopeDepth)); 4430.Intersect(range.RightOperandOpt is { } right ? GetValEscape(right, localScopeDepth) : SafeContext.CallingMethod); 4568narrowestScope = narrowestScope.Intersect(GetValEscape(element, localScopeDepth)); 4586result = result.Intersect(exprResult); 4669receiverEscapeScope = escapeScope.Intersect(receiverEscapeScope); 4673return receiverEscapeScope.Intersect(rightEscapeScope); 4698result = result.Intersect(GetValEscape(expression, localScopeDepth));