8 references to CaseType
Microsoft.CodeAnalysis.CSharp (8)
Utilities\TypeUnionValueSet.cs (8)
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())); 68Debug.Assert(!typesInUnion.Any(t => t.CaseType is NamedTypeSymbol { IsClosed: true } closedType && closedType.TryGetClosedSubtypes(out var subtypes) && subtypes is not [])); 94Debug.Assert(!typesInUnion.Any(t => t.CaseType.IsNullableType())); 98ConstantValue? matches = DecisionDagBuilder.ExpressionOfTypeMatchesPatternTypeForLearningFromSuccessfulTypeTest(conversions, type, t.CaseType, ref useSiteInfo); 315return walkUpInvalidClosedSubtypesIfNeeded(sample?.CaseType, sample?.OriginalClosedBase, binder, ref useSiteInfo); 354if (EvaluateNodeForInputValue(root, t.CaseType, ref useSiteInfo) != false)