[Mono-dev] System warning removal.

Kornél Pál kornelpal at hotmail.com
Sat Mar 11 13:59:19 EST 2006


>> +#pragma warning disable 67
>>  public event SerialErrorReceivedEventHandler ErrorReceived;
>>  public event SerialPinChangedEventHandler PinChanged;
>>  public event SerialDataReceivedEventHandler DataReceived;
>> +#pragma warning restore
>>
>>
>> I would prefer #if false because these events are MonoTODO indeed.
>
> Well, they are part of the public API, so we should not remove them.

For the same reason these warnings should not just be disabled. They should
be somehow marked that they should be raised by code. So they are not
"implemented".

Kornél




More information about the Mono-devel-list mailing list