Esempio n. 1
0
        public static void PropertyGettersTest()
        {
            var ptd = new ClassWithProperties {
                DTAutoProperty = new DateTime(4, 5, 6, 7, 8, 9)
            };
            var swp = new StructWithProperties();

            System.Console.WriteLine("break here");
        }
Esempio n. 2
0
        public static async System.Threading.Tasks.Task PropertyGettersTestAsync()
        {
            var ptd = new ClassWithProperties {
                DTAutoProperty = new DateTime(4, 5, 6, 7, 8, 9)
            };
            var swp = new StructWithProperties();

            System.Console.WriteLine("break here");
            await System.Threading.Tasks.Task.CompletedTask;
        }
Esempio n. 3
0
        public static void MethodForNegativeTests(string value = null)
        {
            var ptd = new ClassWithProperties {
                StringField = value
            };
            var swp = new StructWithProperties {
                StringField = value
            };

            Console.WriteLine("break here");
        }