25 references to One
Microsoft.CodeAnalysis.CSharp (25)
Binder\DecisionDagBuilder.cs (21)
334
tests.Add(new Tests.
One
(new BoundDagTypeTest(syntax, iTupleType, input)));
336
tests.Add(new Tests.
One
(valueAsITupleEvaluation));
341
tests.Add(new Tests.
One
(lengthEvaluation));
343
tests.Add(new Tests.
One
(new BoundDagValueTest(syntax, ConstantValue.Create(patternLength), lengthTemp)));
349
tests.Add(new Tests.
One
(indexEvaluation));
441
tests.Add(new Tests.
One
(new BoundDagNonNullTest(syntax, isExplicitTest, input)));
471
tests.Add(new Tests.
One
(new BoundDagTypeTest(syntax, type, input)));
476
tests.Add(new Tests.
One
(evaluation));
490
return new Tests.
One
(new BoundDagExplicitNullTest(constant.Syntax, input));
495
return new Tests.
One
(new BoundDagValueTest(constant.Syntax, constant.ConstantValue, input));
510
tests.Add(new Tests.
One
(new BoundDagValueTest(constant.Syntax, constant.ConstantValue, input)));
534
tests.Add(new Tests.
One
(evaluation));
564
tests.Add(new Tests.
One
(evaluation));
574
tests.Add(new Tests.
One
(new BoundDagTypeTest(recursive.Syntax, ErrorType(), input, hasErrors: true)));
588
tests.Add(new Tests.
One
(new BoundDagTypeTest(recursive.Syntax, ErrorType(), input, hasErrors: true)));
630
tests.Add(new Tests.
One
(evaluation));
721
tests.Add(new Tests.
One
(new BoundDagRelationalTest(rel.Syntax, rel.Relation, rel.ConstantValue, output, rel.HasErrors)));
1458
relationEffect = new Tests.
One
(new BoundDagAssignmentEvaluation(syntax, target: other.Input, input: test.Input));
1502
(conditions ??= ArrayBuilder<Tests>.GetInstance()).Add(new Tests.
One
(new BoundDagValueTest(syntax, ConstantValue.Create(lengthValue), s1LengthTemp)));
2241
new
One
(new BoundDagValueTest(t.Syntax, safeAdd(t.Value, offset), lengthTemp));
2245
new
One
(new BoundDagRelationalTest(t.Syntax, t.OperatorKind, safeAdd(t.Value, offset), lengthTemp));
Binder\DecisionDagBuilder_ListPatterns.cs (4)
28
tests.Add(new Tests.
One
(new BoundDagTypeTest(list.Syntax, ErrorType(), input, hasErrors: true)));
42
tests.Add(new Tests.
One
(lengthEvaluation));
66
tests.Add(new Tests.
One
(sliceEvaluation));
81
tests.Add(new Tests.
One
(indexEvaluation));