From 87b01feec53ae1782b34f9ad4eed7be25d35c889 Mon Sep 17 00:00:00 2001 From: Anairkoen Schno Date: Sun, 15 Dec 2019 16:18:43 -0600 Subject: [PATCH] Fixed some stupidly long field names --- IPA.Loader/Config/Stores/GeneratedStore.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IPA.Loader/Config/Stores/GeneratedStore.cs b/IPA.Loader/Config/Stores/GeneratedStore.cs index 91225fed..d1fcef5f 100644 --- a/IPA.Loader/Config/Stores/GeneratedStore.cs +++ b/IPA.Loader/Config/Stores/GeneratedStore.cs @@ -430,7 +430,7 @@ namespace IPA.Config.Stores foreach (var convType in uniqueConverterTypes) { - var field = typeBuilder.DefineField($"_{convType.FullName}", convType, + var field = typeBuilder.DefineField($"_{convType}", convType, FieldAttributes.Private | FieldAttributes.InitOnly | FieldAttributes.Static); converterFields.Add(convType, field); @@ -440,7 +440,7 @@ namespace IPA.Config.Stores #endregion #region Static constructor - var cctor = typeBuilder.DefineConstructor(MethodAttributes.Static, CallingConventions.Any, Type.EmptyTypes); + var cctor = typeBuilder.DefineConstructor(MethodAttributes.Static, CallingConventions.Standard, Type.EmptyTypes); { var il = cctor.GetILGenerator();