26 references to Intersect
Microsoft.CodeAnalysis.CSharp (26)
Binder\Binder.ValueChecks.cs (26)
2248
escapeScope = escapeScope.
Intersect
(GetValEscapeOfInterpolatedStringHandlerCalls(expression));
2322
escapeScope = escapeScope.
Intersect
(argumentEscape);
2338
escapeScope = escapeScope.
Intersect
(GetValEscape(methodInvocationInfo.Receiver));
2375
escapeScope = escapeScope.
Intersect
(argEscape);
2403
escapeScope = escapeScope.
Intersect
(argEscape);
3249
inferredDestinationValEscape = inferredDestinationValEscape.
Intersect
(GetValEscape(argument));
3334
inferredDestinationValEscape = inferredDestinationValEscape.
Intersect
(isRefEscape
3787
.
Intersect
(GetRefEscape(conditional.Alternative));
4447
return consEscape.
Intersect
(GetValEscape(conditional.Alternative));
4453
.
Intersect
(GetValEscape(coalescingOp.RightOperand));
4565
escape = escape.
Intersect
(GetValEscape(initializerOpt));
4580
escape = escape.
Intersect
(GetValEscape(initializerOpt));
4590
.
Intersect
(GetValEscape(withExpression.InitializerExpression));
4647
.
Intersect
(GetValEscape(nullCoalescingAssignment.RightOperand));
4690
.
Intersect
(GetValEscape(compound.Right));
4703
.
Intersect
(GetValEscape(binary.Right));
4709
.
Intersect
(range.RightOperandOpt is { } right ? GetValEscape(right) : SafeContext.CallingMethod);
4848
narrowestScope = narrowestScope.
Intersect
(GetValEscape(element));
4859
result = result.
Intersect
(expr is BoundCollectionElementInitializer colElement
4879
result = result.
Intersect
(exprResult);
4966
receiverEscapeScope = escapeScope.
Intersect
(receiverEscapeScope);
4970
return receiverEscapeScope.
Intersect
(rightEscapeScope);
4995
result = result.
Intersect
(GetValEscape(expression));
5865
scope = scope.
Intersect
(GetValEscapeOfInterpolatedStringHandlerCalls(binary.Right));
5870
return scope.
Intersect
(getPartsScope(interpolatedString));
5889
scope = scope.
Intersect
(GetInvocationEscapeToReceiver(