Browse Source

Regenerate some proto files after ClsCompliance has been dropped

Jan Tattermusch 10 years ago
parent
commit
385afba572

+ 0 - 22
csharp/src/ProtocolBuffers.Test/TestProtos/GoogleSize.cs

@@ -265,14 +265,12 @@ namespace Google.ProtocolBuffers.TestProtos {
 
 
     public const int Field5FieldNumber = 5;
     public const int Field5FieldNumber = 5;
     private pbc::PopsicleList<ulong> field5_ = new pbc::PopsicleList<ulong>();
     private pbc::PopsicleList<ulong> field5_ = new pbc::PopsicleList<ulong>();
-    [global::System.CLSCompliant(false)]
     public scg::IList<ulong> Field5List {
     public scg::IList<ulong> Field5List {
       get { return pbc::Lists.AsReadOnly(field5_); }
       get { return pbc::Lists.AsReadOnly(field5_); }
     }
     }
     public int Field5Count {
     public int Field5Count {
       get { return field5_.Count; }
       get { return field5_.Count; }
     }
     }
-    [global::System.CLSCompliant(false)]
     public ulong GetField5(int index) {
     public ulong GetField5(int index) {
       return field5_[index];
       return field5_[index];
     }
     }
@@ -899,30 +897,25 @@ namespace Google.ProtocolBuffers.TestProtos {
         return this;
         return this;
       }
       }
 
 
-      [global::System.CLSCompliant(false)]
       public pbc::IPopsicleList<ulong> Field5List {
       public pbc::IPopsicleList<ulong> Field5List {
         get { return PrepareBuilder().field5_; }
         get { return PrepareBuilder().field5_; }
       }
       }
       public int Field5Count {
       public int Field5Count {
         get { return result.Field5Count; }
         get { return result.Field5Count; }
       }
       }
-      [global::System.CLSCompliant(false)]
       public ulong GetField5(int index) {
       public ulong GetField5(int index) {
         return result.GetField5(index);
         return result.GetField5(index);
       }
       }
-      [global::System.CLSCompliant(false)]
       public Builder SetField5(int index, ulong value) {
       public Builder SetField5(int index, ulong value) {
         PrepareBuilder();
         PrepareBuilder();
         result.field5_[index] = value;
         result.field5_[index] = value;
         return this;
         return this;
       }
       }
-      [global::System.CLSCompliant(false)]
       public Builder AddField5(ulong value) {
       public Builder AddField5(ulong value) {
         PrepareBuilder();
         PrepareBuilder();
         result.field5_.Add(value);
         result.field5_.Add(value);
         return this;
         return this;
       }
       }
