aboutsummaryrefslogtreecommitdiff
path: root/protos
diff options
context:
space:
mode:
authorJon Skeet <skeet@pobox.com>2012-06-04 10:35:59 +0100
committerJon Skeet <skeet@pobox.com>2012-06-04 10:35:59 +0100
commit34378b49b5b7a2cac2305cd32a041b3ec29c66f8 (patch)
tree9bdf556de3b97fcb855c30e7788fdc8ef9a4f02f /protos
parent8f0dcf3df1548a1eff0bed54a9b992f55b8f72d5 (diff)
downloadprotobuf-34378b49b5b7a2cac2305cd32a041b3ec29c66f8.tar.gz
protobuf-34378b49b5b7a2cac2305cd32a041b3ec29c66f8.tar.bz2
protobuf-34378b49b5b7a2cac2305cd32a041b3ec29c66f8.zip
Test and fix for issue 45. When we fetch properties, explicitly state that
we don't want any arguments, to avoid ambiguity with indexers. (Also, change a few "typeof (Foo)" to "typeof(Foo)". Fuller replacement coming.)
Diffstat (limited to 'protos')
-rw-r--r--protos/extest/unittest_issues.proto12
1 files changed, 8 insertions, 4 deletions
diff --git a/protos/extest/unittest_issues.proto b/protos/extest/unittest_issues.proto
index 459e58f8..6d2bcf3f 100644
--- a/protos/extest/unittest_issues.proto
+++ b/protos/extest/unittest_issues.proto
@@ -70,19 +70,23 @@ service TestGenericService {
// Issue 13: http://code.google.com/p/protobuf-csharp-port/issues/detail?id=13
message A {
- optional int32 _A = 1;
+ optional int32 _A = 1;
}
message B {
- optional int32 B_ = 1;
+ optional int32 B_ = 1;
}
message AB {
- optional int32 a_b = 1;
+ optional int32 a_b = 1;
}
// Similar issue with numeric names
message NumberField {
- optional int32 _01 = 1;
+ optional int32 _01 = 1;
}
+// Issue 45: http://code.google.com/p/protobuf-csharp-port/issues/detail?id=45
+message ItemField {
+ optional int32 item = 1;
+}