[Mono-bugs] [Bug 853152] New: unhandeled exception in a rule (System.ArgumentOutOfRangeException)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Dec 2 11:43:51 UTC 2013


https://bugzilla.novell.com/show_bug.cgi?id=853152

https://bugzilla.novell.com/show_bug.cgi?id=853152#c0


           Summary: unhandeled exception in a rule
                    (System.ArgumentOutOfRangeException)
    Classification: Mono
           Product: Mono: Tools
           Version: 2.10.x
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Gendarme
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: panako at interia.pl
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.4506.2152;
NET CLR 3.5.30729; InfoPath.2; .NET4.0C; .NET4.0E; .NET CLR 1.1.4322)

Rule:    Gendarme.Rules.Design.PreferUriOverStringRule

Target:    System.String DotfuscatorAttribute::a()

Stack trace: System.ArgumentOutOfRangeException: Index was out of range. Must
be non-negative and less than the size of the collection.
Parameter name: indexB
   at System.String.nativeCompareOrdinalEx(String strA, Int32 indexA, String
strB, Int32 indexB, Int32 count)
   at System.String.CompareOrdinal(String strA, Int32 indexA, String strB,
Int32 indexB, Int32 length)
   at
Gendarme.Framework.Rocks.MethodRocks.GetPropertyByAccessor(MethodReference
self)
   at
Gendarme.Rules.Design.PreferUriOverStringRule.CheckMethod(MethodDefinition
method)
   at Gendarme.Framework.Runner.OnMethod(RunnerEventArgs e)
   at Gendarme.Framework.Runner.Run()
   at Gendarme.GuiRunner.Execute()

Reproducible: Always

Steps to Reproduce:
1.Start Dll analysis from GUI with options: No limit, All, All
2.
3.

-- 
Configure bugmail: https://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