Created
August 13, 2022 08:44
-
-
Save nenoNaninu/a894d15cd7cdf56ebb810f0c9ee64c53 to your computer and use it in GitHub Desktop.
formatter_does_not_work.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Globalization; | |
public class C1 | |
{ | |
public int Value { get; init; } | |
} | |
class C2 | |
{ | |
private readonly C1 _instance = new C1() | |
{ | |
Value = int.Parse("99", CultureInfo.InvariantCulture), | |
}; | |
private readonly C1[] _array = new[] | |
{ | |
new C1() | |
{ | |
// .editorconfig の csharp_space_after_comma = true が効いてない。。。 | |
Value = int.Parse("99",CultureInfo.InvariantCulture), | |
} | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment