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

test-xml-054.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: eb65a629fd5b071299a034a8acaf674b00d2421f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
// Compiler options: -doc:xml-054.xml
using System;
using System.Collections;
using System.Collections.Generic;

public class A {
	public interface I {
		void Foo ();
		void Bar<T>(T value);
	}
}

/// <summary>Container`2</summary>
public class Container<TKey, TValue> : IList<TValue>, A.I {

	/// <summary>Container`2.#ctor</summary>
	public Container ()
	{
	}

	/// <summary>Container`2.System#Collections#Generic#ICollection&lt;TValue&gt;#Count</summary>
	int ICollection<TValue>.Count {get {return 0;}}

	/// <summary>Container`2.System#Collections#Generic#ICollection&lt;TValue&gt;#IsReadOnly</summary>
	bool ICollection<TValue>.IsReadOnly {get {return true;}}

	/// <summary>Container`2.System#Collections#Generic#ICollection&lt;TValue&gt;#Add(`1)</summary>
	void ICollection<TValue>.Add (TValue value) {}

	/// <summary>Container`2.System#Collections#Generic#ICollection&lt;TValue&gt;#Remove(`1)</summary>
	bool ICollection<TValue>.Remove (TValue value) {return false;}

	/// <summary>Container`2.System#Collections#Generic#ICollection&lt;TValue&gt;#Clear</summary>
	void ICollection<TValue>.Clear () {}

	/// <summary>Container`2.System#Collections#Generic#ICollection&lt;TValue&gt;#Contains(`1)</summary>
	bool ICollection<TValue>.Contains (TValue value) {return false;}

	/// <summary>Container`2.System#Collections#Generic#ICollection&lt;TValue&gt;#CopyTo(`1[],System.Int32)</summary>
	void ICollection<TValue>.CopyTo (TValue[] array, int arrayIndex) {}

	/// <summary>Container`2.System#Collections#Generic#IList&lt;TValue&gt;#IndexOf(`1)</summary>
	int IList<TValue>.IndexOf (TValue value) {return -1;}

	/// <summary>Container`2.System#Collections#Generic#IList&lt;TValue&gt;#IndexOf(System.Int32,`1)</summary>
	void IList<TValue>.Insert (int index, TValue item) {}

	/// <summary>Container`2.System#Collections#Generic#IList&lt;TValue&gt;#RemoveAt(System.Int32)</summary>
	void IList<TValue>.RemoveAt (int index) {}

	/// <summary>Container`2.System#Collections#Generic#IList&lt;TValue&gt;#Item(System.Int32)</summary>
	TValue IList<TValue>.this [int index] {
		get {return default (TValue);}
		set {}
	}

	/// <summary>Container`2.System#Collections#IEnumerable#GetEnumerator</summary>
	IEnumerator IEnumerable.GetEnumerator ()
	{
		return GetEnumerator ();
	}

	/// <summary>Container`2.GetEnumerator</summary>
	public IEnumerator<TValue> GetEnumerator ()
	{
		yield break;
	}

	/// <summary>Container`2.A#I#Foo</summary>
	void A.I.Foo ()
	{
	}

	/// <summary>Container`2.A#I#Bar``1(``0)</summary>
	void A.I.Bar<T> (T value)
	{
	}

	/// <summary>Container`2.Element</summary>
	public class Element : ICloneable {

		/// <summary>Container`2.Element.System#ICloneable#Clone</summary>
		object ICloneable.Clone ()
		{
			return Clone ();
		}

		/// <summary>Container`2.Element.Clone</summary>
		public Element Clone ()
		{
			return (Element) MemberwiseClone ();
		}
	}
}

class Test {
	public static void Main ()
	{
	}
}