26 references to Intersect
Microsoft.CodeAnalysis.CSharp (26)
Binder\Binder.ValueChecks.cs (26)
2221
escapeScope = escapeScope.
Intersect
(GetValEscapeOfInterpolatedStringHandlerCalls(expression));
2295
escapeScope = escapeScope.
Intersect
(argumentEscape);
2311
escapeScope = escapeScope.
Intersect
(GetValEscape(methodInvocationInfo.Receiver));
2348
escapeScope = escapeScope.
Intersect
(argEscape);
2376
escapeScope = escapeScope.
Intersect
(argEscape);
3222
inferredDestinationValEscape = inferredDestinationValEscape.
Intersect
(GetValEscape(argument));
3307
inferredDestinationValEscape = inferredDestinationValEscape.
Intersect
(isRefEscape
3760
.
Intersect
(GetRefEscape(conditional.Alternative));
4418
return consEscape.
Intersect
(GetValEscape(conditional.Alternative));
4424
.
Intersect
(GetValEscape(coalescingOp.RightOperand));
4536
escape = escape.
Intersect
(GetValEscape(initializerOpt));
4551
escape = 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);
4813
narrowestScope = narrowestScope.
Intersect
(GetValEscape(element));
4824
result = result.
Intersect
(expr is BoundCollectionElementInitializer colElement
4844
result = result.
Intersect
(exprResult);
4931
receiverEscapeScope = escapeScope.
Intersect
(receiverEscapeScope);
4935
return receiverEscapeScope.
Intersect
(rightEscapeScope);
4960
result = result.
Intersect
(GetValEscape(expression));
5827
scope = scope.
Intersect
(GetValEscapeOfInterpolatedStringHandlerCalls(binary.Right));
5832
return scope.
Intersect
(getPartsScope(interpolatedString));
5851
scope = scope.
Intersect
(GetInvocationEscapeToReceiver(