1 instantiation of True
Microsoft.CodeAnalysis.CSharp (1)
Binder\DecisionDagBuilder.cs (1)
2091
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;
1419
relationCondition = Tests.
True
.Instance;
1420
relationEffect = Tests.
True
.Instance;
2014
public bool IsFullyMatched => RemainingTests is Tests.
True
&& (WhenClause is null || WhenClause.ConstantValueOpt == ConstantValue.True);
2019
public bool PatternIsSatisfied => RemainingTests is Tests.
True
;
2091
public static readonly
True
Instance = new True();
2173
Debug.Assert(relationEffect is
True
or One(BoundDagAssignmentEvaluation));
2211
public override Tests RemoveEvaluation(BoundDagEvaluation e) => e.Equals(Test) ? Tests.
True
.Instance : (Tests)this;
2230
return
True
.Instance;
2262
return
True
.Instance;
2285
Tests.
True
_ => Tests.False.Instance,
2286
Tests.False _ => Tests.
True
.Instance,
2391
if (t1 is
True
) return t2;
2393
Debug.Assert(t2 is not (
True
or False));
2405
case
True
_:
2421
0 =>
True
.Instance,
2471
if (t1 is
True
) return t1;
2473
Debug.Assert(t2 is not (
True
or False));
2488
case
True
t: