File: Model\ClassType.cs
Web Access
Project: src\src\libraries\System.Text.Json\gen\System.Text.Json.SourceGeneration.Roslyn4.0.csproj (System.Text.Json.SourceGeneration)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace System.Text.Json.SourceGeneration
{
    public enum ClassType
    {
        /// <summary>
        /// Types that are not supported at all and will be warned on/skipped by the source generator.
        /// </summary>
        TypeUnsupportedBySourceGen = 0,
        Object = 1,
        BuiltInSupportType = 2,
        /// <summary>
        /// Known types such as System.Type and System.IntPtr that throw NotSupportedException at runtime.
        /// </summary>
        UnsupportedType = 3,
        TypeWithDesignTimeProvidedCustomConverter = 4,
        Enumerable = 5,
        Dictionary = 6,
        Nullable = 7,
        Enum = 8
    }
}