589 Commits (fb9ff796da30156c693f76a49f2b34f7f44aa108)

Author SHA1 Message Date
Daniel Grunwald fb9ff796da Fix `stackalloc char[4]` turning to `stackalloc short[4]`. 1 week ago
Siegfried Pammer 2100d53faa Take the span type from the array conversion's return type 1 week ago
Siegfried Pammer 7112ef9521 Restore the params form for a span parameter 2 weeks ago
Siegfried Pammer 5347b03ade Keep the localloc pointer in a stackalloc initializer block 2 weeks ago
Siegfried Pammer 3a3a79e88f Let an array initializer block evaluate to a Span<T> 2 weeks ago
Daniel Grunwald 30552b01f7 Replace a couple of `inst.ResultType -> IType` conversions with `InferType()` calls. 2 weeks ago
Daniel Grunwald 790f4f60ee Second round of fixes. 2 weeks ago
Daniel Grunwald 3f76bd97fa Remove StackType.O; use actually different values for StackType.Obj and StackType.VT. 2 weeks ago
Daniel Grunwald 437d8fe2d2 Remove the value type special case from the expression builder's variable-type-replacement. 2 weeks ago
Daniel Grunwald c4e181505c Prepare for a split of StackType.O into StackType.Obj and StackType.VT: the easy cases 2 weeks ago
Daniel Grunwald 5526400b17 Extend InferType() to every ILInstruction 2 weeks ago
Siegfried Pammer 3e45005ebd Emit params and default values on lambda parameter lists 2 weeks ago
sonyps5201314 d730ec0a20 Handle unresolved value-type call targets 2 weeks ago
Siegfried Pammer 40b90766a1 Infer the C# type of ldlen 2 weeks ago
Siegfried Pammer e423cfb9ca Decide backing-field references by one verdict, not three 2 weeks ago
Siegfried Pammer 8ab3f93f5e Fix #3704: keep the static type of a dynamic call target 3 weeks ago
Daniel Grunwald 5670bfc132 Stack slots holding value types previously nevertheless often had type `object` 3 weeks ago
Daniel Grunwald 5d9cdce94c We need to properly compare the C# type, not just the StackType, otherwise our implicit conversions might end up converting to the wrong type. 3 weeks ago
Daniel Grunwald 1a784e2fa9 Fix `throw switch-expr;` by specifying the typeHint for `throw`. 3 weeks ago
Daniel Grunwald ca24b8f3af Fix #3683: insert casts in switch expression to ensure a best common type exists. 3 weeks ago
Christoph Wille f2b80df148 Look through the box when checking an await's GetAwaiter 4 weeks ago
Daniel Grunwald e530b1c1b6 Avoid `allowImplicitConversion: true` for `await` expressions -- there's no target type that the C# compiler could convert to. 4 weeks ago
Sebastien Lebreton e7bed9c78e Use pattern expression instead 1 month ago
Sebastien Lebreton b1e5163873 Fix #3894: keep lambda parameter typing consistent 1 month ago
Siegfried Pammer 63d03f1b49 Fix #1142: recover enum members for out-of-range constant operands 1 month ago
Christoph Wille e475e26443 Make ThisResolveResult an ILVariableResolveResult of the this parameter 1 month ago
Siegfried Pammer 48fcf0313e Move UsingScope and CSharpTypeResolveContext into the type system 1 month ago
Siegfried Pammer 3da129632e Fix #3624: decompile semi-auto properties with the C# 14 field keyword 1 month ago
Siegfried Pammer 60c08fcb74 Keep 'delegate {}' when a parameter type is inaccessible 1 month ago
Siegfried Pammer 3cc49044ec Extend UseLambdaSyntax to emit statement lambdas 1 month ago
Siegfried Pammer 13c6cc6741 Give an explicit `this` the same resolve result as `base` 1 month ago
Siegfried Pammer f8617a0c3d Print 0m instead of default(decimal) for zero decimal values 1 month ago
Siegfried Pammer 716d7f6a5b Fix #3803: Crash on nested deconstruction of custom structs 1 month ago
Siegfried Pammer 753f1d2481 Fix #1924: don't undo the compiler's &&-to-& optimization 2 months ago
Siegfried Pammer a926ae7e8b Show a hover for the indexer of a dynamic index access 2 months ago
Siegfried Pammer 4f9014fd71 Show the type parameter list on generic dynamic member tooltips 2 months ago
Siegfried Pammer 325494558b Show a hover for the constructor of a dynamic new expression 2 months ago
Siegfried Pammer 1c010a828e Give dynamic member accesses a symbol for hover tooltips 2 months ago
Siegfried Pammer 461df88572 Replace automatic-event backing-field references during translation 2 months ago
Sebastien Lebreton 44cb31abae Fix #3820: decompile dynamic ~ as ~x instead of an unsupported-opcode error 3 months ago
Sebastien Lebreton 1d429d0c2f Fix #3826: wrap an overflowing constant subexpression in unchecked() 3 months ago
Siegfried Pammer 0c23009b3e Fix #3799: keep stackalloc initializer element type when the hint is not a pointer 3 months ago
Siegfried Pammer f5b00ac234 Model optional AST names as nullable; fold [NameSlot] into [Slot] 3 months ago
Siegfried Pammer ed7bfbf85a Guard null-object regressions in lambda body and token decorator 3 months ago
Siegfried Pammer 2ea569b005 Enable nullable reference types across the C# AST consumers 3 months ago
Siegfried Pammer 30f070558f Remove redundant AnonymousMethodExpression.HasParameterList 3 months ago
Siegfried Pammer 1f4fd68b3f Make optional AST slots nullable 3 months ago
Siegfried Pammer 77d57b91dc Drop token nodes and move comments and directives to trivia 3 months ago
Siegfried Pammer 63757ead3b Fix #3382: Support compiler-generated throw-helper invocations in switch-expression implicit default-case. 3 months ago
nikitalita 7d88d43a92 Fix `in` erroneously being applied to `this` 6 months ago