28 references to One
Microsoft.CodeAnalysis.CSharp (28)
Binder\DecisionDagBuilder.cs (23)
379
tests.Add(new Tests.
One
(new BoundDagTypeTest(syntax, iTupleType, input)));
381
tests.Add(new Tests.
One
(valueAsITupleEvaluation));
386
tests.Add(new Tests.
One
(lengthEvaluation));
388
tests.Add(new Tests.
One
(new BoundDagValueTest(syntax, ConstantValue.Create(patternLength), lengthTemp)));
394
tests.Add(new Tests.
One
(indexEvaluation));
486
tests.Add(new Tests.
One
(new BoundDagNonNullTest(syntax, isExplicitTest, input)));
516
tests.Add(new Tests.
One
(new BoundDagTypeTest(syntax, type, input)));
521
tests.Add(new Tests.
One
(evaluation));
535
return new Tests.
One
(new BoundDagExplicitNullTest(constant.Syntax, input));
540
return new Tests.
One
(new BoundDagValueTest(constant.Syntax, constant.ConstantValue, input));
555
tests.Add(new Tests.
One
(new BoundDagValueTest(constant.Syntax, constant.ConstantValue, input)));
579
tests.Add(new Tests.
One
(evaluation));
609
tests.Add(new Tests.
One
(evaluation));
619
tests.Add(new Tests.
One
(new BoundDagTypeTest(recursive.Syntax, ErrorType(), input, hasErrors: true)));
633
tests.Add(new Tests.
One
(new BoundDagTypeTest(recursive.Syntax, ErrorType(), input, hasErrors: true)));
683
tests.Add(new Tests.
One
(evaluation));
742
builder.Add(new Tests.
One
(evaluation));
775
tests.Add(new Tests.
One
(new BoundDagRelationalTest(rel.Syntax, rel.Relation, rel.ConstantValue, output, rel.HasErrors)));
2443
assignments.Add(new Tests.
One
(new BoundDagAssignmentEvaluation(useValueFrom.Syntax, b.TempContainingValue, useValueFrom)));
2598
new
One
(new BoundDagValueTest(t.Syntax, safeAdd(t.Value, offset), lengthTemp));
2602
new
One
(new BoundDagRelationalTest(t.Syntax, t.OperatorKind, safeAdd(t.Value, offset), lengthTemp));
2646
tempsUpdatedResult = new
One
(updatedTest);
2873
condition = new Tests.
One
(new BoundDagValueTest(s2.Syntax, ConstantValue.Create(lengthValue), s1LengthTemp));
Binder\DecisionDagBuilder_ListPatterns.cs (5)
29
tests.Add(new Tests.
One
(new BoundDagTypeTest(list.Syntax, ErrorType(), input, hasErrors: true)));
43
tests.Add(new Tests.
One
(lengthEvaluation));
45
tests.Add(new Tests.
One
(list.HasSlice
67
tests.Add(new Tests.
One
(sliceEvaluation));
82
tests.Add(new Tests.
One
(indexEvaluation));