26 references to Intersect
Microsoft.CodeAnalysis.CSharp (26)
Binder\Binder.ValueChecks.cs (26)
2238escapeScope = escapeScope.Intersect(GetValEscapeOfInterpolatedStringHandlerCalls(expression)); 2312escapeScope = escapeScope.Intersect(argumentEscape); 2328escapeScope = escapeScope.Intersect(GetValEscape(methodInvocationInfo.Receiver)); 2365escapeScope = escapeScope.Intersect(argEscape); 2393escapeScope = escapeScope.Intersect(argEscape); 3239inferredDestinationValEscape = inferredDestinationValEscape.Intersect(GetValEscape(argument)); 3324inferredDestinationValEscape = inferredDestinationValEscape.Intersect(isRefEscape 3777.Intersect(GetRefEscape(conditional.Alternative)); 4437return consEscape.Intersect(GetValEscape(conditional.Alternative)); 4443.Intersect(GetValEscape(coalescingOp.RightOperand)); 4555escape = escape.Intersect(GetValEscape(initializerOpt)); 4570escape = escape.Intersect(GetValEscape(initializerOpt)); 4580.Intersect(GetValEscape(withExpression.InitializerExpression)); 4637.Intersect(GetValEscape(nullCoalescingAssignment.RightOperand)); 4680.Intersect(GetValEscape(compound.Right)); 4693.Intersect(GetValEscape(binary.Right)); 4699.Intersect(range.RightOperandOpt is { } right ? GetValEscape(right) : SafeContext.CallingMethod); 4838narrowestScope = narrowestScope.Intersect(GetValEscape(element)); 4849result = result.Intersect(expr is BoundCollectionElementInitializer colElement 4869result = result.Intersect(exprResult); 4956receiverEscapeScope = escapeScope.Intersect(receiverEscapeScope); 4960return receiverEscapeScope.Intersect(rightEscapeScope); 4985result = result.Intersect(GetValEscape(expression)); 5855scope = scope.Intersect(GetValEscapeOfInterpolatedStringHandlerCalls(binary.Right)); 5860return scope.Intersect(getPartsScope(interpolatedString)); 5879scope = scope.Intersect(GetInvocationEscapeToReceiver(