PetSerAl
PetSerAl
This [test](https://github.com/PowerShell/PowerShell-Tests/blob/83ec2c1204f33093c5589404483db578e5132f3b/engine/Other/Pester.Engine.Other.InformationStream.Tests.ps1#L16) have two issues: - If you want to use `$InformationPreference` variable, then you should not use `-InformationAction` parameter. - The value `Ignore` is not supported for an `ActionPreference`...
**Input:** ```csharp string.Join(' ', (int[])[000000000000000000000000000000, 000000000000000000000000000000, .. Enumerable.Empty()]); ``` **Output:** ```csharp string.Join( ' ', (int[]) [ 000000000000000000000000000000, 000000000000000000000000000000, .. Enumerable.Empty(), ] ); ``` **Expected behavior:** ```csharp string.Join( ' ', (int[])...
### Is your feature request related to a problem? Please describe. Avalonia template include conditional package `Avalonia.Diagnostics` with `Condition` attribute directly on `PackageReference` element. https://github.com/AvaloniaUI/avalonia-dotnet-templates/blob/43c5d489827688e412c98722ba1963039c66e9a5/templates/csharp/app/AvaloniaAppTemplate.csproj#L18-L19 Such approach is not friendly...
When file renamed and modified, it is shown on detailed pane for commit. But when you open commit diff or file diff it show empty result for that file. "View...
To think more about #1562. I think it should have been resolved in different direction (removing indentation in non-parenthesis case). Because it stand out as inconsistent with outer operators and...
### Input code ```csharp using System; static class Program { static void Main() => Test(true ? null : new { A = 1, B = 2 }); static void Test(T...
Installation with `--extract-only true` command-line switch does not create uninstaller, but still create uninstall registry key `HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\PostgreSQL 17` with two properties `DisplayVersion` and `MinorVersion`.
### Reproduce ```csharp #:package [email protected] using System; using System.CommandLine; using System.CommandLine.Parsing; using System.Linq; Func takeTwo = r => { r.OnlyTake(2); return r.Tokens.Select(t => t.Value).ToArray(); }; RootCommand root = new() {...
`Argument.Arity` modify internal state on first get access: https://github.com/dotnet/command-line-api/blob/7a5ab9e32c4a8a66b925b9380408a6847e3fd098/src/System.CommandLine/Argument.cs#L35-L43 This behavior can be problematic with debugger. As debugger display value for property it would be fixed with possibly incorrect value....
**Describe the bug** `ModernDependencyResolver` instantiate every registered transient service when disposed. **Steps To Reproduce** ```csharp #:package [email protected] using System; using Splat; ModernDependencyResolver resolver = new(); resolver.Register(); resolver.Register(); resolver.Register(); resolver.Register(); resolver.GetService();...