26 references to Intersect
Microsoft.CodeAnalysis.CSharp (26)
Binder\Binder.ValueChecks.cs (26)
2221escapeScope = escapeScope.Intersect(GetValEscapeOfInterpolatedStringHandlerCalls(expression)); 2295escapeScope = escapeScope.Intersect(argumentEscape); 2311escapeScope = escapeScope.Intersect(GetValEscape(methodInvocationInfo.Receiver)); 2348escapeScope = escapeScope.Intersect(argEscape); 2376escapeScope = escapeScope.Intersect(argEscape); 3222inferredDestinationValEscape = inferredDestinationValEscape.Intersect(GetValEscape(argument)); 3307inferredDestinationValEscape = inferredDestinationValEscape.Intersect(isRefEscape 3760.Intersect(GetRefEscape(conditional.Alternative)); 4418return consEscape.Intersect(GetValEscape(conditional.Alternative)); 4424.Intersect(GetValEscape(coalescingOp.RightOperand)); 4536escape = escape.Intersect(GetValEscape(initializerOpt)); 4551escape = escape.Intersect(GetValEscape(initializerOpt)); 4561.Intersect(GetValEscape(withExpression.InitializerExpression)); 4620.Intersect(GetValEscape(nullCoalescingAssignment.RightOperand)); 4663.Intersect(GetValEscape(compound.Right)); 4676.Intersect(GetValEscape(binary.Right)); 4682.Intersect(range.RightOperandOpt is { } right ? GetValEscape(right) : SafeContext.CallingMethod); 4813narrowestScope = narrowestScope.Intersect(GetValEscape(element)); 4824result = result.Intersect(expr is BoundCollectionElementInitializer colElement 4844result = result.Intersect(exprResult); 4931receiverEscapeScope = escapeScope.Intersect(receiverEscapeScope); 4935return receiverEscapeScope.Intersect(rightEscapeScope); 4960result = result.Intersect(GetValEscape(expression)); 5827scope = scope.Intersect(GetValEscapeOfInterpolatedStringHandlerCalls(binary.Right)); 5832return scope.Intersect(getPartsScope(interpolatedString)); 5851scope = scope.Intersect(GetInvocationEscapeToReceiver(