mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-05 13:08:58 +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
@@ -3,8 +3,8 @@
|
||||
namespace MyGame.Example2
|
||||
{
|
||||
|
||||
using System;
|
||||
using FlatBuffers;
|
||||
using global::System;
|
||||
using global::FlatBuffers;
|
||||
|
||||
public struct Monster : IFlatbufferObject
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user