Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 64 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,67 @@ tab_width = 4
[*.{xml,csproj}]
indent_style = space
indent_size = 2

# From https://docs.microsoft.com/en-us/visualstudio/ide/editorconfig-code-style-settings-reference
# and https://github.com/dotnet/roslyn/blob/master/src/Workspaces/CSharp/Portable/Formatting/CSharpFormattingOptions.cs
[*.cs]
dotnet_style_qualification_for_field = true:warning
dotnet_style_qualification_for_property = true:warning
dotnet_style_qualification_for_method = true:warning
dotnet_style_qualification_for_event = true:warning
dotnet_style_predefined_type_for_locals_parameters_members = true:warning
dotnet_style_predefined_type_for_member_access = false:warning
dotnet_style_object_initializer = true:suggestion
dotnet_style_collection_initializer = true:suggestion
dotnet_style_explicit_tuple_names = true:suggestion
dotnet_style_coalesce_expression = true:warning
csharp_style_var_for_built_in_types = true:suggestion
csharp_style_var_when_type_is_apparent = true:suggestion
csharp_style_var_elsewhere = true:suggestion
dotnet_sort_system_directives_first = true
csharp_space_between_method_declaration_name_and_open_parenthesis = false
csharp_space_between_method_declaration_parameter_list_parentheses = true
csharp_space_between_method_declaration_empty_parameter_list_parentheses = false
csharp_space_between_method_call_name_and_opening_parenthesis = false
csharp_space_between_method_call_parameter_list_parentheses = true
csharp_space_between_method_call_empty_parameter_list_parentheses = false
csharp_space_between_parentheses = expressions,type_casts,control_flow_statements
csharp_space_after_keywords_in_control_flow_statements = true
csharp_space_after_cast = false
csharp_space_around_declaration_statements = true
csharp_space_before_open_square_brackets = false
csharp_space_between_empty_square_brackets = false
csharp_space_between_square_brackets = true
csharp_space_after_colon_in_inheritance_clause = true
csharp_space_after_comma = true
csharp_space_after_dot = false
csharp_space_after_semicolon_in_for_statement = true
csharp_space_before_colon_in_inheritance_clause = true
csharp_space_before_comma = false
csharp_space_before_dot = false
csharp_space_before_semicolon_in_for_statement = false
csharp_space_around_binary_operators = true
csharp_indent_braces = false
csharp_indent_block_contents = true
csharp_indent_switch_labels = true
csharp_indent_case_contents = false
csharp_indent_labels = false
csharp_preserve_single_line_blocks = true
csharp_preserve_single_line_statements = true
csharp_new_line_before_open_brace = all
csharp_new_line_between_query_expression_clauses = true

