public void AddRange(CodeTypeParameter[] value)
		{
			if (value == null)
			{
				throw new ArgumentNullException("value");
			}

			for (int i = 0; i < value.Length; i++)
			{
				Add(value[i]);
			}
		}
Esempio n. 2
0
		public CodeTypeReference(CodeTypeParameter typeParameter) :
			this (typeParameter.Name)
		{
			this.referenceOptions = CodeTypeReferenceOptions.GenericTypeParameter;
		}
		public int IndexOf(CodeTypeParameter value)
		{
			return List.IndexOf(value);
		}
		public void CopyTo(CodeTypeParameter[] array, int index)
		{
			List.CopyTo(array, index);
		}
		public bool Contains(CodeTypeParameter value)
		{
			return List.Contains(value);
		}
		public int Add(CodeTypeParameter value)
		{
			return List.Add(value);
		}
		public CodeTypeParameterCollection(CodeTypeParameter[] value)
		{
			AddRange(value);
		}
		public void Remove(CodeTypeParameter value)
		{
			List.Remove(value);
		}
		public void Insert(int index, CodeTypeParameter value)
		{
			List.Insert(index, value);
		}