Workaround for C#
Only add inline on C# platform
Merge pull request #24 from Atry/csharp-workaround

Workaround for C#