1266 Commits (156b1d0e75dba60adcec4bf6fd4201368d3c4a05)

Author SHA1 Message Date
Daniel Grunwald 156b1d0e75 Fix void*->IntPtr conversion in checked context. Also fix a stack overflow for certain forms of conversions involving `nint`. 5 years ago
Daniel Grunwald 2c9b84a1e1 If possible, use nint/nuint for conversions to/from IntPtr. 5 years ago
Daniel Grunwald c9e41d0582 Add support for decoding `NativeIntegerAttribute`. 5 years ago
Daniel Grunwald 450fae49e3 Introduce nint/nuint types and their conversions in the type system 5 years ago
Daniel Grunwald 016d9f8f4d Fix #1903: un-inline argument of unsupported `isinst` instructions. 5 years ago
Daniel Grunwald 94a8190861 #2049: Delete old NRefactory node types that were never supported for output. 5 years ago
Daniel Grunwald a0b144d332 Use `Unsafe.AsPointer()` for `ConversionKind.StopGCTracking`. 5 years ago
Daniel Grunwald 35c405b973 Translate the initializer of a `fixed` statement as managed reference and only apply the ref-to-pointer conversion at the end. 5 years ago
Daniel Grunwald a9d643b208 Emit a call to `ref Unsafe.As<TFrom, TTo>(ref TFrom)` when the IL code contains a mismatch of managed reference types. 5 years ago
Daniel Grunwald 2c0554f129 Fix #1963: Support decompiling `calli` instructions into C# 9 function pointer syntax. 5 years ago
Siegfried Pammer 9f0ca09e56 Fix #2033: Wrong place for variable declaration. 5 years ago
Siegfried Pammer 3e4091442d Simplify ExpressionBuilder.ConvertField.IsUnambiguousAccess by renaming it to ExpressionBuilder.ConvertField.IsAmbiguousAccess 5 years ago
dymanoid bfb57da93b Implement project writer for SDK style projects 5 years ago
dymanoid fdef5d11c6 Rearrange project writing logic 5 years ago
dymanoid b492a20442 Move assembly resolution logic to better place 5 years ago
dymanoid a952cda502 Create dedicated namespace for project decompiler 5 years ago
dymanoid 48be6267f3 Replace tuples with value tuples 5 years ago
Siegfried Pammer a49577ce2d Fix #2020: Mark Modifier Letter (Lm category) characters as printable 5 years ago
Siegfried Pammer 30c8a22ded Fix #1765: Add another pattern of FSM initialization to ReadCodeMappingInfo 5 years ago
Siegfried Pammer d27c0226b4 Fix #2010: NullReferenceException in SequencePointBuilder.VisitCatchClause() 5 years ago
Siegfried Pammer 4f7ca65408 Fix #1913: Make sure to declare local variables captured by local functions before the first invocation of the local function. 5 years ago
Siegfried Pammer 0df7e1e4a5 Fix #1999: Compiler generated variables with weird names; by supporting a newer naming-convention used by mcs for anonymous delegates: See c2795c9cb5/mcs/mcs/delegate.cs (L808) 5 years ago
Siegfried Pammer 2f51f31257 PDBGen: avoid assertion failure, if there are instructions that are not supported in C# (e.g. calli) 5 years ago
Siegfried Pammer 794be9a5b4 Fix SequencePointBuilder.VisitCatchClause: do not create a sequence point from the catch-token to the closing brace. 5 years ago
Siegfried Pammer 6382f8c41d Fix #1990: Empty default ctor with XML comment discarded from decompilation 5 years ago
Daniel Grunwald b7754cdf5c Workaround dotnet/roslyn#43659 in decompiled code. 5 years ago
Daniel Grunwald cd04e80f5e Use IsKnownType() when checking for System.Object 5 years ago
Siegfried Pammer 60e9c204cc Fix #1940: Make sure that we use the correct .NET Core version, when there are multiple frameworks loaded in the current assembly list. 5 years ago
Daniel Grunwald 0dd75d6852 Add support for slicing using C# 8 ranges. 5 years ago
Daniel Grunwald aed358b5a0 Use more precise ResolveResult, so that Range/Index operators are hyperlinked. 5 years ago
Daniel Grunwald 12226c5f90 Add support for indexing a container with a System.Index instance. 5 years ago
Daniel Grunwald 748c54a1c1 Support array slicing. 5 years ago
Daniel Grunwald dc6e094a30 Add support for indexing arrays using System.Index 5 years ago
Daniel Grunwald 4846feb640 Add support for C# 8 range syntax. 5 years ago
Siegfried Pammer 24810cb2e8
use ILInstruction.StartILOffset instead of ILRanges.First().Start 5 years ago
Siegfried Pammer 8925b4ff7b Inline variable declarations/modernize parts of our code base. 5 years ago
Siegfried Pammer d09190533a Fix #1980: IndexOutOfRangeException when choose `IL with C#` with System.Runtime.CompilerServices.Unsafe.Copy/InitBlock 5 years ago
Siegfried Pammer 4db41f69db Fix #1919: Use unmapped IL offsets at the start of a catch-block for the 'exception specifier' sequence point. 5 years ago
Siegfried Pammer ba5c645257 Add TryCatchHandler annotation to CatchClause 5 years ago
Siegfried Pammer e029266d40 Fix tokens used for catch-when clause. 5 years ago
Jackson Davis 6ab1f98fa3 Expand the range of sequence points out the closest empty ilstack 5 years ago
Daniel Grunwald ff40fbd984 Fix #1958: Emit ProjectTypeGuids when generating .csproj 5 years ago
Daniel Grunwald fb5ab19bfd SolutionCreator: Store project type GUID in .sln 5 years ago
Daniel Grunwald 0cf50aa827 Fix #1959: Resolve the "F(G<A,B>(7));" grammar ambiguity by inserting parentheses when necessary. 5 years ago
Siegfried Pammer e748e71b56 Implement workaround for #1961 5 years ago
Siegfried Pammer 7c7328df32 Fix #1955: struct 'base' access to ValueType mis-decompiles 5 years ago
Siegfried Pammer 7d1d7b2563 Fix EndLocation of double-typed PrimitiveExpression 5 years ago
Siegfried Pammer c2a2cf43f2 Fix #1482: SequencePointBuilder fails with an assertion when trying to create sequence points for LINQ expressions 5 years ago
Siegfried Pammer 95beaddc80 IntroduceQueryExpressions: Inline variable declarations and use pattern matching syntax where possible. 5 years ago
Siegfried Pammer 69cad7527e Fix #1945, fix #1851: NRE when generating sequence points for a method containing a stackalloc expression. 5 years ago