[Mono-bugs] [Bug 325110] ConditionalAttribute has no effect on template methods

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Oct 7 08:55:27 EDT 2007


https://bugzilla.novell.com/show_bug.cgi?id=325110#c1


Sanghyeon Seo <sanxiyn at gmail.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |sanxiyn at gmail.com




--- Comment #1 from Sanghyeon Seo <sanxiyn at gmail.com>  2007-10-07 06:55:26 MST ---
This causes IronRuby to spew debugging messages for its parser. The following
was simplified from IronRuby.

using System;
using System.Diagnostics;

public class ShiftReduceParser<TokenValueType, TokenLocationType> {
    [Conditional("DUMP")]
    public static void Dump(string format) {
        Console.WriteLine(format);
    }
}

public class Parser : ShiftReduceParser<int, int> {
    public static void Main() {
        Dump("Should not be printed.");
    }
}


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