.net - How can I get close to non-nullable reference types in C# today? -


I have read many questions and answers. It seems that go to non-navigable types in C # (4.0) The best way is to hack John Skeet.

However, it seems that C ++ / CLI has solved the problem by supporting the managed references: Foo% (Basic C ++ Foo & The compiler uses this function by adding logic to the modreq (IsImplicitlyDereferenced) by adding a function that is trying to call a function from C # results:

  '& lt; Function name & gt; '  

Not supported by the language nonNullable ?

Is there any way (reasonably - i.e. using reflection w / o) C ++ / CLI method Foo :: method (bar%) to C # Call


[edit] It seems that currently non-noble ; There is nothing better than ... I wish to get some comments on C ++ / CLI content, because at least partial solution is already there.

I have run it in some time ... I have not found anything better than a skeet solution . It has resolved all the issues that I have found, so I have to vote myself.

I believe that this is a situation that we have to resort to ... but fix its fix problem.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -