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

github.com/mono/linker.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'linker/Tests/TestCases/Xml/Generics/Library.cs')
-rw-r--r--linker/Tests/TestCases/Xml/Generics/Library.cs61
1 files changed, 0 insertions, 61 deletions
diff --git a/linker/Tests/TestCases/Xml/Generics/Library.cs b/linker/Tests/TestCases/Xml/Generics/Library.cs
deleted file mode 100644
index 9505cb2f9..000000000
--- a/linker/Tests/TestCases/Xml/Generics/Library.cs
+++ /dev/null
@@ -1,61 +0,0 @@
-using System;
-
-namespace TestCases.Xml.Generics
-{
- public class Foo
- {
- void Bar ()
- {
- int i = 42;
- string s = "hey";
-
- Baz<int> bi = new Baz<int> (i);
- bi.Gazonk ();
- bi.Bat<string> (i, s);
-
- Baz<string> bs = new Baz<string> (s);
- bs.Gazonk ();
- bs.Bat<int> (s, i);
- bs.BiroBiro ();
-
- bs.Blam<Bang> ();
- }
- }
-
- public class Baz<T>
- {
- T _t;
-
- public Baz (T t)
- {
- _t = t;
- }
-
- public void Gazonk ()
- {
- Console.WriteLine (_t);
- }
-
- public void Bat<M> (T t, M m)
- {
- Console.WriteLine ("{0}{1}", t, m);
- }
-
- public void Blam<M> ()
- {
- }
-
- public T [] BiroBiro ()
- {
- return new T [0];
- }
- }
-
- class Bang
- {
- [AssertLinked]
- public Bang ()
- {
- }
- }
-} \ No newline at end of file