naki02 / google-api-for-dotnet

Automatically exported from code.google.com/p/google-api-for-dotnet
0 stars 0 forks source link

Example code is not compilable: client.Translate(text, Language.ChineseSimplified, Language.English); #74

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The problem is that ILMerge makes the Enumeration class internal. So the public 
class Language is deriving from an internal class which makes the C# compiler 
very sad because this would be invalid in C#. It is impossible to call 
Language.Value. Therefore the language class is unusable.

Original issue reported on code.google.com by marvin.s...@googlemail.com on 26 Dec 2010 at 7:49