19 references to Intersect
Microsoft.CodeAnalysis.CSharp (19)
Binder\Binder.ValueChecks.cs (19)
1970escapeScope = escapeScope.Intersect(argEscape); 2060escapeScope = escapeScope.Intersect(argumentEscape); 2076escapeScope = escapeScope.Intersect(GetValEscape(receiver, localScopeDepth)); 2126escapeScope = escapeScope.Intersect(argEscape); 2944inferredDestinationValEscape = inferredDestinationValEscape.Intersect(GetValEscape(argument, localScopeDepth)); 3493.Intersect(GetRefEscape(conditional.Alternative, localScopeDepth)); 4214return consEscape.Intersect(GetValEscape(conditional.Alternative, localScopeDepth)); 4220.Intersect(GetValEscape(coalescingOp.RightOperand, localScopeDepth)); 4378escape = escape.Intersect(GetValEscape(initializerOpt, localScopeDepth)); 4393escape = escape.Intersect(GetValEscape(initializerOpt, localScopeDepth)); 4403.Intersect(GetValEscape(withExpression.InitializerExpression, localScopeDepth)); 4507.Intersect(GetValEscape(compound.Right, localScopeDepth)); 4527.Intersect(GetValEscape(binary.Right, localScopeDepth)); 4533.Intersect(range.RightOperandOpt is { } right ? GetValEscape(right, localScopeDepth) : SafeContext.CallingMethod); 4671narrowestScope = narrowestScope.Intersect(GetValEscape(element, localScopeDepth)); 4689result = result.Intersect(exprResult); 4772receiverEscapeScope = escapeScope.Intersect(receiverEscapeScope); 4776return receiverEscapeScope.Intersect(rightEscapeScope); 4801result = result.Intersect(GetValEscape(expression, localScopeDepth));