12 Commits
Author SHA1 Message Date
Daniel Grunwald 7f985757a7 Fix #2541: Add explicit unchecked() around non-constant cast of constant to nint 2021-11-23 00:15:18 +01:00
dotnet format 0d9f871a4f #2128: Reformat the whole code base. 2020-08-28 01:05:38 +02:00
Siegfried Pammer 91af32ef94 Do not wrap local functions in checked blocks. 2019-07-26 19:16:28 +02:00
Daniel Grunwald 75a627d40b Don't use compound assignment when the RHS value does not fit into the LHS type. 2018-05-05 23:40:12 +02:00
Daniel Grunwald 905cb0f388 Split PrettifyAssignments pass out from ReplaceMethodCallsWithOperators and fix pass ordering.
This simplifies the code; and fixes the assertion during NewtonsoftJson_pcl_debug decompilation.
2017-09-12 00:06:04 +02:00
Siegfried Pammer 840ec04fde Namespace adjustments for Syntax classes 2016-11-26 12:06:58 +01:00
Christoph Wille 1ce8349dd9 Adjust namespaces 2016-11-26 11:12:53 +01:00
Daniel Grunwald eb48a3764e Fix various issues that caused conversions to decompile to code with different semantics:
* ensure constant expressions of small integer type have the correct type
* add checked/unchecked annotations for casts, so that we generate the appropriate checked/unchecked blocks
* avoid moving label statements into checked blocks
2016-06-13 00:33:54 +02:00
Daniel Grunwald 08a5e81517 Re-enable IntroduceUsingDeclarations 2014-11-16 15:41:35 +01:00
Daniel Grunwald 2f83334c2e Use NRefactory.TypeSystem for ILAst. 2014-11-16 09:29:05 +01:00
Daniel Grunwald 7e9f6bb9d6 Fix ConvertConstructorCallIntoInitializer transform. 2014-11-15 17:01:09 +01:00
Daniel Grunwald e0a1666547 Add back AST transform infrastructure 2014-09-21 12:22:47 +02:00