Exemplo n.º 1
0
        static void TestAutomaticPropagation()
        {
            var instance = new TestAutomaticPropagationType();

            instance.TestImplicitProperty();
            instance.TestPropertyWithSimpleGetter();
            instance.TestPropertyWhichLooksLikeCompilerGenerated();
            instance.TestInstancePropertyWithStaticField();
            instance.TestPropertyWithDifferentBackingFields();
            instance.TestPropertyWithExistingAttributes();
        }
Exemplo n.º 2
0
        static void TestAutomaticPropagation()
        {
            var instance = new TestAutomaticPropagationType();

            instance.TestImplicitProperty();
            instance.TestPropertyWithSimpleGetter();
            instance.TestPropertyWhichLooksLikeCompilerGenerated();
            instance.TestInstancePropertyWithStaticField();
            instance.TestPropertyWithDifferentBackingFields();
            instance.TestPropertyWithExistingAttributes();
            instance.TestPropertyWithConflictingAttributes();
            instance.TestPropertyWithConflictingNoneAttributes();
            instance.TestPropertyWithIndexerWithMatchingAnnotations(null);
            instance.TestPropertyWithIndexerWithoutMatchingAnnotations(null);
        }