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