http://bugzilla.novell.com/show_bug.cgi?id=620543
http://bugzilla.novell.com/show_bug.cgi?id=620543#c0 Summary: gmcs fails to compile with InvalidOperationException Classification: Mono Product: Mono: Compilers Version: 2.6.x Platform: x86-64 OS/Version: Ubuntu Status: NEW Severity: Critical Priority: P5 - None Component: C# AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- Created an attachment (id=374315) --> (http://bugzilla.novell.com/attachment.cgi?id=374315) Library that produces the compiler error User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6 I have attached the project that I was attempting to compile. Due to the nature of the error I have no idea what line is at fault and as such cannot produce a direct example project in order to reproduce the error. Reproducible: Always Steps to Reproduce: 1. 2. 3. Actual Results: Unhandled Exception: System.InvalidOperationException: Inflating non FieldBuilder objects is not supported: System.Reflection.Emit.FieldOnTypeBuilderInst at System.Reflection.MonoGenericClass.GetField (System.Reflection.FieldInfo fromNoninstanciated) [0x00000] in <filename unknown>:0 at System.Reflection.Emit.TypeBuilder.GetField (System.Type type, System.Reflection.FieldInfo field) [0x00000] in <filename unknown>:0 at Mono.CSharp.AnonymousMethodStorey.MutateField (System.Reflection.FieldInfo field) [0x00000] in <filename unknown>:0 at Mono.CSharp.FieldExpr.MutateHoistedGenericType (Mono.CSharp.AnonymousMethodStorey storey) [0x00000] in <filename unknown>:0 at Mono.CSharp.Invocation.MutateHoistedGenericType (Mono.CSharp.AnonymousMethodStorey storey) [0x00000] in <filename unknown>:0 at Mono.CSharp.DelegateInvocation.MutateHoistedGenericType (Mono.CSharp.AnonymousMethodStorey storey) [0x00000] in <filename unknown>:0 at Mono.CSharp.Yield.MutateHoistedGenericType (Mono.CSharp.AnonymousMethodStorey storey) [0x00000] in <filename unknown>:0 at Mono.CSharp.Block.MutateHoistedGenericType (Mono.CSharp.AnonymousMethodStorey storey) [0x00000] in <filename unknown>:0 at Mono.CSharp.Foreach+CollectionForeach+CollectionForeachStatement.MutateHoistedGenericType (Mono.CSharp.AnonymousMethodStorey storey) [0x00000] in <filename unknown>:0 at Mono.CSharp.While.MutateHoistedGenericType (Mono.CSharp.AnonymousMethodStorey storey) [0x00000] in <filename unknown>:0 at Mono.CSharp.Foreach+CollectionForeach.MutateHoistedGenericType (Mono.CSharp.AnonymousMethodStorey storey) [0x00000] in <filename unknown>:0 at Mono.CSharp.Foreach.MutateHoistedGenericType (Mono.CSharp.AnonymousMethodStorey storey) [0x00000] in <filename unknown>:0 at Mono.CSharp.Block.MutateHoistedGenericType (Mono.CSharp.AnonymousMethodStorey storey) [0x00000] in <filename unknown>:0 at Mono.CSharp.Block.MutateHoistedGenericType (Mono.CSharp.AnonymousMethodStorey storey) [0x00000] in <filename unknown>:0 at Mono.CSharp.Block.MutateHoistedGenericType (Mono.CSharp.AnonymousMethodStorey storey) [0x00000] in <filename unknown>:0 at Mono.CSharp.Block.MutateHoistedGenericType (Mono.CSharp.AnonymousMethodStorey storey) [0x00000] in <filename unknown>:0 at Mono.CSharp.IteratorStatement.MutateHoistedGenericType (Mono.CSharp.AnonymousMethodStorey storey) [0x00000] in <filename unknown>:0 at Mono.CSharp.Block.MutateHoistedGenericType (Mono.CSharp.AnonymousMethodStorey storey) [0x00000] in <filename unknown>:0 at Mono.CSharp.AnonymousExpression+AnonymousMethodMethod.Emit () [0x00000] in <filename unknown>:0 at Mono.CSharp.TypeContainer.EmitType () [0x00000] in <filename unknown>:0 at Mono.CSharp.AnonymousMethodStorey.EmitType () [0x00000] in <filename unknown>:0 at Mono.CSharp.TypeContainer.EmitType () [0x00000] in <filename unknown>:0 at Mono.CSharp.RootContext.EmitCode () [0x00000] in <filename unknown>:0 at Mono.CSharp.Driver.Compile () [0x00000] in <filename unknown>:0 at Mono.CSharp.Driver.Main (System.String[] args) [0x00000] in <filename unknown>:0 Expected Results: compiles. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
