diff --git a/binding/csharp/.editorconfig b/binding/csharp/.editorconfig new file mode 100644 index 0000000..b53f6cb --- /dev/null +++ b/binding/csharp/.editorconfig @@ -0,0 +1,26 @@ +root = true + +# To learn more about .editorconfig see https://aka.ms/editorconfigdocs +[*] +charset = utf-8 +indent_style = space +trim_trailing_whitespace = true +insert_final_newline = true +spelling_exclusion_path = .\exclusion.dic + +[*.csproj] +charset = utf-8 +insert_final_newline = true + +[*.{xml,config,csproj,nuspec,props,resx,targets,yml,tasks,json}] +indent_size = 2 + +[*.sh] +end_of_line = lf + +[*.cs] +dotnet_analyzer_diagnostic.category-Style.severity = none +csharp_style_namespace_declarations = file_scoped:silent + +[*.cs] +file_header_template = Copyright 2023 The Ip2Region Authors. All rights reserved.\nUse of this source code is governed by a Apache2.0-style\nlicense that can be found in the LICENSE file.\n@Author Alan \n@Date 2023/07/25\nUpdated by Argo Zhang at 2025/11/21 diff --git a/binding/csharp/IP2Region.Net.slnx b/binding/csharp/IP2Region.Net.slnx index 559f5de..1dc947d 100644 --- a/binding/csharp/IP2Region.Net.slnx +++ b/binding/csharp/IP2Region.Net.slnx @@ -1,5 +1,6 @@ +