diff --git a/ILSpy/Properties/Resources.Designer.cs b/ILSpy/Properties/Resources.Designer.cs index d31af0b12..285319bdd 100644 --- a/ILSpy/Properties/Resources.Designer.cs +++ b/ILSpy/Properties/Resources.Designer.cs @@ -1514,6 +1514,15 @@ namespace ICSharpCode.ILSpy.Properties { } } + /// + /// Looks up a localized string similar to Use new T() instead of Activator.CreateInstance<T>. + /// + public static string DecompilerSettings_UseObjectCreationOfGenericTypeParameter { + get { + return ResourceManager.GetString("DecompilerSettings.UseObjectCreationOfGenericTypeParameter", resourceCulture); + } + } + /// /// Looks up a localized string similar to Use out variable declarations. /// diff --git a/ILSpy/Properties/Resources.resx b/ILSpy/Properties/Resources.resx index 840c92fb1..f53e0ca4f 100644 --- a/ILSpy/Properties/Resources.resx +++ b/ILSpy/Properties/Resources.resx @@ -525,6 +525,9 @@ Are you sure you want to continue? Use non-trailing named arguments + + Use new T() instead of Activator.CreateInstance<T> + Use out variable declarations diff --git a/ILSpy/Properties/Resources.zh-Hans.resx b/ILSpy/Properties/Resources.zh-Hans.resx index 3973a4805..471a79dad 100644 --- a/ILSpy/Properties/Resources.zh-Hans.resx +++ b/ILSpy/Properties/Resources.zh-Hans.resx @@ -492,6 +492,9 @@ 使用非尾随命名参数 + + + 使用 out 变量声明