[Mono-bugs] [Bug 604981] New: [regression] IndexOutOfRangeException with generic method parameters
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue May 11 19:08:37 EDT 2010
http://bugzilla.novell.com/show_bug.cgi?id=604981
http://bugzilla.novell.com/show_bug.cgi?id=604981#c0
Summary: [regression] IndexOutOfRangeException with generic
method parameters
Classification: Mono
Product: Mono: Compilers
Version: SVN
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: C#
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: rkvinge at novell.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
Repro:
(attached)
results in:
Unhandled Exception: System.IndexOutOfRangeException: Array index is out of
range.
at Mono.CSharp.TypeParameterInflator.InflateTypeParameters
(Mono.CSharp.TypeSpec type) [0x00000] in <filename unknown>:0
at Mono.CSharp.TypeParameterInflator.Inflate (Mono.CSharp.TypeSpec ts)
[0x00000] in <filename unknown>:0
at Mono.CSharp.FieldSpec.InflateMember (TypeParameterInflator inflator)
[0x00000] in <filename unknown>:0
at Mono.CSharp.MemberCache.InflateMembers (Mono.CSharp.MemberCache
cacheToInflate, Mono.CSharp.TypeSpec inflatedType, TypeParameterInflator
inflator) [0x00000] in <filename unknown>:0
at Mono.CSharp.InflatedTypeSpec.InitializeMemberCache (Boolean onlyTypes)
[0x00000] in <filename unknown>:0
at Mono.CSharp.TypeSpec.get_MemberCache () [0x00000] in <filename unknown>:0
at Mono.CSharp.MemberCache.FindMembers (Mono.CSharp.TypeSpec container,
MemberFilter filter, BindingRestriction restrictions) [0x00000] in <filename
unknown>:0
at Mono.CSharp.TypeManager.RealMemberLookup (Mono.CSharp.TypeSpec
invocation_type, Mono.CSharp.TypeSpec qualifier_type, Mono.CSharp.TypeSpec
queried_type, MemberKind mt, BindingRestriction bf, System.String name, Int32
arity, IList`1 almost_match) [0x00000] in <filename unknown>:0
at Mono.CSharp.TypeManager.MemberLookup (Mono.CSharp.TypeSpec
invocation_type, Mono.CSharp.TypeSpec qualifier_type, Mono.CSharp.TypeSpec
queried_type, MemberKind mt, BindingRestriction opt, System.String name, Int32
arity, IList`1 almost_match) [0x00000] in <filename unknown>:0
at Mono.CSharp.Expression.MemberLookup (Mono.CSharp.CompilerContext ctx,
Mono.CSharp.TypeSpec container_type, Mono.CSharp.TypeSpec qualifier_type,
Mono.CSharp.TypeSpec queried_type, System.String name, Int32 arity, MemberKind
mt, BindingRestriction binding, Location loc) [0x00000] in <filename unknown>:0
at Mono.CSharp.Expression.MemberLookupFinal (Mono.CSharp.ResolveContext ec,
Mono.CSharp.TypeSpec qualifier_type, Mono.CSharp.TypeSpec queried_type,
System.String name, Int32 arity, MemberKind mt, BindingRestriction bf, Location
loc) [0x00000] in <filename unknown>:0
at Mono.CSharp.New.DoResolve (Mono.CSharp.ResolveContext ec) [0x00000] in
<filename unknown>:0
at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext ec,
ResolveFlags flags) [0x00000] in <filename unknown>:0
at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext rc) [0x00000]
in <filename unknown>:0
at Mono.CSharp.AnonymousMethodStorey.EmitStoreyInstantiation
(Mono.CSharp.EmitContext ec) [0x00000] in <filename unknown>:0
at Mono.CSharp.ExplicitBlock.Emit (Mono.CSharp.EmitContext ec) [0x00000] in
<filename unknown>:0
at Mono.CSharp.TryFinally.EmitTryBody (Mono.CSharp.EmitContext ec) [0x00000]
in <filename unknown>:0
at Mono.CSharp.ExceptionStatement.DoEmit (Mono.CSharp.EmitContext ec)
[0x00000] in <filename unknown>:0
at Mono.CSharp.Statement.Emit (Mono.CSharp.EmitContext ec) [0x00000] in
<filename unknown>:0
at Mono.CSharp.Block.DoEmit (Mono.CSharp.EmitContext ec) [0x00000] in
<filename unknown>:0
at Mono.CSharp.Block.Emit (Mono.CSharp.EmitContext ec) [0x00000] in <filename
unknown>:0
at Mono.CSharp.ExplicitBlock.Emit (Mono.CSharp.EmitContext ec) [0x00000] in
<filename unknown>:0
at Mono.CSharp.ToplevelBlock.Emit (Mono.CSharp.EmitContext ec) [0x00000] in
<filename unknown>:0
at Mono.CSharp.MethodData.Emit (Mono.CSharp.DeclSpace parent) [0x00000] in
<filename unknown>:0
at Mono.CSharp.MethodOrOperator.Emit () [0x00000] in <filename unknown>:0
at Mono.CSharp.Method.Emit () [0x00000] in <filename unknown>:0
--
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.
More information about the mono-bugs
mailing list