diff options
author | Spencer Bench <spencer.bench@gmail.com> | 2017-03-29 12:09:25 -0600 |
---|---|---|
committer | Wouter van Oortmerssen <aardappel@gmail.com> | 2017-03-29 11:09:25 -0700 |
commit | ccfa317486199d4fe97cac08bbe37e498651589f (patch) | |
tree | 52bab32014eaf82e15edfa22e1023b4dde5d9cfd /tests/namespace_test/NamespaceA/NamespaceB/StructInNestedNS.cs | |
parent | a5cc2092a62e7ee6541cc380b861cf7ac4de8cb0 (diff) | |
download | flatbuffers-ccfa317486199d4fe97cac08bbe37e498651589f.tar.gz flatbuffers-ccfa317486199d4fe97cac08bbe37e498651589f.tar.bz2 flatbuffers-ccfa317486199d4fe97cac08bbe37e498651589f.zip |
C#: Fixed possible conflicts between usings and user-supplied namespace (#4247)
* C#: Fixed possible conflicts between usings and user-supplied namespace
C#: Added the global qualifier to using directives to prevent possible conflicts with the user-supplied namespace. Also prevents unintentional type hiding. Resolves issue #4242.
* Updated C# generated code files
Diffstat (limited to 'tests/namespace_test/NamespaceA/NamespaceB/StructInNestedNS.cs')
-rw-r--r-- | tests/namespace_test/NamespaceA/NamespaceB/StructInNestedNS.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/namespace_test/NamespaceA/NamespaceB/StructInNestedNS.cs b/tests/namespace_test/NamespaceA/NamespaceB/StructInNestedNS.cs index 508895f5..bb627ad3 100644 --- a/tests/namespace_test/NamespaceA/NamespaceB/StructInNestedNS.cs +++ b/tests/namespace_test/NamespaceA/NamespaceB/StructInNestedNS.cs @@ -3,8 +3,8 @@ namespace NamespaceA.NamespaceB { -using System; -using FlatBuffers; +using global::System; +using global::FlatBuffers; public struct StructInNestedNS : IFlatbufferObject { |