26 references to Intersect
Microsoft.CodeAnalysis.CSharp (26)
Binder\Binder.ValueChecks.cs (26)
2238
escapeScope = escapeScope.
Intersect
(GetValEscapeOfInterpolatedStringHandlerCalls(expression));
2312
escapeScope = escapeScope.
Intersect
(argumentEscape);
2328
escapeScope = escapeScope.
Intersect
(GetValEscape(methodInvocationInfo.Receiver));
2365
escapeScope = escapeScope.
Intersect
(argEscape);
2393
escapeScope = escapeScope.
Intersect
(argEscape);
3239
inferredDestinationValEscape = inferredDestinationValEscape.
Intersect
(GetValEscape(argument));
3324
inferredDestinationValEscape = inferredDestinationValEscape.
Intersect
(isRefEscape
3777
.
Intersect
(GetRefEscape(conditional.Alternative));
4437
return consEscape.
Intersect
(GetValEscape(conditional.Alternative));
4443
.
Intersect
(GetValEscape(coalescingOp.RightOperand));
4555
escape = escape.
Intersect
(GetValEscape(initializerOpt));
4570
escape = 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);
4838
narrowestScope = narrowestScope.
Intersect
(GetValEscape(element));
4849
result = result.
Intersect
(expr is BoundCollectionElementInitializer colElement
4869
result = result.
Intersect
(exprResult);
4956
receiverEscapeScope = escapeScope.
Intersect
(receiverEscapeScope);
4960
return receiverEscapeScope.
Intersect
(rightEscapeScope);
4985
result = result.
Intersect
(GetValEscape(expression));
5855
scope = scope.
Intersect
(GetValEscapeOfInterpolatedStringHandlerCalls(binary.Right));
5860
return scope.
Intersect
(getPartsScope(interpolatedString));
5879
scope = scope.
Intersect
(GetInvocationEscapeToReceiver(