Hi, must be missing the obvious, but is there an option to disable the generation of anything which is [CompilerGenerated]?

This is just random noise which I would like to omit from the output (at least via setting).

This is for fields, backing fields, delegates and enumerator types.

Thx.
a.fire.snake
0

Comments

1 comment

  • Clive Tong
    The optimization level in the View/Options... dialog affects this.

    For example, taking the program

    class Program
    {
    int Test { get; set; }
    static void Main(string[] args)
    {
    Func<int> test2 = () => Int32.Parse(args[0]);
    }
    }

    and displaying the class Program with methods expanded with level set to 2.0 shows all sorts of compiler generated things, while setting it to 3.5 displays more or less the above.
    Clive Tong
    0

Add comment

Please sign in to leave a comment.