Skip to content

Commit bdc3713

Browse files
authored
Clarify BoundBinaryPattern.Disjunction (#80918)
I always have trouble with this when I encounter it so would like to doc it here.
1 parent 62c2cf9 commit bdc3713

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Compilers/CSharp/Portable/BoundTree/BoundNodes.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2530,6 +2530,7 @@
25302530
Right.InputType is the Left.NarrowedType
25312531
-->
25322532
<Node Name="BoundBinaryPattern" Base="BoundPattern" HasValidate="true" SkipInNullabilityRewriter="true">
2533+
<!-- When true, denotes an 'or' pattern. When false, denotes an 'and' pattern. -->
25332534
<Field Name="Disjunction" Type="bool"/>
25342535
<Field Name="Left" Type="BoundPattern"/>
25352536
<Field Name="Right" Type="BoundPattern"/>

0 commit comments

Comments
 (0)