mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-04 20:48:59 +00:00
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
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
a5cc2092a6
commit
ccfa317486
@@ -128,7 +128,7 @@ const LanguageParameters& GetLangParams(IDLOptions::Language lang) {
|
||||
"__p.",
|
||||
"Table.",
|
||||
"?",
|
||||
"using System;\nusing FlatBuffers;\n\n",
|
||||
"using global::System;\nusing global::FlatBuffers;\n\n",
|
||||
{
|
||||
nullptr,
|
||||
"///",
|
||||
|
||||
Reference in New Issue
Block a user