Utilities\TypeUnionValueSet.cs (7)
33/// <summary>If <see cref="CaseType"/> was included in the set due to being a subtype of a closed type, this is the original closed type it was expanded from.</summary>
38return $"(CaseType: {CaseType}, OriginalClosedBase: {OriginalClosedBase})";
67Debug.Assert(!typesInUnion.Any(t => t.CaseType.IsNullableType()));
93Debug.Assert(!typesInUnion.Any(t => t.CaseType.IsNullableType()));
97ConstantValue? matches = DecisionDagBuilder.ExpressionOfTypeMatchesPatternTypeForLearningFromSuccessfulTypeTest(conversions, type, t.CaseType, ref useSiteInfo);
273return walkUpInvalidClosedSubtypesIfNeeded(sample?.CaseType, sample?.OriginalClosedBase, binder, ref useSiteInfo);
312if (EvaluateNodeForInputValue(root, t.CaseType, ref useSiteInfo) != false)