Skip to content

Commit 05d30f1

Browse files
Merge pull request #3455 from ds5678/non-record-primary-constructor-ui
Improve UI for primary constructors on non-record types
2 parents 3b83029 + d16bd11 commit 05d30f1

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

ILSpy/Properties/Resources.Designer.cs

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ILSpy/Properties/Resources.resx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -531,6 +531,9 @@ Are you sure you want to continue?</value>
531531
<data name="DecompilerSettings.UsePrimaryConstructorSyntax" xml:space="preserve">
532532
<value>Use primary constructor syntax with records</value>
533533
</data>
534+
<data name="DecompilerSettings.UsePrimaryConstructorSyntaxForNonRecordTypes" xml:space="preserve">
535+
<value>Use primary constructor syntax for non-record types</value>
536+
</data>
534537
<data name="DecompilerSettings.UseRefLocalsForAccurateOrderOfEvaluation" xml:space="preserve">
535538
<value>Use ref locals to accurately represent order of evaluation</value>
536539
</data>

ILSpy/Properties/Resources.zh-Hans.resx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -495,6 +495,9 @@
495495
<data name="DecompilerSettings.UsePrimaryConstructorSyntax" xml:space="preserve">
496496
<value>使用带有记录的主构造器语法</value>
497497
</data>
498+
<data name="DecompilerSettings.UsePrimaryConstructorSyntaxForNonRecordTypes" xml:space="preserve">
499+
<value />
500+
</data>
498501
<data name="DecompilerSettings.UseRefLocalsForAccurateOrderOfEvaluation" xml:space="preserve">
499502
<value>使用 ref 局部变量以准确表达求值顺序</value>
500503
</data>

0 commit comments

Comments
 (0)