Recursions are compiled as static static fields, their values ββare compiled into an assembly, so no, they cannot be changed. (Their constant values ββcan even be compiled to the places where you refer to them.)
For example, take this listing:
enum foo { Value = 3 }
Then you can get the field and its information as follows:
var field = typeof(foo).GetField("Value", System.Reflection.BindingFlags.Static | System.Reflection.BindingFlags.Public); Console.WriteLine(field.GetValue(null)); Console.WriteLine(field.Attributes);
source share