You'd rather not encourage people to use tiny class and method names, which would make their code unreadable. I thought it might be nice to provide a tool that automatically squishes the identifiers down to the shortest names possible. You could incorporate Dotfuscator or similar into the toolchain: a little checkbox in the build properties that says "rename all my identifiers to the shortest thing possible". This would have to be optional because it would break reflection calls that look up by hardcoded string, but many programs don't do that anyway. But it's always safe to rename compiler generated identifier since they're supposed to be anonymous anyway.
I started caring about this because I was emotionally traumatized to discover that the utterance "x=>x" adds 108 bytes to one's deployment, 38 of which are owing to Bill Gates' decision to use chatty anonymous field names like "CS$<>9__CachedAnonymousMethodDelegate1". Anyway, something to think about. I complained about this here but there wasn't much reaction.
Second, I don't know about anyone else, but I'm a promiscuous user of extension methods. However, Bill Gates seems to have left the ExtensionAttribute out of the micro framework. For my programs, I've needed to mollify the compiler by putting the following in my code somewhere.
namespace System.Runtime.CompilerServices { [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)] public sealed class ExtensionAttribute : Attribute { } }I usually keep it in an entirely separate project just so all my other libraries can reference it. I wonder if SecretLabs would be willing to stash that in one of its standard libraries. If it ought to be done, that's sort of the logical place for it. It's easy enough to undo: as soon as Microsoft comes out with a new version of the micro framework that has this missing attribute, you can take it back out of your firmware at the same time.
(*) it costs you that character's representation in UTF-8, so one byte if you stick to 7-bit ASCII but more otherwise.