-      [global::System.CLSCompliant(false)]
       public Builder AddRangeField5(scg::IEnumerable<ulong> values) {
       public Builder AddRangeField5(scg::IEnumerable<ulong> values) {
         PrepareBuilder();
         PrepareBuilder();
         result.field5_.Add(values);
         result.field5_.Add(values);
@@ -1683,7 +1676,6 @@ namespace Google.ProtocolBuffers.TestProtos {
     public bool HasField21 {
     public bool HasField21 {
       get { return hasField21; }
       get { return hasField21; }
     }
     }
-    [global::System.CLSCompliant(false)]
     public ulong Field21 {
     public ulong Field21 {
       get { return field21_; }
       get { return field21_; }
     }
     }
@@ -1724,7 +1716,6 @@ namespace Google.ProtocolBuffers.TestProtos {
     public bool HasField203 {
     public bool HasField203 {
       get { return hasField203; }
       get { return hasField203; }
     }
     }
-    [global::System.CLSCompliant(false)]
     public uint Field203 {
     public uint Field203 {
       get { return field203_; }
       get { return field203_; }
     }
     }
@@ -1755,7 +1746,6 @@ namespace Google.ProtocolBuffers.TestProtos {
     public bool HasField207 {
     public bool HasField207 {
       get { return hasField207; }
       get { return hasField207; }
     }
     }
-    [global::System.CLSCompliant(false)]
     public ulong Field207 {
     public ulong Field207 {
       get { return field207_; }
       get { return field207_; }
     }
     }
@@ -1766,7 +1756,6 @@ namespace Google.ProtocolBuffers.TestProtos {
     public bool HasField300 {
     public bool HasField300 {
       get { return hasField300; }
       get { return hasField300; }
     }
     }
-    [global::System.CLSCompliant(false)]
     public ulong Field300 {
     public ulong Field300 {
       get { return field300_; }
       get { return field300_; }
     }
     }
@@ -2102,12 +2091,10 @@ namespace Google.ProtocolBuffers.TestProtos {
       public bool HasField21 {
       public bool HasField21 {
         get { return result.hasField21; }
         get { return result.hasField21; }
       }
       }
-      [global::System.CLSCompliant(false)]
       public ulong Field21 {
       public ulong Field21 {
         get { return result.Field21; }
         get { return result.Field21; }
         set { SetField21(value); }
         set { SetField21(value); }
       }
       }
-      [global::System.CLSCompliant(false)]
       public Builder SetField21(ulong value) {
       public Builder SetField21(ulong value) {
         PrepareBuilder();
         PrepareBuilder();
         result.hasField21 = true;
         result.hasField21 = true;
@@ -2184,12 +2171,10 @@ namespace Google.ProtocolBuffers.TestProtos {
       public bool HasField203 {
       public bool HasField203 {
         get { return result.hasField203; }
         get { return result.hasField203; }
       }
       }
-      [global::System.CLSCompliant(false)]
       public uint Field203 {
       public uint Field203 {
         get { return result.Field203; }
         get { return result.Field203; }
         set { SetField203(value); }
         set { SetField203(value); }
       }
       }
-      [global::System.CLSCompliant(false)]
       public Builder SetField203(uint value) {
       public Builder SetField203(uint value) {
         PrepareBuilder();
         PrepareBuilder();
         result.hasField203 = true;
         result.hasField203 = true;
@@ -2247,12 +2232,10 @@ namespace Google.ProtocolBuffers.TestProtos {
       public bool HasField207 {
       public bool HasField207 {
         get { return result.hasField207; }
         get { return result.hasField207; }
       }
       }
-      [global::System.CLSCompliant(false)]
       public ulong Field207 {
       public ulong Field207 {
         get { return result.Field207; }
         get { return result.Field207; }
         set { SetField207(value); }
         set { SetField207(value); }
       }
       }
-      [global::System.CLSCompliant(false)]
       public Builder SetField207(ulong value) {
       public Builder SetField207(ulong value) {
         PrepareBuilder();
         PrepareBuilder();
         result.hasField207 = true;
         result.hasField207 = true;
@@ -2269,12 +2252,10 @@ namespace Google.ProtocolBuffers.TestProtos {
       public bool HasField300 {
       public bool HasField300 {
         get { return result.hasField300; }
         get { return result.hasField300; }
       }
       }
-      [global::System.CLSCompliant(false)]
       public ulong Field300 {
       public ulong Field300 {
         get { return result.Field300; }
         get { return result.Field300; }
         set { SetField300(value); }
         set { SetField300(value); }
       }
       }
-      [global::System.CLSCompliant(false)]
       public Builder SetField300(ulong value) {
       public Builder SetField300(ulong value) {
         PrepareBuilder();
         PrepareBuilder();
         result.hasField300 = true;
         result.hasField300 = true;
@@ -2402,7 +2383,6 @@ namespace Google.ProtocolBuffers.TestProtos {
         public bool HasField15 {
         public bool HasField15 {
           get { return hasField15; }
           get { return hasField15; }
         }
         }
-        [global::System.CLSCompliant(false)]
         public ulong Field15 {
         public ulong Field15 {
           get { return field15_; }
           get { return field15_; }
         }
         }
@@ -2738,12 +2718,10 @@ namespace Google.ProtocolBuffers.TestProtos {
           public bool HasField15 {
           public bool HasField15 {
             get { return result.hasField15; }
             get { return result.hasField15; }
           }
           }
-          [global::System.CLSCompliant(false)]
           public ulong Field15 {
           public ulong Field15 {
             get { return result.Field15; }
             get { return result.Field15; }
             set { SetField15(value); }
             set { SetField15(value); }
           }
           }
-          [global::System.CLSCompliant(false)]
           public Builder SetField15(ulong value) {
           public Builder SetField15(ulong value) {
             PrepareBuilder();
             PrepareBuilder();
             result.hasField15 = true;
             result.hasField15 = true;

+ 0 - 22
csharp/src/ProtocolBuffers.Test/TestProtos/GoogleSpeed.cs

@@ -267,14 +267,12 @@ namespace Google.ProtocolBuffers.TestProtos {
 
 
     public const int Field5FieldNumber = 5;
     public const int Field5FieldNumber = 5;
     private pbc::PopsicleList<ulong> field5_ = new pbc::PopsicleList<ulong>();
     private pbc::PopsicleList<ulong> field5_ = new pbc::PopsicleList<ulong>();
-    [global::System.CLSCompliant(false)]
     public scg::IList<ulong> Field5List {
     public scg::IList<ulong> Field5List {
       get { return pbc::Lists.AsReadOnly(field5_); }
       get { return pbc::Lists.AsReadOnly(field5_); }
     }
     }
     public int Field5Count {
     public int Field5Count {
       get { return field5_.Count; }
       get { return field5_.Count; }
     }
     }
-    [global::System.CLSCompliant(false)]
     public ulong GetField5(int index) {
     public ulong GetField5(int index) {
       return field5_[index];
       return field5_[index];
     }
     }
@@ -1540,30 +1538,25 @@ namespace Google.ProtocolBuffers.TestProtos {
         return this;
         return this;
       }
       }
 
 
-      [global::System.CLSCompliant(false)]
       public pbc::IPopsicleList<ulong> Field5List {
       public pbc::IPopsicleList<ulong> Field5List {
         get { return PrepareBuilder().field5_; }
         get { return PrepareBuilder().field5_; }
       }
       }
       public int Field5Count {
       public int Field5Count {
         get { return result.Field5Count; }
         get { return result.Field5Count; }
       }
       }
-      [global::System.CLSCompliant(false)]
       public ulong GetField5(int index) {
       public ulong GetField5(int index) {
         return result.GetField5(index);
         return result.GetField5(index);
       }
       }
-      [global::System.CLSCompliant(false)]
       public Builder SetField5(int index, ulong value) {
       public Builder SetField5(int index, ulong value) {
         PrepareBuilder();
         PrepareBuilder();
         result.field5_[index] = value;
         result.field5_[index] = value;
         return this;
         return this;
       }
       }
-      [global::System.CLSCompliant(false)]
       public Builder AddField5(ulong value) {
       public Builder AddField5(ulong value) {
         PrepareBuilder();
         PrepareBuilder();
         result.field5_.Add(value);
         result.field5_.Add(value);
         return this;
         return this;
       }
       }
-      [global::System.CLSCompliant(false)]
       public Builder AddRangeField5(scg::IEnumerable<ulong> values) {
       public Builder AddRangeField5(scg::IEnumerable<ulong> values) {
         PrepareBuilder();
         PrepareBuilder();
         result.field5_.Add(values);
         result.field5_.Add(values);
@@ -2326,7 +2319,6 @@ namespace Google.ProtocolBuffers.TestProtos {
     public bool HasField21 {
     public bool HasField21 {
       get { return hasField21; }
       get { return hasField21; }
     }
     }
-    [global::System.CLSCompliant(false)]
     public ulong Field21 {
     public ulong Field21 {
       get { return field21_; }
       get { return field21_; }
     }
     }
@@ -2367,7 +2359,6 @@ namespace Google.ProtocolBuffers.TestProtos {
     public bool HasField203 {
     public bool HasField203 {
       get { return hasField203; }
       get { return hasField203; }
     }
     }
-    [global::System.CLSCompliant(false)]
     public uint Field203 {
     public uint Field203 {
       get { return field203_; }
       get { return field203_; }
     }
     }
@@ -2398,7 +2389,6 @@ namespace Google.ProtocolBuffers.TestProtos {
     public bool HasField207 {
     public bool HasField207 {
       get { return hasField207; }
       get { return hasField207; }
     }
     }
-    [global::System.CLSCompliant(false)]
     public ulong Field207 {
     public ulong Field207 {
       get { return field207_; }
       get { return field207_; }
     }
     }
@@ -2409,7 +2399,6 @@ namespace Google.ProtocolBuffers.TestProtos {
     public bool HasField300 {
     public bool HasField300 {
       get { return hasField300; }
       get { return hasField300; }
     }
     }
-    [global::System.CLSCompliant(false)]
     public ulong Field300 {
     public ulong Field300 {
       get { return field300_; }
       get { return field300_; }
     }
     }
@@ -3099,12 +3088,10 @@ namespace Google.ProtocolBuffers.TestProtos {
       public bool HasField21 {
       public bool HasField21 {
         get { return result.hasField21; }
         get { return result.hasField21; }
       }
       }
-      [global::System.CLSCompliant(false)]
       public ulong Field21 {
       public ulong Field21 {
         get { return result.Field21; }
         get { return result.Field21; }
         set { SetField21(value); }
         set { SetField21(value); }
       }
       }
-      [global::System.CLSCompliant(false)]
       public Builder SetField21(ulong value) {
       public Builder SetField21(ulong value) {
         PrepareBuilder();
         PrepareBuilder();
         result.hasField21 = true;
         result.hasField21 = true;
@@ -3181,12 +3168,10 @@ namespace Google.ProtocolBuffers.TestProtos {
       public bool HasField203 {
       public bool HasField203 {
         get { return result.hasField203; }
         get { return result.hasField203; }
       }
       }
-      [global::System.CLSCompliant(false)]
       public uint Field203 {
       public uint Field203 {
         get { return result.Field203; }
         get { return result.Field203; }
         set { SetField203(value); }
         set { SetField203(value); }
       }
       }
-      [global::System.CLSCompliant(false)]
       public Builder SetField203(uint value) {
       public Builder SetField203(uint value) {
         PrepareBuilder();
         PrepareBuilder();
         result.hasField203 = true;
         result.hasField203 = true;
@@ -3244,12 +3229,10 @@ namespace Google.ProtocolBuffers.TestProtos {
       public bool HasField207 {
       public bool HasField207 {
         get { return result.hasField207; }
         get { return result.hasField207; }
       }
       }
-      [global::System.CLSCompliant(false)]
       public ulong Field207 {
       public ulong Field207 {
         get { return result.Field207; }
         get { return result.Field207; }
         set { SetField207(value); }
         set { SetField207(value); }
       }
       }
-      [global::System.CLSCompliant(false)]
       public Builder SetField207(ulong value) {
       public Builder SetField207(ulong value) {
         PrepareBuilder();
         PrepareBuilder();
         result.hasField207 = true;
         result.hasField207 = true;
@@ -3266,12 +3249,10 @@ namespace Google.ProtocolBuffers.TestProtos {
       public bool HasField300 {
       public bool HasField300 {
         get { return result.hasField300; }
         get { return result.hasField300; }
       }
       }
-      [global::System.CLSCompliant(false)]
       public ulong Field300 {
       public ulong Field300 {
         get { return result.Field300; }
         get { return result.Field300; }
         set { SetField300(value); }
         set { SetField300(value); }
       }
       }
-      [global::System.CLSCompliant(false)]
       public Builder SetField300(ulong value) {
       public Builder SetField300(ulong value) {
         PrepareBuilder();
         PrepareBuilder();
         result.hasField300 = true;
         result.hasField300 = true;
@@ -3403,7 +3384,6 @@ namespace Google.ProtocolBuffers.TestProtos {
         public bool HasField15 {
         public bool HasField15 {
           get { return hasField15; }
           get { return hasField15; }
         }
         }
-        [global::System.CLSCompliant(false)]
         public ulong Field15 {
         public ulong Field15 {
           get { return field15_; }
           get { return field15_; }
         }
         }
@@ -4064,12 +4044,10 @@ namespace Google.ProtocolBuffers.TestProtos {
           public bool HasField15 {
           public bool HasField15 {
             get { return result.hasField15; }
             get { return result.hasField15; }
           }
           }
-          [global::System.CLSCompliant(false)]
           public ulong Field15 {
           public ulong Field15 {
             get { return result.Field15; }
             get { return result.Field15; }
             set { SetField15(value); }
             set { SetField15(value); }
           }
           }
-          [global::System.CLSCompliant(false)]
           public Builder SetField15(ulong value) {
           public Builder SetField15(ulong value) {
             PrepareBuilder();
             PrepareBuilder();
             result.hasField15 = true;
             result.hasField15 = true;

+ 0 - 3
csharp/src/ProtocolBuffersLite.Test/TestProtos/UnittestExtrasFull.cs

@@ -420,7 +420,6 @@ namespace Google.ProtocolBuffers.TestProtos {
         public bool HasZip {
         public bool HasZip {
           get { return hasZip; }
           get { return hasZip; }
         }
         }
-        [global::System.CLSCompliant(false)]
         public uint Zip {
         public uint Zip {
           get { return zip_; }
           get { return zip_; }
         }
         }
@@ -619,12 +618,10 @@ namespace Google.ProtocolBuffers.TestProtos {
           public bool HasZip {
           public bool HasZip {
             get { return result.hasZip; }
             get { return result.hasZip; }
           }
           }
-          [global::System.CLSCompliant(false)]
           public uint Zip {
           public uint Zip {
             get { return result.Zip; }
             get { return result.Zip; }
             set { SetZip(value); }
             set { SetZip(value); }
           }
           }
-          [global::System.CLSCompliant(false)]
           public Builder SetZip(uint value) {
           public Builder SetZip(uint value) {
             PrepareBuilder();
             PrepareBuilder();
             result.hasZip = true;
             result.hasZip = true;