From f6e3f1c275f4b9656eef8cf22759c24543fb847f Mon Sep 17 00:00:00 2001 From: David Wengier Date: Mon, 28 Oct 2024 14:10:23 +1100 Subject: [PATCH] Just specify defaults once --- .../src/Language/RazorConfiguration.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Compiler/Microsoft.CodeAnalysis.Razor.Compiler/src/Language/RazorConfiguration.cs b/src/Compiler/Microsoft.CodeAnalysis.Razor.Compiler/src/Language/RazorConfiguration.cs index 94c0e9ae26..4c649de04d 100644 --- a/src/Compiler/Microsoft.CodeAnalysis.Razor.Compiler/src/Language/RazorConfiguration.cs +++ b/src/Compiler/Microsoft.CodeAnalysis.Razor.Compiler/src/Language/RazorConfiguration.cs @@ -19,11 +19,7 @@ public sealed record class RazorConfiguration( public static readonly RazorConfiguration Default = new( RazorLanguageVersion.Latest, ConfigurationName: "unnamed", - Extensions: [], - UseConsolidatedMvcViews: true, - SuppressAddComponentParameter: false, - LanguageServerFlags: null, - UseRoslynTokenizer: false); + Extensions: []); public bool Equals(RazorConfiguration? other) => other is not null &&