1 instantiation of True
Microsoft.CodeAnalysis.CSharp (1)
Binder\DecisionDagBuilder.cs (1)
1935
public static readonly True Instance = new
True
();
21 references to True
Microsoft.CodeAnalysis.CSharp (21)
Binder\DecisionDagBuilder.cs (21)
239
case Tests.
True
_:
251
return Tests.
True
.Instance;
294
return Tests.
True
.Instance;
1368
relationCondition = Tests.
True
.Instance;
1369
relationEffect = Tests.
True
.Instance;
1856
public bool IsFullyMatched => RemainingTests is Tests.
True
&& (WhenClause is null || WhenClause.ConstantValueOpt == ConstantValue.True);
1861
public bool PatternIsSatisfied => RemainingTests is Tests.
True
;
1935
public static readonly
True
Instance = new True();
2017
Debug.Assert(relationEffect is
True
or One(BoundDagAssignmentEvaluation));
2055
public override Tests RemoveEvaluation(BoundDagEvaluation e) => e.Equals(Test) ? Tests.
True
.Instance : (Tests)this;
2074
return
True
.Instance;
2106
return
True
.Instance;
2129
Tests.
True
_ => Tests.False.Instance,
2130
Tests.False _ => Tests.
True
.Instance,
2235
if (t1 is
True
) return t2;
2237
Debug.Assert(t2 is not (
True
or False));
2249
case
True
_:
2265
0 =>
True
.Instance,
2315
if (t1 is
True
) return t1;
2317
Debug.Assert(t2 is not (
True
or False));
2332
case
True
t: