Welcome to mirror list, hosted at ThFree Co, Russian Federation.

OnProperty.cs « FeatureExclude « LinkXml « Mono.Linker.Tests.Cases « test - github.com/mono/linker.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b6e78b255274f3eb803ab4f6d1665386b72e8fdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
using Mono.Linker.Tests.Cases.Expectations.Assertions;
using Mono.Linker.Tests.Cases.Expectations.Metadata;

namespace Mono.Linker.Tests.Cases.LinkXml.FeatureExclude {
    [SetupLinkerArgument ("--exclude-feature", "one")]
    public class OnProperty {
        public static void Main ()
        {
        }

        public int FeatureOne { get; set; }

        [Kept]
        [KeptBackingField]
        public int FeatureTwo {[Kept] get; [Kept] set; }
    }
}