From 7879f82ddceb76c2b6710e240a91f0eabf494c33 Mon Sep 17 00:00:00 2001 From: Jon Skeet Date: Wed, 6 May 2015 15:25:03 +0100 Subject: Add C# namespace to .proto files (e.g. descriptors, unit tests) --- src/google/protobuf/map_proto2_unittest.proto | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/google/protobuf/map_proto2_unittest.proto') diff --git a/src/google/protobuf/map_proto2_unittest.proto b/src/google/protobuf/map_proto2_unittest.proto index 3d4af28e..04ca6170 100644 --- a/src/google/protobuf/map_proto2_unittest.proto +++ b/src/google/protobuf/map_proto2_unittest.proto @@ -36,6 +36,8 @@ syntax = "proto2"; // In map_test_util.h we do "using namespace unittest = protobuf_unittest". package protobuf_unittest; +option csharp_namespace = "Google.ProtocolBuffers.TestProtos"; + enum Proto2MapEnum { PROTO2_MAP_ENUM_FOO = 0; PROTO2_MAP_ENUM_BAR = 1; -- cgit v1.2.3