C# Class System.CodeDom.Tests.CodeNamespaceImportCollectionTests

显示文件 Open project: dotnet/corefx

Public Methods

Method Description
AddRange_TestData ( ) : IEnumerable

Protected Methods

Method Description
CreateT ( int seed ) : object
NonGenericIListFactory ( ) : IList

Private Methods

Method Description
Add ( ) : void
AddRange_CodeNamespaceArray_Works ( CodeNamespaceImport value ) : void
AddRange_NullObjectInValue_ThrowsNullReferenceException ( ) : void
AddRange_Null_ThrowsArgumentNullException ( ) : void
Add_Null_ThrowsNullReferenceException ( ) : void
Add_SameNamespace_DoesntAdd ( ) : void
ItemSet_Get_ReturnsExpected ( ) : void
Item_InvalidIndex_ThrowsArgumentOutOfRangeException ( int index ) : void
VerifyCollection ( CodeNamespaceCollection collection, CodeNamespace contents ) : void

Method Details

AddRange_TestData() public static method

public static AddRange_TestData ( ) : IEnumerable
return IEnumerable

CreateT() protected method

protected CreateT ( int seed ) : object
seed int
return object

NonGenericIListFactory() protected method

protected NonGenericIListFactory ( ) : IList
return IList