[Mono-bugs] [Bug 658722] New: Mono 2.8.1 C# compiler cannot load referenced assembly that is obfuscated
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Dec 10 04:27:15 EST 2010
https://bugzilla.novell.com/show_bug.cgi?id=658722
https://bugzilla.novell.com/show_bug.cgi?id=658722#c0
Summary: Mono 2.8.1 C# compiler cannot load referenced assembly
that is obfuscated
Classification: Mono
Product: Mono: Compilers
Version: 2.8.x
Platform: All
OS/Version: All
Status: NEW
Severity: Critical
Priority: P5 - None
Component: C#
AssignedTo: msafar at novell.com
ReportedBy: cristi_ursachi at yahoo.com
QAContact: mono-bugs at lists.ximian.com
Found By: Development
Blocker: Yes
Description of Problem:
Compiler crash when try to load a referenced assembly that is obfuscated, here
is full stack:
Unhandled Exception: System.ArgumentOutOfRangeException: Cannot be negative.
Parameter name: length
at System.String.Substring (Int32 startIndex, Int32 length) [0x00000] in
<filename unknown>:0
at Mono.CSharp.ImportedTypeDefinition.get_Name () [0x00000] in <filename
unknown>:0
at Mono.CSharp.MemberSpec.get_Name () [0x00000] in <filename unknown>:0
at Mono.CSharp.Namespace.AddType (Mono.CSharp.TypeSpec ts) [0x00000] in
<filename unknown>:0
at Mono.CSharp.ReflectionMetaImporter.ImportAssembly
(System.Reflection.Assembly assembly, Mono.CSharp.Namespace targetNamespace)
[0x00000] in <filename unknown>:0
at Mono.CSharp.RootNamespace.ImportTypes (Mono.CSharp.CompilerContext ctx)
[0x00000] in <filename unknown>:0
at Mono.CSharp.GlobalRootNamespace.ComputeNamespaces
(Mono.CSharp.CompilerContext ctx) [0x00000] in <filename unknown>:0
at Mono.CSharp.Driver.LoadReferences () [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
Build complete -- 1 error, 0 warnings
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list