/// <summary>
 /// Adds the elements of a <see cref="CompilerWarningCollection"/> to the end of the collection.
 /// </summary>
 /// <param name="items">The <see cref="CompilerWarningCollection"/> to be added to the end of the collection.</param>
 public void AddRange(CompilerWarningCollection items)
 {
     for (int i = 0; (i < items.Count); i = (i + 1))
     {
         Add(items[i]);
     }
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="CompilerWarningCollection"/> class
 /// with the specified <see cref="CompilerWarningCollection"/> instance.
 /// </summary>
 public CompilerWarningCollection(CompilerWarningCollection value)
 {
     AddRange(value);
 }
        /// <summary>
        /// Initializes a new instance of the <see cref="CompilerWarningEnumerator"/> class
        /// with the specified <see cref="CompilerWarningCollection"/>.
        /// </summary>
        /// <param name="arguments">The collection that should be enumerated.</param>
        internal CompilerWarningEnumerator(CompilerWarningCollection arguments)
        {
            IEnumerable temp = (IEnumerable)(arguments);

            _baseEnumerator = temp.GetEnumerator();
        }
Ejemplo n.º 4
0
 /// <summary>
 /// Adds the elements of a <see cref="CompilerWarningCollection"/> to the end of the collection.
 /// </summary>
 /// <param name="items">The <see cref="CompilerWarningCollection"/> to be added to the end of the collection.</param> 
 public void AddRange(CompilerWarningCollection items) {
     for (int i = 0; (i < items.Count); i = (i + 1)) {
         Add(items[i]);
     }
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CompilerWarningCollection"/> class
 /// with the specified <see cref="CompilerWarningCollection"/> instance.
 /// </summary>
 public CompilerWarningCollection(CompilerWarningCollection value) {
     AddRange(value);
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CompilerWarningEnumerator"/> class
 /// with the specified <see cref="CompilerWarningCollection"/>.
 /// </summary>
 /// <param name="arguments">The collection that should be enumerated.</param>
 internal CompilerWarningEnumerator(CompilerWarningCollection arguments) {
     IEnumerable temp = (IEnumerable) (arguments);
     _baseEnumerator = temp.GetEnumerator();
 }