Fix typo in oneof case enum comment

pull/834/head
Jon Skeet 10 years ago
parent e2c823027e
commit 6bbbdfa24c
  1. 6
      csharp/src/Google.Protobuf.Conformance/Conformance.cs
  2. 4
      csharp/src/Google.Protobuf.Test/TestProtos/UnittestIssues.cs
  3. 4
      csharp/src/Google.Protobuf.Test/TestProtos/UnittestProto3.cs
  4. 2
      csharp/src/Google.Protobuf.Test/TestProtos/UnittestWellKnownTypes.cs
  5. 2
      csharp/src/Google.Protobuf/WellKnownTypes/Struct.cs
  6. 2
      src/google/protobuf/compiler/csharp/csharp_message.cc

@ -227,7 +227,7 @@ namespace Conformance {
}
private object payload_;
/// <summary>Enum of possibly cases for the "payload" oneof.</summary>
/// <summary>Enum of possible cases for the "payload" oneof.</summary>
public enum PayloadOneofCase {
None = 0,
ProtobufPayload = 1,
@ -434,7 +434,7 @@ namespace Conformance {
}
private object result_;
/// <summary>Enum of possibly cases for the "result" oneof.</summary>
/// <summary>Enum of possible cases for the "result" oneof.</summary>
public enum ResultOneofCase {
None = 0,
ParseError = 1,
@ -1244,7 +1244,7 @@ namespace Conformance {
}
private object oneofField_;
/// <summary>Enum of possibly cases for the "oneof_field" oneof.</summary>
/// <summary>Enum of possible cases for the "oneof_field" oneof.</summary>
public enum OneofFieldOneofCase {
None = 0,
OneofUint32 = 111,

@ -1170,7 +1170,7 @@ namespace UnitTest.Issues.TestProtos {
}
private object o1_;
/// <summary>Enum of possibly cases for the "o1" oneof.</summary>
/// <summary>Enum of possible cases for the "o1" oneof.</summary>
public enum O1OneofCase {
None = 0,
O1String = 2,
@ -1187,7 +1187,7 @@ namespace UnitTest.Issues.TestProtos {
}
private object o2_;
/// <summary>Enum of possibly cases for the "o2" oneof.</summary>
/// <summary>Enum of possible cases for the "o2" oneof.</summary>
public enum O2OneofCase {
None = 0,
O2Int32 = 6,

@ -717,7 +717,7 @@ namespace Google.Protobuf.TestProtos {
}
private object oneofField_;
/// <summary>Enum of possibly cases for the "oneof_field" oneof.</summary>
/// <summary>Enum of possible cases for the "oneof_field" oneof.</summary>
public enum OneofFieldOneofCase {
None = 0,
OneofUint32 = 111,
@ -4274,7 +4274,7 @@ namespace Google.Protobuf.TestProtos {
}
private object foo_;
/// <summary>Enum of possibly cases for the "foo" oneof.</summary>
/// <summary>Enum of possible cases for the "foo" oneof.</summary>
public enum FooOneofCase {
None = 0,
FooInt = 1,

@ -1470,7 +1470,7 @@ namespace Google.Protobuf.TestProtos {
}
private object oneofField_;
/// <summary>Enum of possibly cases for the "oneof_field" oneof.</summary>
/// <summary>Enum of possible cases for the "oneof_field" oneof.</summary>
public enum OneofFieldOneofCase {
None = 0,
AnyField = 1,

@ -255,7 +255,7 @@ namespace Google.Protobuf.WellKnownTypes {
}
private object kind_;
/// <summary>Enum of possibly cases for the "kind" oneof.</summary>
/// <summary>Enum of possible cases for the "kind" oneof.</summary>
public enum KindOneofCase {
None = 0,
NullValue = 1,

@ -169,7 +169,7 @@ void MessageGenerator::Generate(io::Printer* printer) {
printer->Print(
vars,
"private object $name$_;\n"
"/// <summary>Enum of possibly cases for the \"$original_name$\" oneof.</summary>\n"
"/// <summary>Enum of possible cases for the \"$original_name$\" oneof.</summary>\n"
"public enum $property_name$OneofCase {\n");
printer->Indent();
printer->Print("None = 0,\n");

Loading…
Cancel
Save