remove svn:executable from .cs files
[mono.git] / mcs / class / Npgsql / Npgsql / NpgsqlParameterCollection.cs
old mode 100755 (executable)
new mode 100644 (file)
index d2fa491..d2885eb
@@ -31,9 +31,11 @@ using System.Reflection;
 using System.Data;
 using System.Collections;
 using System.ComponentModel;
-using Npgsql.Design;
 using NpgsqlTypes;
 
+#if WITHDESIGN
+using Npgsql.Design;
+#endif
 
 namespace Npgsql
 {
@@ -42,9 +44,12 @@ namespace Npgsql
     /// as well as their respective mappings to columns in a <see cref="System.Data.DataSet">DataSet</see>.
     /// This class cannot be inherited.
     /// </summary>
+    
+    #if WITHDESIGN
     [ListBindable(false)]
-    // [Editor(typeof(NpgsqlParametersEditor), typeof(System.ComponentModel.Design.CollectionEditor))]
     [Editor(typeof(NpgsqlParametersEditor), typeof(System.Drawing.Design.UITypeEditor))]
+    #endif
+    
     public sealed class NpgsqlParameterCollection : MarshalByRefObject, IDataParameterCollection
     {
         private ArrayList InternalList = new ArrayList();
@@ -71,7 +76,11 @@ namespace Npgsql
         /// </summary>
         /// <param name="parameterName">The name of the <see cref="Npgsql.NpgsqlParameter">NpgsqlParameter</see> to retrieve.</param>
         /// <value>The <see cref="Npgsql.NpgsqlParameter">NpgsqlParameter</see> with the specified name, or a null reference if the parameter is not found.</value>
+        
+        #if WITHDESIGN
         [Browsable(false), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
+        #endif
+        
         public NpgsqlParameter this[string parameterName] {
             get
             {
@@ -90,7 +99,11 @@ namespace Npgsql
         /// </summary>
         /// <param name="index">The zero-based index of the <see cref="Npgsql.NpgsqlParameter">NpgsqlParameter</see> to retrieve.</param>
         /// <value>The <see cref="Npgsql.NpgsqlParameter">NpgsqlParameter</see> at the specified index.</value>
+        
+        #if WITHDESIGN
         [Browsable(false), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
+        #endif
+        
         public NpgsqlParameter this[int index] {
             get
             {
@@ -377,7 +390,11 @@ namespace Npgsql
         /// Gets the number of <see cref="Npgsql.NpgsqlParameter">NpgsqlParameter</see> objects in the collection.
         /// </summary>
         /// <value>The number of <see cref="Npgsql.NpgsqlParameter">NpgsqlParameter</see> objects in the collection.</value>
+        
+        #if WITHDESIGN
         [Browsable(false), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
+        #endif
+        
         public int Count {
             get
             {