public void TestCreateArray() { var typeProvider = new TypeProvider(null); var intType = typeProvider.FindType("Int"); var arrayIntType = typeProvider.FindType(TypeSystem.ArrayTypeName(intType)); Assert.IsNotNull(arrayIntType); Assert.AreEqual(arrayIntType.Name, typeProvider.FindType(TypeSystem.ArrayTypeName(intType)).Name); Assert.AreEqual(intType, (arrayIntType as ArrayType).ElementType); }