26 references to Intersect
Microsoft.CodeAnalysis.CSharp (26)
Binder\Binder.ValueChecks.cs (26)
2243
escapeScope = escapeScope.
Intersect
(GetValEscapeOfInterpolatedStringHandlerCalls(expression));
2317
escapeScope = escapeScope.
Intersect
(argumentEscape);
2333
escapeScope = escapeScope.
Intersect
(GetValEscape(methodInvocationInfo.Receiver));
2370
escapeScope = escapeScope.
Intersect
(argEscape);
2398
escapeScope = escapeScope.
Intersect
(argEscape);
3244
inferredDestinationValEscape = inferredDestinationValEscape.
Intersect
(GetValEscape(argument));
3329
inferredDestinationValEscape = inferredDestinationValEscape.
Intersect
(isRefEscape
3782
.
Intersect
(GetRefEscape(conditional.Alternative));
4442
return consEscape.
Intersect
(GetValEscape(conditional.Alternative));
4448
.
Intersect
(GetValEscape(coalescingOp.RightOperand));
4560
escape = escape.
Intersect
(GetValEscape(initializerOpt));
4575
escape = escape.
Intersect
(GetValEscape(initializerOpt));
4585
.
Intersect
(GetValEscape(withExpression.InitializerExpression));
4642
.
Intersect
(GetValEscape(nullCoalescingAssignment.RightOperand));
4685
.
Intersect
(GetValEscape(compound.Right));
4698
.
Intersect
(GetValEscape(binary.Right));
4704
.
Intersect
(range.RightOperandOpt is { } right ? GetValEscape(right) : SafeContext.CallingMethod);
4843
narrowestScope = narrowestScope.
Intersect
(GetValEscape(element));
4854
result = result.
Intersect
(expr is BoundCollectionElementInitializer colElement
4874
result = result.
Intersect
(exprResult);
4961
receiverEscapeScope = escapeScope.
Intersect
(receiverEscapeScope);
4965
return receiverEscapeScope.
Intersect
(rightEscapeScope);
4990
result = result.
Intersect
(GetValEscape(expression));
5860
scope = scope.
Intersect
(GetValEscapeOfInterpolatedStringHandlerCalls(binary.Right));
5865
return scope.
Intersect
(getPartsScope(interpolatedString));
5884
scope = scope.
Intersect
(GetInvocationEscapeToReceiver(