Compatibility of .NET csc and Mono mcs
问题 I know .NET and Mono are binary compatible but given a set of source code, will csc and mcs produce the exact same 100% identical binary CLI executable? Would one be able to tell whether an executable was compiled with csc or mcs? 回答1: A lot of things are not fully defined in the spec, or are implementation-specific extensions. Examples of not-fully-specified: the synchronisation semantics of field-like events; this is explicitly open to implementations in the ecma spec; it is stricty defined