[809] Circular definition not found

The following will not be detected as an error:

using System.Reflection;

public class Bla {
private const BindingFlags BindingFlags = BindingFlags.Instance |
BindingFlags.NonPublic | BindingFlags.Public;
}

Compiler says "The evaluation of the constant value for ... involves a
circular definition".


Regards,
Stefan Lieser
--
http://www.lieser-online.de

Please sign in to leave a comment.