File: src\runtime\src\coreclr\tools\Common\TypeSystem\Common\ExceptionStringID.cs
Web Access
Project: src\runtime\src\coreclr\tools\aot\ILCompiler.TypeSystem\ILCompiler.TypeSystem.csproj (ILCompiler.TypeSystem)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

namespace Internal.TypeSystem
{
    /// <summary>
    /// Represents an ID of a localized exception string.
    /// </summary>
    public enum ExceptionStringID
    {
        // TypeLoadException
        ClassLoadGeneral,
        ClassLoadExplicitGeneric,
        ClassLoadBadFormat,
        ClassLoadExplicitLayout,
        ClassLoadValueClassTooLarge,
        ClassLoadRankTooLarge,

        ClassLoadInlineArrayFieldCount,
        ClassLoadInlineArrayLength,
        ClassLoadInlineArrayExplicit,
        ClassLoadInlineArrayExplicitSize,

        // MissingMethodException
        MissingMethod,

        // MissingFieldException
        MissingField,

        // FileNotFoundException
        FileLoadErrorGeneric,

        // InvalidProgramException
        InvalidProgramDefault,
        InvalidProgramSpecific,
        InvalidProgramVararg,
        InvalidProgramCallVirtFinalize,
        InvalidProgramNonStaticMethod,
        InvalidProgramGenericMethod,
        InvalidProgramNonBlittableTypes,
        InvalidProgramMultipleCallConv,
        InvalidProgramAsync,

        // BadImageFormatException
        BadImageFormatGeneric,

        // MarshalDirectiveException
        MarshalDirectiveGeneric,

        // AmbiguousMatchException
        AmbiguousMatchUnsafeAccessor,
    }
}