[Mono-bugs] [Bug 673177] New: Link out unused static fields with initializers

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Feb 17 20:08:09 EST 2011


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

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


           Summary: Link out unused static fields with initializers
    Classification: Mono
           Product: MonoDroid
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Minor
          Priority: P5 - None
         Component: Tools
        AssignedTo: jbevain at novell.com
        ReportedBy: jpobst at novell.com
         QAContact: mono-bugs at lists.ximian.com
                CC: gnorton at novell.com
          Found By: ---
           Blocker: ---


I am looking at our linked System.dll at UriParser.cs.

It has this line:

readonly static Regex auth_regex = new Regex
(@"^(([^@]+)@)?(.*?)(:([0-9]+))?$");

It does not appear to be used by anything left in UriParser, other than the
initialization in .cctor ().

I am guessing the .cctor is keeping it live when it's not used.

Or I could be completely missing something.  :)

-- 
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