Skip to content

Instantly share code, notes, and snippets.

@nenoNaninu
Created August 13, 2022 08:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nenoNaninu/a894d15cd7cdf56ebb810f0c9ee64c53 to your computer and use it in GitHub Desktop.
Save nenoNaninu/a894d15cd7cdf56ebb810f0c9ee64c53 to your computer and use it in GitHub Desktop.
formatter_does_not_work.cs
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