开发者

Mono Documentation for NotImplementedException and MonoTodo [closed]

开发者 https://www.devze.com 2022-12-08 05:06 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 4 years ago.

Improve this question

I'm new to Mono and plan to port my application over, if possible. I've run MoMA and there are some places it has identified that I'm calling that could throw a NotImplementedException or are tagged MonoTodo. Is there anywhere I can get more information on 开发者_如何学Cthese specific instances it's flagging down?

For instance, I'm calling the ReceivedBytesThreshold setter on SerialPort and MoMA tells me that this could throw a NotImplementedException. When I read more about MoMA's results, it tells me that NotImplementedException may mean that the method is not implemented at all or under certain circumstances it may throw this exception. Therefore, I need to be able to read more about this case to see if and how to modify my code.


Typically, the MonoTODO attribute includes a string that gives details about what specifically is left to do. In the particular case of the ReceivedBytesThreshold, the only details are "Not implemented". You can see see the details by either using some tricky reflection, or by browsing the class lib source code:

SerialPort.cs from SVN


The documentation at http://www.go-mono.com/docs/index.aspx?link=T%3ASystem.NotImplementedException states that:

A number of the types and constructs, specified elsewhere in this Standard, are not required of CLI implementations that conform only to the Kernel Profile. For example, the floating-point feature set consists of the floating-point data types floatand double. If support for these is omitted from an implementation, any attempt to reference a signature that includes the floating-point data types results in an exception of type NotImplementedException .

0

精彩评论

暂无评论...
验证码 换一张
取 消