# Disabled for Unity compatibility until 2017.1 RTM
[*.cs]
dotnet_style_null_propagation = false:warning
csharp_style_expression_bodied_methods = false:warning
csharp_style_expression_bodied_constructors = false:warning
csharp_style_expression_bodied_operators = false:warning
csharp_style_expression_bodied_properties = false:warning
csharp_style_expression_bodied_indexers = false:warning
csharp_style_expression_bodied_accessors = false:warning
csharp_style_pattern_matching_over_is_with_cast_check = false:warning
csharp_style_pattern_matching_over_as_with_null_check = false:warning
csharp_style_inlined_variable_declaration = false:warning
csharp_style_throw_expression = false:warning
csharp_style_conditional_delegate_call = false:warning
84 changes: 43 additions & 41 deletions MsgPack.Windows.sln
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".NET Standard", ".NET Stand
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MsgPack.Uwp", "src\MsgPack.Uwp\MsgPack.Uwp.csproj", "{9D65A105-FB03-40DB-9185-8C695B8EE8D6}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NetStandardProjectBuilder", "src\netstandard\build\NetStandardProjectBuilder.csproj", "{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MsgPack.UnitTest.Uwp", "test\MsgPack.UnitTest.Uwp\MsgPack.UnitTest.Uwp.csproj", "{0F930636-458B-401F-9EAF-F4F05E93BCC9}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MsgPack.UnitTest.Uwp.Aot", "test\MsgPack.UnitTest.Uwp.Aot\MsgPack.UnitTest.Uwp.Aot.csproj", "{E4CA9866-6234-49D4-8CDF-1F3A21EFD138}"
Expand All @@ -64,6 +62,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunitlite-sl-5.0", "test\NU
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MsgPack.UnitTest.Silverlight.5.FullTrust", "test\MsgPack.UnitTest.Silverlight.5.FullTrust\MsgPack.UnitTest.Silverlight.5.FullTrust.csproj", "{26A3F930-FDAF-4886-9111-D326A6F68E82}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NetStandardProjectBuilder", "src\netstandard\build\NetStandardProjectBuilder.csproj", "{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
CodeAnalysis|Any CPU = CodeAnalysis|Any CPU
Expand Down Expand Up @@ -390,44 +390,6 @@ Global
{9D65A105-FB03-40DB-9185-8C695B8EE8D6}.Release|x64.Build.0 = Release|x64
{9D65A105-FB03-40DB-9185-8C695B8EE8D6}.Release|x86.ActiveCfg = Release|x86
{9D65A105-FB03-40DB-9185-8C695B8EE8D6}.Release|x86.Build.0 = Release|x86
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.CodeAnalysis|Any CPU.ActiveCfg = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.CodeAnalysis|Any CPU.Build.0 = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.CodeAnalysis|ARM.ActiveCfg = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.CodeAnalysis|ARM.Build.0 = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.CodeAnalysis|Mixed Platforms.ActiveCfg = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.CodeAnalysis|x64.ActiveCfg = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.CodeAnalysis|x64.Build.0 = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.CodeAnalysis|x86.ActiveCfg = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.CodeAnalysis|x86.Build.0 = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.Debug|ARM.ActiveCfg = Debug|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.Debug|ARM.Build.0 = Debug|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.Debug|x64.ActiveCfg = Debug|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.Debug|x64.Build.0 = Debug|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.Debug|x86.ActiveCfg = Debug|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.Debug|x86.Build.0 = Debug|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.PerformanceTest|Any CPU.ActiveCfg = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.PerformanceTest|Any CPU.Build.0 = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.PerformanceTest|ARM.ActiveCfg = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.PerformanceTest|ARM.Build.0 = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.PerformanceTest|Mixed Platforms.ActiveCfg = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.PerformanceTest|Mixed Platforms.Build.0 = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.PerformanceTest|x64.ActiveCfg = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.PerformanceTest|x64.Build.0 = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.PerformanceTest|x86.ActiveCfg = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.PerformanceTest|x86.Build.0 = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.Release|Any CPU.Build.0 = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.Release|ARM.ActiveCfg = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.Release|ARM.Build.0 = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.Release|x64.ActiveCfg = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.Release|x64.Build.0 = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.Release|x86.ActiveCfg = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.Release|x86.Build.0 = Release|Any CPU
{0F930636-458B-401F-9EAF-F4F05E93BCC9}.CodeAnalysis|Any CPU.ActiveCfg = Release|x64
{0F930636-458B-401F-9EAF-F4F05E93BCC9}.CodeAnalysis|Any CPU.Build.0 = Release|x64
{0F930636-458B-401F-9EAF-F4F05E93BCC9}.CodeAnalysis|Any CPU.Deploy.0 = Release|x64
Expand Down Expand Up @@ -688,6 +650,46 @@ Global
{26A3F930-FDAF-4886-9111-D326A6F68E82}.Release|x64.Build.0 = Release|Any CPU
{26A3F930-FDAF-4886-9111-D326A6F68E82}.Release|x86.ActiveCfg = Release|Any CPU
{26A3F930-FDAF-4886-9111-D326A6F68E82}.Release|x86.Build.0 = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.CodeAnalysis|Any CPU.ActiveCfg = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.CodeAnalysis|Any CPU.Build.0 = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.CodeAnalysis|ARM.ActiveCfg = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.CodeAnalysis|ARM.Build.0 = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.CodeAnalysis|Mixed Platforms.ActiveCfg = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.CodeAnalysis|Mixed Platforms.Build.0 = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.CodeAnalysis|x64.ActiveCfg = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.CodeAnalysis|x64.Build.0 = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.CodeAnalysis|x86.ActiveCfg = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.CodeAnalysis|x86.Build.0 = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.Debug|ARM.ActiveCfg = Debug|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.Debug|ARM.Build.0 = Debug|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.Debug|x64.ActiveCfg = Debug|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.Debug|x64.Build.0 = Debug|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.Debug|x86.ActiveCfg = Debug|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.Debug|x86.Build.0 = Debug|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.PerformanceTest|Any CPU.ActiveCfg = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.PerformanceTest|Any CPU.Build.0 = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.PerformanceTest|ARM.ActiveCfg = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.PerformanceTest|ARM.Build.0 = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.PerformanceTest|Mixed Platforms.ActiveCfg = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.PerformanceTest|Mixed Platforms.Build.0 = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.PerformanceTest|x64.ActiveCfg = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.PerformanceTest|x64.Build.0 = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.PerformanceTest|x86.ActiveCfg = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.PerformanceTest|x86.Build.0 = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.Release|Any CPU.Build.0 = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.Release|ARM.ActiveCfg = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.Release|ARM.Build.0 = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.Release|x64.ActiveCfg = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.Release|x64.Build.0 = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.Release|x86.ActiveCfg = Release|Any CPU
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand All @@ -709,12 +711,12 @@ Global
{09C98E72-44F7-4469-B82A-DFA3053652E6} = {87A17015-9338-431E-B338-57BDA03984C1}
{BFCE0B36-F21B-4EB1-919E-C486E70C8BEA} = {1BD5D488-707E-4030-8AE8-80D93D04963F}
{9D65A105-FB03-40DB-9185-8C695B8EE8D6} = {086116A9-EC42-45C1-B359-7AFB9A488556}
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09} = {BFCE0B36-F21B-4EB1-919E-C486E70C8BEA}
{0F930636-458B-401F-9EAF-F4F05E93BCC9} = {7D06945C-638C-4973-B0B6-D0D667FA318F}
{E4CA9866-6234-49D4-8CDF-1F3A21EFD138} = {09C98E72-44F7-4469-B82A-DFA3053652E6}
{17D0F223-E156-42CF-ACA8-815733FE094F} = {9600C37E-439F-43D7-9D12-3AB0BEF7D906}
{3DEB15F9-E7DA-403F-B6D3-A8499310397F} = {9600C37E-439F-43D7-9D12-3AB0BEF7D906}
{0A5F920A-1BF5-4DAC-B799-0C618B203797} = {9600C37E-439F-43D7-9D12-3AB0BEF7D906}
{26A3F930-FDAF-4886-9111-D326A6F68E82} = {9600C37E-439F-43D7-9D12-3AB0BEF7D906}
{A1B322FC-AA39-4894-AFA8-AB427A3FBA09} = {BFCE0B36-F21B-4EB1-919E-C486E70C8BEA}
EndGlobalSection
EndGlobal
Loading