diff options
Diffstat (limited to 'test/Mono.Linker.Tests.Cases/DataFlow/Dependencies/MemberTypesAllBaseTypeAssembly.cs')
-rw-r--r-- | test/Mono.Linker.Tests.Cases/DataFlow/Dependencies/MemberTypesAllBaseTypeAssembly.cs | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/test/Mono.Linker.Tests.Cases/DataFlow/Dependencies/MemberTypesAllBaseTypeAssembly.cs b/test/Mono.Linker.Tests.Cases/DataFlow/Dependencies/MemberTypesAllBaseTypeAssembly.cs new file mode 100644 index 000000000..63d3fa11e --- /dev/null +++ b/test/Mono.Linker.Tests.Cases/DataFlow/Dependencies/MemberTypesAllBaseTypeAssembly.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Mono.Linker.Tests.Cases.DataFlow.Dependencies +{ + public class MemberTypesAllBaseType + { + static MemberTypesAllBaseType () { } + public MemberTypesAllBaseType () { } + private MemberTypesAllBaseType (bool _) { } + + public void PublicMethod () { } + private void PrivateMethod () { } + + public static void PublicStaticMethod () { } + private static void PrivateStaticMethod () { } + + public int PublicField; + private int PrivateField; + public static int PublicStaticField; + private static int PrivateStaticField; + + public bool PublicProperty { get; set; } + private bool PrivateProperty { get; set; } + public static bool PublicStaticProperty { get; set; } + private static bool PrivateStaticProperty { get; set; } + + public event EventHandler<EventArgs> PublicEvent; + private event EventHandler<EventArgs> PrivateEvent; + public static event EventHandler<EventArgs> PublicStaticEvent; + private static event EventHandler<EventArgs> PrivateStaticEvent; + + public class PublicNestedType + { + private void PrivateMethod () { } + } + + private class PrivateNestedType + { + private void PrivateMethod () { } + } + } +} |