Browse Source

Fixed some stupidly long field names

4.0.0-beta
Anairkoen Schno 4 years ago
parent
commit
eb575d2c13
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      IPA.Loader/Config/Stores/GeneratedStore.cs

+ 2
- 2
IPA.Loader/Config/Stores/GeneratedStore.cs View File

@ -430,7 +430,7 @@ namespace IPA.Config.Stores
foreach (var convType in uniqueConverterTypes)
{
var field = typeBuilder.DefineField($"<converter>_{convType.FullName}", convType,
var field = typeBuilder.DefineField($"<converter>_{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();


Loading…
Cancel
Save