12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- namespace Jint.Tests.Runtime.Domain
- {
- public class ClassWithStaticFields
- {
- public static string Get = "Get";
- public static string Set = "Set";
- public static string Getter { get { return "Getter"; } }
- public static string Setter { get; set; }
- public static readonly string Readonly = "Readonly";
- static ClassWithStaticFields()
- {
- Setter = "Setter";
- }
- }
- public class Nested
- {
- public class ClassWithStaticFields
- {
- public static string Get = "Get";
- public static string Set = "Set";
- public static string Getter
- {
- get { return "Getter"; }
- }
- public static string Setter
- {
- get
- {
- return _setter;
- }
- set
- {
- _setter = value;
- }
- }
- public static readonly string Readonly = "Readonly";
- private static string _setter;
- static ClassWithStaticFields()
- {
- Setter = "Setter";
- }
- }
- }
- }
|