[Mono-bugs] [Bug 660396] New: Cecil throws when resolving custom attribuets
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Dec 17 20:09:09 EST 2010
https://bugzilla.novell.com/show_bug.cgi?id=660396
https://bugzilla.novell.com/show_bug.cgi?id=660396#c0
Summary: Cecil throws when resolving custom attribuets
Classification: Mono
Product: Mono: Class Libraries
Version: 2.8.x
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Cecil
AssignedTo: jbevain at novell.com
ReportedBy: spouliot at novell.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
Created an attachment (id=405488)
--> (http://bugzilla.novell.com/attachment.cgi?id=405488)
assembly causing the exception
but it should return null like previous versions :-)
[mono] ~/git/mono-tools/gendarme @ mono --debug bin/gendarme.exe --config
rules/rules.xml --set self-test --log regress.log testcases/jts-1.10.dll
Gendarme v2.8.1.0
Copyright (C) 2005-2010 Novell, Inc. and contributors
Initialization: 1.4 seconds
jts-1.10.dll
An uncaught exception occured. Please fill a bug report at
https://bugzilla.novell.com/
Rule:
Gendarme.Rules.Correctness.AttributeStringLiteralsShouldParseCorrectlyRule
Target: com.vividsolutions.jts.JTSVersion
Stack trace: System.InvalidOperationException: Failed to resolve type:
IKVM.Attributes.Modifiers
at Mono.Cecil.Mixin.CheckedResolve (Mono.Cecil.TypeReference self) [0x00000]
in <filename unknown>:0
at Mono.Cecil.SignatureReader.ReadCustomAttributeEnum
(Mono.Cecil.TypeReference enum_type) [0x00000] in <filename unknown>:0
at Mono.Cecil.SignatureReader.ReadCustomAttributeElementValue
(Mono.Cecil.TypeReference type) [0x00000] in <filename unknown>:0
at Mono.Cecil.SignatureReader.ReadCustomAttributeElement
(Mono.Cecil.TypeReference type) [0x00000] in <filename unknown>:0
at Mono.Cecil.SignatureReader.ReadCustomAttributeFixedArgument
(Mono.Cecil.TypeReference type) [0x00000] in <filename unknown>:0
at Mono.Cecil.SignatureReader.ReadCustomAttributeConstructorArguments
(Mono.Cecil.CustomAttribute attribute, Mono.Collections.Generic.Collection`1
parameters) [0x00000] in <filename unknown>:0
at Mono.Cecil.MetadataReader.ReadCustomAttributeSignature
(Mono.Cecil.CustomAttribute attribute) [0x00000] in <filename unknown>:0
at Mono.Cecil.CustomAttribute.<Resolve>m__32 (Mono.Cecil.CustomAttribute
attribute, Mono.Cecil.MetadataReader reader) [0x00000] in <filename unknown>:0
at Mono.Cecil.ModuleDefinition.Read[CustomAttribute,CustomAttribute]
(Mono.Cecil.CustomAttribute item, System.Func`3 read) [0x00000] in <filename
unknown>:0
at Mono.Cecil.CustomAttribute.Resolve () [0x00000] in <filename unknown>:0
at Mono.Cecil.CustomAttribute.get_ConstructorArguments () [0x00000] in
<filename unknown>:0
at
Gendarme.Rules.Correctness.AttributeStringLiteralsShouldParseCorrectlyRule.CheckAttributesIn
(ICustomAttributeProvider provider) [0x00039] in
/home/poupou/git/mono-tools/gendarme/rules/Gendarme.Rules.Correctness/AttributeStringLiteralsShouldParseCorrectlyRule.cs:160
at
Gendarme.Rules.Correctness.AttributeStringLiteralsShouldParseCorrectlyRule.CheckAttributesIn
(IEnumerable targets) [0x00018] in
/home/poupou/git/mono-tools/gendarme/rules/Gendarme.Rules.Correctness/AttributeStringLiteralsShouldParseCorrectlyRule.cs:167
at
Gendarme.Rules.Correctness.AttributeStringLiteralsShouldParseCorrectlyRule.CheckType
(Mono.Cecil.TypeDefinition type) [0x00012] in
/home/poupou/git/mono-tools/gendarme/rules/Gendarme.Rules.Correctness/AttributeStringLiteralsShouldParseCorrectlyRule.cs:186
at Gendarme.Framework.Runner.OnType (Gendarme.Framework.RunnerEventArgs e)
[0x00098] in
/home/poupou/git/mono-tools/gendarme/framework/Gendarme.Framework/Runner.cs:310
at Gendarme.Framework.Runner.Run () [0x00091] in
/home/poupou/git/mono-tools/gendarme/framework/Gendarme.Framework/Runner.cs:372
at Gendarme.ConsoleRunner.Run () [0x0001b] in
/home/poupou/git/mono-tools/gendarme/console/ConsoleRunner.cs:410
at Gendarme.ConsoleRunner.Execute (System.String[] args) [0x00144] in
/home/poupou/git/mono-tools/gendarme/console/ConsoleRunner.cs:343
--
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