Browse Source

Improve UI for primary constructors on non-record types

pull/3455/head
ds5678 3 months ago
parent
commit
d16bd115fc
  1. 9
      ILSpy/Properties/Resources.Designer.cs
  2. 3
      ILSpy/Properties/Resources.resx
  3. 3
      ILSpy/Properties/Resources.zh-Hans.resx

9
ILSpy/Properties/Resources.Designer.cs generated

@ -1543,6 +1543,15 @@ namespace ICSharpCode.ILSpy.Properties { @@ -1543,6 +1543,15 @@ namespace ICSharpCode.ILSpy.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Use primary constructor syntax for non-record types.
/// </summary>
public static string DecompilerSettings_UsePrimaryConstructorSyntaxForNonRecordTypes {
get {
return ResourceManager.GetString("DecompilerSettings.UsePrimaryConstructorSyntaxForNonRecordTypes", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Use ref locals to accurately represent order of evaluation.
/// </summary>

3
ILSpy/Properties/Resources.resx

@ -531,6 +531,9 @@ Are you sure you want to continue?</value> @@ -531,6 +531,9 @@ Are you sure you want to continue?</value>
<data name="DecompilerSettings.UsePrimaryConstructorSyntax" xml:space="preserve">
<value>Use primary constructor syntax with records</value>
</data>
<data name="DecompilerSettings.UsePrimaryConstructorSyntaxForNonRecordTypes" xml:space="preserve">
<value>Use primary constructor syntax for non-record types</value>
</data>
<data name="DecompilerSettings.UseRefLocalsForAccurateOrderOfEvaluation" xml:space="preserve">
<value>Use ref locals to accurately represent order of evaluation</value>
</data>

3
ILSpy/Properties/Resources.zh-Hans.resx

@ -495,6 +495,9 @@ @@ -495,6 +495,9 @@
<data name="DecompilerSettings.UsePrimaryConstructorSyntax" xml:space="preserve">
<value>使用带有记录的主构造器语法</value>
</data>
<data name="DecompilerSettings.UsePrimaryConstructorSyntaxForNonRecordTypes" xml:space="preserve">
<value />
</data>
<data name="DecompilerSettings.UseRefLocalsForAccurateOrderOfEvaluation" xml:space="preserve">
<value>使用 ref 局部变量以准确表达求值顺序</value>
</data>

Loading…
Cancel
Save