Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
6bbbdfa2
Commit
6bbbdfa2
authored
Sep 30, 2015
by
Jon Skeet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo in oneof case enum comment
parent
e2c82302
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
10 deletions
+10
-10
Conformance.cs
csharp/src/Google.Protobuf.Conformance/Conformance.cs
+3
-3
UnittestIssues.cs
csharp/src/Google.Protobuf.Test/TestProtos/UnittestIssues.cs
+2
-2
UnittestProto3.cs
csharp/src/Google.Protobuf.Test/TestProtos/UnittestProto3.cs
+2
-2
UnittestWellKnownTypes.cs
...Google.Protobuf.Test/TestProtos/UnittestWellKnownTypes.cs
+1
-1
Struct.cs
csharp/src/Google.Protobuf/WellKnownTypes/Struct.cs
+1
-1
csharp_message.cc
src/google/protobuf/compiler/csharp/csharp_message.cc
+1
-1
No files found.
csharp/src/Google.Protobuf.Conformance/Conformance.cs
View file @
6bbbdfa2
...
@@ -227,7 +227,7 @@ namespace Conformance {
...
@@ -227,7 +227,7 @@ namespace Conformance {
}
}
private
object
payload_
;
private
object
payload_
;
/// <summary>Enum of possibl
y
cases for the "payload" oneof.</summary>
/// <summary>Enum of possibl
e
cases for the "payload" oneof.</summary>
public
enum
PayloadOneofCase
{
public
enum
PayloadOneofCase
{
None
=
0
,
None
=
0
,
ProtobufPayload
=
1
,
ProtobufPayload
=
1
,
...
@@ -434,7 +434,7 @@ namespace Conformance {
...
@@ -434,7 +434,7 @@ namespace Conformance {
}
}
private
object
result_
;
private
object
result_
;
/// <summary>Enum of possibl
y
cases for the "result" oneof.</summary>
/// <summary>Enum of possibl
e
cases for the "result" oneof.</summary>
public
enum
ResultOneofCase
{
public
enum
ResultOneofCase
{
None
=
0
,
None
=
0
,
ParseError
=
1
,
ParseError
=
1
,
...
@@ -1244,7 +1244,7 @@ namespace Conformance {
...
@@ -1244,7 +1244,7 @@ namespace Conformance {
}
}
private
object
oneofField_
;
private
object
oneofField_
;
/// <summary>Enum of possibl
y
cases for the "oneof_field" oneof.</summary>
/// <summary>Enum of possibl
e
cases for the "oneof_field" oneof.</summary>
public
enum
OneofFieldOneofCase
{
public
enum
OneofFieldOneofCase
{
None
=
0
,
None
=
0
,
OneofUint32
=
111
,
OneofUint32
=
111
,
...
...
csharp/src/Google.Protobuf.Test/TestProtos/UnittestIssues.cs
View file @
6bbbdfa2
...
@@ -1170,7 +1170,7 @@ namespace UnitTest.Issues.TestProtos {
...
@@ -1170,7 +1170,7 @@ namespace UnitTest.Issues.TestProtos {
}
}
private
object
o1_
;
private
object
o1_
;
/// <summary>Enum of possibl
y
cases for the "o1" oneof.</summary>
/// <summary>Enum of possibl
e
cases for the "o1" oneof.</summary>
public
enum
O1OneofCase
{
public
enum
O1OneofCase
{
None
=
0
,
None
=
0
,
O1String
=
2
,
O1String
=
2
,
...
@@ -1187,7 +1187,7 @@ namespace UnitTest.Issues.TestProtos {
...
@@ -1187,7 +1187,7 @@ namespace UnitTest.Issues.TestProtos {
}
}
private
object
o2_
;
private
object
o2_
;
/// <summary>Enum of possibl
y
cases for the "o2" oneof.</summary>
/// <summary>Enum of possibl
e
cases for the "o2" oneof.</summary>
public
enum
O2OneofCase
{
public
enum
O2OneofCase
{
None
=
0
,
None
=
0
,
O2Int32
=
6
,
O2Int32
=
6
,
...
...
csharp/src/Google.Protobuf.Test/TestProtos/UnittestProto3.cs
View file @
6bbbdfa2
...
@@ -717,7 +717,7 @@ namespace Google.Protobuf.TestProtos {
...
@@ -717,7 +717,7 @@ namespace Google.Protobuf.TestProtos {
}
}
private
object
oneofField_
;
private
object
oneofField_
;
/// <summary>Enum of possibl
y
cases for the "oneof_field" oneof.</summary>
/// <summary>Enum of possibl
e
cases for the "oneof_field" oneof.</summary>
public
enum
OneofFieldOneofCase
{
public
enum
OneofFieldOneofCase
{
None
=
0
,
None
=
0
,
OneofUint32
=
111
,
OneofUint32
=
111
,
...
@@ -4274,7 +4274,7 @@ namespace Google.Protobuf.TestProtos {
...
@@ -4274,7 +4274,7 @@ namespace Google.Protobuf.TestProtos {
}
}
private
object
foo_
;
private
object
foo_
;
/// <summary>Enum of possibl
y
cases for the "foo" oneof.</summary>
/// <summary>Enum of possibl
e
cases for the "foo" oneof.</summary>
public
enum
FooOneofCase
{
public
enum
FooOneofCase
{
None
=
0
,
None
=
0
,
FooInt
=
1
,
FooInt
=
1
,
...
...
csharp/src/Google.Protobuf.Test/TestProtos/UnittestWellKnownTypes.cs
View file @
6bbbdfa2
...
@@ -1470,7 +1470,7 @@ namespace Google.Protobuf.TestProtos {
...
@@ -1470,7 +1470,7 @@ namespace Google.Protobuf.TestProtos {
}
}
private
object
oneofField_
;
private
object
oneofField_
;
/// <summary>Enum of possibl
y
cases for the "oneof_field" oneof.</summary>
/// <summary>Enum of possibl
e
cases for the "oneof_field" oneof.</summary>
public
enum
OneofFieldOneofCase
{
public
enum
OneofFieldOneofCase
{
None
=
0
,
None
=
0
,
AnyField
=
1
,
AnyField
=
1
,
...
...
csharp/src/Google.Protobuf/WellKnownTypes/Struct.cs
View file @
6bbbdfa2
...
@@ -255,7 +255,7 @@ namespace Google.Protobuf.WellKnownTypes {
...
@@ -255,7 +255,7 @@ namespace Google.Protobuf.WellKnownTypes {
}
}
private
object
kind_
;
private
object
kind_
;
/// <summary>Enum of possibl
y
cases for the "kind" oneof.</summary>
/// <summary>Enum of possibl
e
cases for the "kind" oneof.</summary>
public
enum
KindOneofCase
{
public
enum
KindOneofCase
{
None
=
0
,
None
=
0
,
NullValue
=
1
,
NullValue
=
1
,
...
...
src/google/protobuf/compiler/csharp/csharp_message.cc
View file @
6bbbdfa2
...
@@ -169,7 +169,7 @@ void MessageGenerator::Generate(io::Printer* printer) {
...
@@ -169,7 +169,7 @@ void MessageGenerator::Generate(io::Printer* printer) {
printer
->
Print
(
printer
->
Print
(
vars
,
vars
,
"private object $name$_;
\n
"
"private object $name$_;
\n
"
"/// <summary>Enum of possibl
y
cases for the
\"
$original_name$
\"
oneof.</summary>
\n
"
"/// <summary>Enum of possibl
e
cases for the
\"
$original_name$
\"
oneof.</summary>
\n
"
"public enum $property_name$OneofCase {
\n
"
);
"public enum $property_name$OneofCase {
\n
"
);
printer
->
Indent
();
printer
->
Indent
();
printer
->
Print
(
"None = 0,
\n
"
);
printer
->
Print
(
"None = 0,
\n
"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment