CompilerWarningCollection Class

Summary

Contains a collection of NAnt.DotNet.Types.CompilerWarning elements.
Assembly
NAnt.DotNet.dll
Namespace
NAnt.DotNet.Types
Base Types
  • CollectionBase
graph BT Type-->Base0["CollectionBase"] Type["CompilerWarningCollection"] class Type type-node

Syntax

[Serializable()]
public class CompilerWarningCollection : CollectionBase

Attributes

Type Description
SerializableAttribute

Constructors

Name Summary
CompilerWarningCollection() Initializes a new instance of the NAnt.DotNet.Types.CompilerWarningCollection class.
CompilerWarningCollection(CompilerWarning[]) Initializes a new instance of the NAnt.DotNet.Types.CompilerWarningCollection class with the specified array of NAnt.DotNet.Types.CompilerWarning instances.
CompilerWarningCollection(CompilerWarningCollection) Initializes a new instance of the NAnt.DotNet.Types.CompilerWarningCollection class with the specified NAnt.DotNet.Types.CompilerWarningCollection instance.

Properties

Name Value Summary
this[int] CompilerWarning
Gets or sets the element at the specified index.

Methods

Name Value Summary
Add(CompilerWarning) int
Adds a NAnt.DotNet.Types.CompilerWarning to the end of the collection.
AddRange(CompilerWarning[]) void
Adds the elements of a NAnt.DotNet.Types.CompilerWarning array to the end of the collection.
AddRange(CompilerWarningCollection) void
Adds the elements of a NAnt.DotNet.Types.CompilerWarningCollection to the end of the collection.
Contains(CompilerWarning) bool
Determines whether a NAnt.DotNet.Types.CompilerWarning is in the collection.
CopyTo(CompilerWarning[], int) void
Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array.
GetEnumerator() CompilerWarningEnumerator
Returns an enumerator that can iterate through the collection.
IndexOf(CompilerWarning) int
Retrieves the index of a specified NAnt.DotNet.Types.CompilerWarning object in the collection.
Insert(int, CompilerWarning) void
Inserts a NAnt.DotNet.Types.CompilerWarning into the collection at the specified index.
Remove(CompilerWarning) void
Removes a member from the collection.