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)); 4516.Intersect(GetValEscape(compound.Right, localScopeDepth)); 4536.Intersect(GetValEscape(binary.Right, localScopeDepth)); 4542.Intersect(range.RightOperandOpt is { } right ? GetValEscape(right, localScopeDepth) : SafeContext.CallingMethod); 4680narrowestScope = narrowestScope.Intersect(GetValEscape(element, localScopeDepth)); 4698result = result.Intersect(exprResult); 4781receiverEscapeScope = escapeScope.Intersect(receiverEscapeScope); 4785return receiverEscapeScope.Intersect(rightEscapeScope); 4810result = result.Intersect(GetValEscape(expression, localScopeDepth));