[Mono-dev] .net/mono inconsistency

Jonathan Pryor jonpryor at vt.edu
Tue Aug 7 19:55:45 UTC 2012


On Jul 13, 2012, at 11:23 AM, Matthias D. <matthi.d at googlemail.com> wrote:
> I'm porting a .net application to mono and I noticed a small inconsistency in System.Diagnostics.DefaultTraceListener. In .net this class has a public constructor and in mono it has only a private one (none in the source code).

If the source code doesn't contain a constructor, the compiler will create a default _public_ constructor, not a private one. Mono is compatible with .NET here.

- Jon



More information about the Mono-devel-list mailing list