1 instantiation of True
Microsoft.CodeAnalysis.CSharp (1)
Binder\DecisionDagBuilder.cs (1)
2133
public static readonly True Instance = new
True
();
21 references to True
Microsoft.CodeAnalysis.CSharp (21)
Binder\DecisionDagBuilder.cs (21)
241
case Tests.
True
_:
255
testsSimplified.Push(Tests.
True
.Instance);
343
return Tests.
True
.Instance;
1465
relationCondition = Tests.
True
.Instance;
1466
relationEffect = Tests.
True
.Instance;
2056
public bool IsFullyMatched => RemainingTests is Tests.
True
&& (WhenClause is null || WhenClause.ConstantValueOpt == ConstantValue.True);
2061
public bool PatternIsSatisfied => RemainingTests is Tests.
True
;
2133
public static readonly
True
Instance = new True();
2215
Debug.Assert(relationEffect is
True
or One(BoundDagAssignmentEvaluation));
2253
public override Tests RemoveEvaluation(BoundDagEvaluation e) => e.Equals(Test) ? Tests.
True
.Instance : (Tests)this;
2272
return
True
.Instance;
2304
return
True
.Instance;
2327
Tests.
True
_ => Tests.False.Instance,
2328
Tests.False _ => Tests.
True
.Instance,
2724
if (t1 is
True
) return t2;
2726
Debug.Assert(t2 is not (
True
or False));
2738
case
True
_:
2754
0 =>
True
.Instance,
2803
if (t1 is
True
) return t1;
2805
Debug.Assert(t2 is not (
True
or False));
2820
case
True
t: