1 instantiation of True
Microsoft.CodeAnalysis.CSharp (1)
Binder\DecisionDagBuilder.cs (1)
2089
public static readonly True Instance = new
True
();
21 references to True
Microsoft.CodeAnalysis.CSharp (21)
Binder\DecisionDagBuilder.cs (21)
242
case Tests.
True
_:
254
return Tests.
True
.Instance;
297
return Tests.
True
.Instance;
1417
relationCondition = Tests.
True
.Instance;
1418
relationEffect = Tests.
True
.Instance;
2012
public bool IsFullyMatched => RemainingTests is Tests.
True
&& (WhenClause is null || WhenClause.ConstantValueOpt == ConstantValue.True);
2017
public bool PatternIsSatisfied => RemainingTests is Tests.
True
;
2089
public static readonly
True
Instance = new True();
2171
Debug.Assert(relationEffect is
True
or One(BoundDagAssignmentEvaluation));
2209
public override Tests RemoveEvaluation(BoundDagEvaluation e) => e.Equals(Test) ? Tests.
True
.Instance : (Tests)this;
2228
return
True
.Instance;
2260
return
True
.Instance;
2283
Tests.
True
_ => Tests.False.Instance,
2284
Tests.False _ => Tests.
True
.Instance,
2389
if (t1 is
True
) return t2;
2391
Debug.Assert(t2 is not (
True
or False));
2403
case
True
_:
2419
0 =>
True
.Instance,
2469
if (t1 is
True
) return t1;
2471
Debug.Assert(t2 is not (
True
or False));
2486
case
True
t: