diff options
author | jfrijters <jfrijters> | 2011-12-05 15:31:08 +0400 |
---|---|---|
committer | jfrijters <jfrijters> | 2011-12-05 15:31:08 +0400 |
commit | a12bb56a416d490d66fc777a42a5029dc1c1563e (patch) | |
tree | 31f2344840b68ef2718246bee300f1071fd77a5a /reflect/Writer | |
parent | 1329badf2f10a9819841c1a59f5f3ccc435ef3ea (diff) |
AssemblyCultureAttribute should not influence the LCID of the version info resource.
Diffstat (limited to 'reflect/Writer')
-rw-r--r-- | reflect/Writer/VersionInfo.cs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/reflect/Writer/VersionInfo.cs b/reflect/Writer/VersionInfo.cs index bfcc00b9..d555cbaa 100644 --- a/reflect/Writer/VersionInfo.cs +++ b/reflect/Writer/VersionInfo.cs @@ -38,7 +38,6 @@ namespace IKVM.Reflection.Writer private string description; private string title; internal string informationalVersion; - private string culture; private string fileVersion; internal void SetName(AssemblyName name) @@ -83,10 +82,6 @@ namespace IKVM.Reflection.Writer { informationalVersion = (string)cab.GetConstructorArgument(0); } - else if (culture == null && type == u.System_Reflection_AssemblyCultureAttribute) - { - culture = (string)cab.GetConstructorArgument(0); - } else if (fileVersion == null && type == u.System_Reflection_AssemblyFileVersionAttribute) { fileVersion = (string)cab.GetConstructorArgument(0); @@ -113,10 +108,6 @@ namespace IKVM.Reflection.Writer { lcid = name.CultureInfo.LCID; } - if (culture != null) - { - lcid = new CultureInfo(culture).LCID; - } Version filever = ParseVersionRobust(fileVersion); int fileVersionMajor = filever.Major; |