using System; namespace Microsoft.DotNet.ProjectJsonMigration { public static partial class MigrationErrorCodes { public static Func MIGRATE1011 => (message) => new MigrationError(nameof(MIGRATE1011), "Deprecated Project", message); public static Func MIGRATE1012 => (message) => new MigrationError(nameof(MIGRATE1012), "Project not Restored", message); public static Func MIGRATE1013 => (message) => new MigrationError(nameof(MIGRATE1013), "No Project", message); public static Func MIGRATE1014 => (message) => new MigrationError(nameof(MIGRATE1014), "Unresolved Dependency", message); public static Func MIGRATE1015 => (message) => new MigrationError(nameof(MIGRATE1015), "File Overwrite", message); public static Func MIGRATE1016 => (message) => new MigrationError(nameof(MIGRATE1016), "Unsupported Script Variable", message); // Potentially Temporary (Point in Time) Errors public static Func MIGRATE20011 => (message) => new MigrationError(nameof(MIGRATE20011), "Multi-TFM", message); public static Func MIGRATE20012 => (message) => new MigrationError(nameof(MIGRATE20012), "Configuration Exclude", message); public static Func MIGRATE20013 => (message) => new MigrationError(nameof(MIGRATE20013), "Non-Csharp App", message); } }