Skip to content

Commit 3705d5d

Browse files
author
Dick Baker
committed
recommit
1 parent 1b67e72 commit 3705d5d

File tree

185 files changed

+7135
-8142
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

185 files changed

+7135
-8142
lines changed

snippets/.editorconfig

+9
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ dotnet_style_prefer_conditional_expression_over_return = true:refactoring
7474

7575
# Analyzers
7676
dotnet_code_quality.ca1802.api_surface = private, internal
77+
dotnet_style_operator_placement_when_wrapping = end_of_line
78+
tab_width = 4
79+
end_of_line = crlf
80+
dotnet_style_require_accessibility_modifiers = omit_if_default:silent
7781

7882
# C# files
7983
[*.cs]
@@ -161,6 +165,11 @@ csharp_space_between_square_brackets = false
161165
csharp_style_var_for_built_in_types = false:suggestion
162166
csharp_style_var_when_type_is_apparent = false:none
163167
csharp_style_var_elsewhere = false:suggestion
168+
csharp_style_namespace_declarations = file_scoped:silent
169+
csharp_style_prefer_method_group_conversion = true:silent
170+
csharp_style_prefer_top_level_statements = true:silent
171+
csharp_style_prefer_primary_constructors = true:suggestion
172+
csharp_prefer_system_threading_lock = true:suggestion
164173

165174
# Visual Basic files
166175
[*.vb]

snippets/csharp/System.ComponentModel/AmbientValueAttribute/Overview/Project.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Library</OutputType>
5-
<TargetFramework>net6.0-windows</TargetFramework>
5+
<TargetFramework>net8.0-windows</TargetFramework>
66
<UseWindowsForms>true</UseWindowsForms>
77
</PropertyGroup>
88

0 commit comments

Comments
 (0)