Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/ikvm-fork.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjfrijters <jfrijters>2011-12-05 15:31:08 +0400
committerjfrijters <jfrijters>2011-12-05 15:31:08 +0400
commita12bb56a416d490d66fc777a42a5029dc1c1563e (patch)
tree31f2344840b68ef2718246bee300f1071fd77a5a /reflect/Writer
parent1329badf2f10a9819841c1a59f5f3ccc435ef3ea (diff)
AssemblyCultureAttribute should not influence the LCID of the version info resource.
Diffstat (limited to 'reflect/Writer')
-rw-r--r--reflect/Writer/VersionInfo.cs9
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;