System.TypeInitializationException: The type initializer for 'Mariana.CodeGen.TypeSignature' threw an exception. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mariana.Common.ReferenceDictionary`2[TKey,TValue].getValueRef (TKey key, System.Boolean createIfNotExists) [0x001a4] in <cc2e8d4f9c6949a2bc4d71339b5ea90d>:0
at Mariana.Common.ReferenceDictionary`2[TKey,TValue].set_Item (TKey key, TValue value) [0x00000] in <cc2e8d4f9c6949a2bc4d71339b5ea90d>:0
at Mariana.CodeGen.TypeSignature..cctor () [0x000d5] in <c09d1fe0ee5649bc956390c8abb3bbf4>:0
--- End of inner exception stack trace ---
at Mariana.CodeGen.TypeBuilder..ctor (Mariana.CodeGen.TypeName name, System.Reflection.TypeAttributes attrs, System.Boolean isValueType, System.Int32 genParamCount, Mariana.CodeGen.MetadataContext metadataContext, System.Reflection.Metadata.EntityHandle handle) [0x00050] in <c09d1fe0ee5649bc956390c8abb3bbf4>:0
at Mariana.CodeGen.AssemblyBuilder.defineType (Mariana.CodeGen.TypeName name, System.Reflection.TypeAttributes attrs, System.Boolean isValueType, System.Int32 genParamCount) [0x000c4] in <c09d1fe0ee5649bc956390c8abb3bbf4>:0
at Mariana.AVM2.Compiler.EmitConstantData..ctor (Mariana.AVM2.Core.ApplicationDomain domain, Mariana.CodeGen.AssemblyBuilder assembly) [0x0009c] in <6b026edf6062485896980f8dde41b4f4>:0
at Mariana.AVM2.Compiler.ScriptCompileContext._initAssemblyBuilder () [0x00087] in <6b026edf6062485896980f8dde41b4f4>:0
at Mariana.AVM2.Compiler.ScriptCompileContext..ctor (Mariana.AVM2.Core.ApplicationDomain domain, Mariana.AVM2.Compiler.ScriptCompileOptions options) [0x00170] in <6b026edf6062485896980f8dde41b4f4>:0
at Mariana.AVM2.Compiler.ScriptLoader..ctor (Mariana.AVM2.Core.ApplicationDomain appDomain, Mariana.AVM2.Compiler.ScriptCompileOptions compileOptions) [0x00014] in <6b026edf6062485896980f8dde41b4f4>:0
at Mariana.AVM2.Core.ApplicationDomain.createScriptLoader (Mariana.AVM2.Compiler.ScriptCompileOptions compileOptions) [0x00028] in <6b026edf6062485896980f8dde41b4f4>:0
at MarianaTest.Program.Main (System.String[] args) [0x00008] in <c6f2dbc68fda4bef8cb2dfe5dbe6a2f2>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'Mariana.CodeGen.TypeSignature' threw an exception. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mariana.Common.ReferenceDictionary`2[TKey,TValue].getValueRef (TKey key, System.Boolean createIfNotExists) [0x001a4] in <cc2e8d4f9c6949a2bc4d71339b5ea90d>:0
at Mariana.Common.ReferenceDictionary`2[TKey,TValue].set_Item (TKey key, TValue value) [0x00000] in <cc2e8d4f9c6949a2bc4d71339b5ea90d>:0
at Mariana.CodeGen.TypeSignature..cctor () [0x000d5] in <c09d1fe0ee5649bc956390c8abb3bbf4>:0
--- End of inner exception stack trace ---
at Mariana.CodeGen.TypeBuilder..ctor (Mariana.CodeGen.TypeName name, System.Reflection.TypeAttributes attrs, System.Boolean isValueType, System.Int32 genParamCount, Mariana.CodeGen.MetadataContext metadataContext, System.Reflection.Metadata.EntityHandle handle) [0x00050] in <c09d1fe0ee5649bc956390c8abb3bbf4>:0
at Mariana.CodeGen.AssemblyBuilder.defineType (Mariana.CodeGen.TypeName name, System.Reflection.TypeAttributes attrs, System.Boolean isValueType, System.Int32 genParamCount) [0x000c4] in <c09d1fe0ee5649bc956390c8abb3bbf4>:0
at Mariana.AVM2.Compiler.EmitConstantData..ctor (Mariana.AVM2.Core.ApplicationDomain domain, Mariana.CodeGen.AssemblyBuilder assembly) [0x0009c] in <6b026edf6062485896980f8dde41b4f4>:0
at Mariana.AVM2.Compiler.ScriptCompileContext._initAssemblyBuilder () [0x00087] in <6b026edf6062485896980f8dde41b4f4>:0
at Mariana.AVM2.Compiler.ScriptCompileContext..ctor (Mariana.AVM2.Core.ApplicationDomain domain, Mariana.AVM2.Compiler.ScriptCompileOptions options) [0x00170] in <6b026edf6062485896980f8dde41b4f4>:0
at Mariana.AVM2.Compiler.ScriptLoader..ctor (Mariana.AVM2.Core.ApplicationDomain appDomain, Mariana.AVM2.Compiler.ScriptCompileOptions compileOptions) [0x00014] in <6b026edf6062485896980f8dde41b4f4>:0
at Mariana.AVM2.Core.ApplicationDomain.createScriptLoader (Mariana.AVM2.Compiler.ScriptCompileOptions compileOptions) [0x00028] in <6b026edf6062485896980f8dde41b4f4>:0
at Test.Program.Main (System.String[] args) [0x00008] in <c6f2dbc68fda4bef8cb2dfe5dbe6a2f2>:0