Cocoa Only
Storage Modifiers are relevant and available on the Cocoa platform only. They can optionally be ignored on .NET and Java when Cross-Platform Compatibility Mode is enabled.
It seems Cross-Platform Compatibility Mode is obsoleted. So there’s no way to make __weak ignorable on other platforms?
Oh…The Cross-Platform Compatibility Mode has a side-effect: method names will be case-insensitive.
This side-effect brings me some problems because I’m using the lower camel case (first letter is lowercase) for my method names that conflict with some names in .NET API, for example:
In my homemade List, List.add() conflicts with List.Add()(only define this for C# collection intializer syntax).
Is it possible to make Cocoa Storage Modifiers ignorable in normal mode? Those keywords are Cocoa use only, they will be erased on other platforms.
Hmm. That sounds like a bug. Cross-platform mode should not enable case insensitivity for C# and Swift. Can you send me a complete project that shows your issue?