List of violations at Roslyn

After switching to Visual Studio 2015, we noticed that some changes were made in the way lambdas were compiled into MSIL in Roslyn (described in this thread and on GitHub ) under certain conditions lead to runtime crashes.

Since Roslyn is obviously the future of .NET, we would like to switch to this technology, but it seems that all the obsolete codes that were executed in production (and where we have a fair degree of confidence that it works correctly) are now prone to new crashes at runtime. These are a few libraries that are affected by this issue (e.g. Moq, for example ).

We already skipped the upgrade to RyuJIT for its problems , but I believe that Visual Studio 2015 is highly integrated with Roslyn, and I don’t think that we can just replace it csc.exemanually (but that is another question ).

So, is there a compiled list of changes to Roslyn that we could reference what we can expect?

+3
source share
1 answer

(Update)

Thanks to @NealGafter for providing the link. A list of interrupt changes can be found here:


, - : Roslyn (roslyn/docs/ GitHub). :

( ) Roslyn VB #.

  • , ()
  • ,
    • COM , Microsoft.
    • "" ,
    • "ruleset"
  • , # VB,
    • #
  • ,
  • (, )

, CodeGen lambdas ( ), roslyn/docs/compilers/CSharp/CodeGen Differences

. "Invoke", , , "Invoke".

+3

Source: https://habr.com/ru/post/1617678/


All Articles