Exemple #1
0
        static void TestAutomaticPropagation()
        {
            var instance = new TestAutomaticPropagationType();

            instance.TestImplicitProperty();
            instance.TestPropertyWithSimpleGetter();
            instance.TestPropertyWhichLooksLikeCompilerGenerated();
            instance.TestInstancePropertyWithStaticField();
            instance.TestPropertyWithDifferentBackingFields();
            instance.TestPropertyWithExistingAttributes();
        }
Exemple #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);
        }