parent
cd11d5414f
commit
145033c056
12 changed files with 95 additions and 88 deletions
@ -1,12 +0,0 @@ |
||||
syntax = "proto3"; |
||||
|
||||
option csharp_namespace = "Google.Protobuf.TestProtos.Extensions"; |
||||
|
||||
// This file is used as part of a unit test for issue 6936 |
||||
// We don't need to use it, we just have to import it in both b and c |
||||
|
||||
import "google/protobuf/descriptor.proto"; |
||||
|
||||
extend google.protobuf.MessageOptions { |
||||
string opt = 50000; |
||||
} |
@ -1,12 +0,0 @@ |
||||
syntax = "proto3"; |
||||
|
||||
import "extensions_a.proto"; |
||||
|
||||
option csharp_namespace = "Google.Protobuf.TestProtos.Extensions"; |
||||
|
||||
// This file is used as part of a unit test for issue 6936 |
||||
// We don't need to use it, we just have to import it in c |
||||
|
||||
message Foo { |
||||
option (opt) = "bar"; |
||||
} |
@ -1,14 +0,0 @@ |
||||
syntax = "proto3"; |
||||
|
||||
import "extensions_a.proto"; |
||||
import "extensions_b.proto"; |
||||
|
||||
option csharp_namespace = "Google.Protobuf.TestProtos.Extensions"; |
||||
|
||||
// This file is used as part of a unit test for issue 6936 |
||||
// We don't need to use it, we just have to load it at runtime |
||||
|
||||
message Bar { |
||||
option (opt) = "foo"; |
||||
Foo foo = 1; |
||||
} |
@ -0,0 +1,15 @@ |
||||
syntax = "proto3"; |
||||
|
||||
package unittest_issues; |
||||
|
||||
option csharp_namespace = "UnitTest.Issues.TestProtos"; |
||||
|
||||
// This file is used as part of a unit test for issue 6936 |
||||
// We don't need to use it, we just have to import it in both |
||||
// "extensions_issue6936_b.proto" and "extensions_issue6936_c.proto" |
||||
|
||||
import "google/protobuf/descriptor.proto"; |
||||
|
||||
extend google.protobuf.MessageOptions { |
||||
string opt = 50000; |
||||
} |
@ -0,0 +1,14 @@ |
||||
syntax = "proto3"; |
||||
|
||||
import "extensions_issue6936_a.proto"; |
||||
|
||||
package unittest_issues; |
||||
|
||||
option csharp_namespace = "UnitTest.Issues.TestProtos"; |
||||
|
||||
// This file is used as part of a unit test for issue 6936 |
||||
// We don't need to use it, we just have to import it in "extensions_issue6936_c.proto" |
||||
|
||||
message Foo { |
||||
option (opt) = "foo"; |
||||
} |
@ -0,0 +1,16 @@ |
||||
syntax = "proto3"; |
||||
|
||||
import "extensions_issue6936_a.proto"; |
||||
import "extensions_issue6936_b.proto"; |
||||
|
||||
package unittest_issues; |
||||
|
||||
option csharp_namespace = "UnitTest.Issues.TestProtos"; |
||||
|
||||
// This file is used as part of a unit test for issue 6936 |
||||
// We don't need to use it, we just have to load it at runtime |
||||
|
||||
message Bar { |
||||
option (opt) = "bar"; |
||||
Foo foo = 1; |
||||
} |
Binary file not shown.
Loading…
Reference in new issue