diff --git a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/InterfaceTests.cs b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/InterfaceTests.cs index b1751a8af..6ce5d003a 100644 --- a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/InterfaceTests.cs +++ b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/InterfaceTests.cs @@ -104,6 +104,32 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty public interface IB { } +#if CS80 && !NET40 + public interface IProtectedMembers + { + protected void ProtectedMethod(); + + protected internal void ProtectedInternalMethod() + { + ProtectedMethod(); + } + } + public interface IStaticMembers + { + static int StaticProperty { get; set; } + + static event EventHandler StaticEvent; + } + public interface IGenericWithDefaultImpl + { + T Value { get; } + + T DefaultGet(U key) where U : T + { + return Value; + } + } +#endif public class C : IA2, IA, IB { int IA.Property1 {