26 references to Intersect
Microsoft.CodeAnalysis.CSharp (26)
Binder\Binder.ValueChecks.cs (26)
2193
escapeScope = escapeScope.
Intersect
(GetValEscapeOfInterpolatedStringHandlerCalls(expression));
2267
escapeScope = escapeScope.
Intersect
(argumentEscape);
2283
escapeScope = escapeScope.
Intersect
(GetValEscape(methodInvocationInfo.Receiver));
2320
escapeScope = escapeScope.
Intersect
(argEscape);
2348
escapeScope = escapeScope.
Intersect
(argEscape);
3194
inferredDestinationValEscape = inferredDestinationValEscape.
Intersect
(GetValEscape(argument));
3279
inferredDestinationValEscape = inferredDestinationValEscape.
Intersect
(isRefEscape
3732
.
Intersect
(GetRefEscape(conditional.Alternative));
4390
return consEscape.
Intersect
(GetValEscape(conditional.Alternative));
4396
.
Intersect
(GetValEscape(coalescingOp.RightOperand));
4508
escape = escape.
Intersect
(GetValEscape(initializerOpt));
4523
escape = escape.
Intersect
(GetValEscape(initializerOpt));
4533
.
Intersect
(GetValEscape(withExpression.InitializerExpression));
4592
.
Intersect
(GetValEscape(nullCoalescingAssignment.RightOperand));
4635
.
Intersect
(GetValEscape(compound.Right));
4648
.
Intersect
(GetValEscape(binary.Right));
4654
.
Intersect
(range.RightOperandOpt is { } right ? GetValEscape(right) : SafeContext.CallingMethod);
4785
narrowestScope = narrowestScope.
Intersect
(GetValEscape(element));
4796
result = result.
Intersect
(expr is BoundCollectionElementInitializer colElement
4816
result = result.
Intersect
(exprResult);
4903
receiverEscapeScope = escapeScope.
Intersect
(receiverEscapeScope);
4907
return receiverEscapeScope.
Intersect
(rightEscapeScope);
4932
result = result.
Intersect
(GetValEscape(expression));
5799
scope = scope.
Intersect
(GetValEscapeOfInterpolatedStringHandlerCalls(binary.Right));
5804
return scope.
Intersect
(getPartsScope(interpolatedString));
5823
scope = scope.
Intersect
(GetInvocationEscapeToReceiver(