Skip to content

Commit 906b612

Browse files
committed
.NET 9 compilation
1 parent cf4f299 commit 906b612

Some content is hidden

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

58 files changed

+75
-90
lines changed

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion
5151
dotnet_style_prefer_auto_properties = true:silent
5252
dotnet_style_prefer_conditional_expression_over_assignment = true:silent
5353
dotnet_style_prefer_conditional_expression_over_return = true:silent
54+
dotnet_style_namespace_match_folder = true:silent
5455
###############################
5556
# Naming Conventions #
5657
###############################
@@ -92,6 +93,8 @@ csharp_style_deconstructed_variable_declaration = true:suggestion
9293
csharp_prefer_simple_default_expression = true:suggestion
9394
csharp_style_pattern_local_over_anonymous_function = true:suggestion
9495
csharp_style_inlined_variable_declaration = true:suggestion
96+
csharp_style_namespace_declarations = file_scoped
97+
csharp_style_prefer_primary_constructors= false:silent
9598
###############################
9699
# C# Formatting Rules #
97100
###############################

codehelp/CodeHelpers.Test/LogGenerator/LogGeneratorTest.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
namespace CodeHelpers.Test.LogGenerator;
22

33
using System.Text;
4-
using Microsoft.CodeAnalysis;
54
using Microsoft.CodeAnalysis.CSharp.Testing;
65
using Microsoft.CodeAnalysis.Testing;
76
using Microsoft.CodeAnalysis.Text;

codehelp/CodeHelpers.Test/LogGenerator/LogGeneratorTestVb.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
namespace CodeHelpers.Test.LogGenerator;
22

33
using System.Text;
4-
using Microsoft.CodeAnalysis;
54
using Microsoft.CodeAnalysis.Testing;
65
using Microsoft.CodeAnalysis.Text;
76
using Microsoft.CodeAnalysis.VisualBasic.Testing;

codehelp/CodeHelpers/IndentedStringBuilder.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System.Text;
2-
using Microsoft.CodeAnalysis;
32

43
namespace WPILib.CodeHelpers;
54

codehelp/CodeHelpers/LogGenerator/LogAttributeInfo.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using System.Text;
33
using Microsoft.CodeAnalysis;
44
using Microsoft.CodeAnalysis.CSharp;
5-
using Microsoft.CodeAnalysis.PooledObjects;
65
using Stereologue;
76

87
namespace WPILib.CodeHelpers.LogGenerator;

codehelp/CodeHelpers/LogGenerator/LoggableType.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
using Microsoft.CodeAnalysis.Diagnostics;
55
using Microsoft.CodeAnalysis.Text;
66
using WPILib.CodeHelpers.LogGenerator.Analyzer;
7-
using static WPILib.CodeHelpers.IndentedStringBuilder;
87

98
namespace WPILib.CodeHelpers.LogGenerator;
109

codehelp/CodeHelpers/LogGenerator/SourceGenerator/LogGeneratorVb.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using Microsoft.CodeAnalysis;
2-
using Microsoft.CodeAnalysis.CSharp.Syntax;
32
using Microsoft.CodeAnalysis.VisualBasic.Syntax;
43

54
namespace WPILib.CodeHelpers.LogGenerator.SourceGenerator;

codehelp/CodeHelpers/ParameterlessStructs/Analyzer/ParameterlessStructDiagnostics.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ namespace WPILib.CodeHelpers.ParameterlessStructs.Analyzer;
33
#pragma warning disable RS2008 // Enable analyzer release tracking
44

55
using Microsoft.CodeAnalysis;
6-
using Microsoft.CodeAnalysis.Diagnostics;
7-
using WPILib.CodeHelpers;
86

97
public static class ParameterlessStructDiagnostics
108
{

codehelp/CodeHelpers/SymbolExtensions.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using Microsoft.CodeAnalysis;
2-
using Microsoft.CodeAnalysis.CSharp.Syntax;
32

43
namespace WPILib.CodeHelpers;
54

codehelp/CodeHelpers/TypeDeclarationModel.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System.Collections.Immutable;
2-
using System.Text;
32
using Microsoft.CodeAnalysis;
43

54
namespace WPILib.CodeHelpers;

0 commit comments

Comments
 (0)