[Mono-dev] Patch: Using MonoLimtation and MonoNotSupported to tag DirectorySecurity as unsupported
eyala at mainsoft.com
Wed Feb 21 04:24:35 EST 2007
Hi, Miguel & all.
Attached is a simple patch that uses the 'MonoLimitaion' and
'MonoNotSupported' attributes for tagging the unsupported
DirectorySecurity feature and APIs.
The patch uses 'MonoLimitation' when the method is partially implemented
(e.g. 'DirectoryInfo.Create (DirectorySecurity directorySecurity)' that
will create the file if 'directorySecurity' is null).
The patch uses 'MonoNotSupoorted' for APIs that have no flow that is
implemented (e.g. 'DirectoryInfo.GetAccessControl()').
Please let me know if the above makes sense and what are the
recommendations for the message string passed to the attributes ctors.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2358 bytes
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070221/4fea2cad/attachment.obj
More information about the Mono-devel-list