http://bugzilla.novell.com/show_bug.cgi?id=579493
http://bugzilla.novell.com/show_bug.cgi?id=579493#c0 Summary: System.NotSupportedException: Custom attributes on a ParamInfo with member System.Reflection.Emit.MethodOnTypeBuilderInst are not supported Classification: Mono Product: Mono: Runtime Version: 2.6.x Platform: 64bit OS/Version: RHEL 5 Status: NEW Severity: Critical Priority: P5 - None Component: JIT AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; WOW64; Trident/4.0) Daily build Feb 12 2010 now generates this error building one of our projects. The Feb9 2010 build doesnt have this error: The line that its complaining about(its messy but its still valid c# syntax: new ScalarReadOnly<T> this[params long[] index] { get; set; } This is the error generated trying to compile this: Unhandled Exception: Mono.CSharp.InternalErrorException: Server/DomainModel/DataContainers/IArray.cs(48,21): Drms.Server.DomainModel.DataContainers.IArray<T> ---> Mono.CSharp.InternalErrorException: Server/DomainModel/DataContainers/IArray.cs(215,29): Drms.Server.DomainModel.DataContainers.IArray<T>.this[params long[]] ---> System.NotSupportedException: Custom attributes on a ParamInfo with member System.Reflection.Emit.MethodOnTypeBuilderInst are not supported at (wrapper managed-to-native) System.MonoCustomAttrs:IsDefinedInternal (System.Reflection.ICustomAttributeProvider,System.Type) at System.MonoCustomAttrs.IsDefined (ICustomAttributeProvider obj, System.Type attributeType, Boolean inherit) [0x00000] in <filename unknown>:0 at System.Reflection.ParameterInfo.IsDefined (System.Type attributeType, Boolean inherit) [0x00000] in <filename unknown>:0 at Mono.CSharp.ParametersImported.Create (System.Reflection.ParameterInfo[] pi, System.Reflection.MethodBase method) [0x00000] in <filename unknown>:0 at Mono.CSharp.TypeManager.GetParameterData (System.Reflection.PropertyInfo pi) [0x00000] in <filename unknown>:0 at Mono.CSharp.MemberCache.FindMemberToOverride (System.Type invocation_type, System.String name, Mono.CSharp.AParametersCollection parameters, Mono.CSharp.GenericMethod generic_method, Boolean is_property) [0x00000] in <filename unknown>:0 at Mono.CSharp.Indexer.ResolveBaseProperty () [0x00000] in <filename unknown>:0 at Mono.CSharp.PropertyBase.FindOutBaseMethod (System.Type& base_ret_type) [0x00000] in <filename unknown>:0 at Mono.CSharp.InterfaceMemberBase.CheckBase () [0x00000] in <filename unknown>:0 at Mono.CSharp.Indexer.Define () [0x00000] in <filename unknown>:0 at Mono.CSharp.TypeContainer.DefineContainerMembers (IList mcal) [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- at Mono.CSharp.TypeContainer.DefineContainerMembers (IList mcal) [0x00000] in <filename unknown>:0 at Mono.CSharp.TypeContainer.DoDefineMembers () [0x00000] in <filename unknown>:0 at Mono.CSharp.TypeContainer.Define () [0x00000] in <filename unknown>:0 at Mono.CSharp.RootContext.PopulateTypes () [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- at Mono.CSharp.RootContext.PopulateTypes () [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 scons: *** [Server/DomainModel/DataContainers/Bin/redhat5.1/x64/gcc/Debug/Drms.Server.DomainModel.DataContainers.dll] Error 1 Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
