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

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/System.Linq.Expressions/tests/HelperTypes.cs')
-rw-r--r--src/System.Linq.Expressions/tests/HelperTypes.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/System.Linq.Expressions/tests/HelperTypes.cs b/src/System.Linq.Expressions/tests/HelperTypes.cs
index 4f2d22f380..2992e7f1d1 100644
--- a/src/System.Linq.Expressions/tests/HelperTypes.cs
+++ b/src/System.Linq.Expressions/tests/HelperTypes.cs
@@ -267,4 +267,24 @@ namespace System.Linq.Expressions.Tests
{
}
}
+
+ public static class Unreadable<T>
+ {
+ public static T WriteOnly { set { } }
+ }
+
+ public class GenericClass<T>
+ {
+ public void Method() { }
+ }
+
+ public class NonGenericClass
+ {
+ #pragma warning disable 0067
+ public event EventHandler Event;
+ #pragma warning restore 0067
+
+ public void GenericMethod<T>() { }
+ public static void StaticMethod() { }
+ }
}