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

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGert Driesen <drieseng@users.sourceforge.net>2008-01-01 16:37:53 +0300
committerGert Driesen <drieseng@users.sourceforge.net>2008-01-01 16:37:53 +0300
commite102f0735d9aadc88555e0bff328dad84813f3fb (patch)
treee6e46d96ce54918dab75029e7272d439d037ce35 /mcs/tests/test-607.cs
parent25ed046946b119b5887a5919cc42e57f2df17d40 (diff)
* codegen.cs: Allow AssemblyVersion with only major version component.
Fixes bug #351055. * test-607.cs: test for bug #351055. svn path=/trunk/mcs/; revision=92090
Diffstat (limited to 'mcs/tests/test-607.cs')
-rw-r--r--mcs/tests/test-607.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/mcs/tests/test-607.cs b/mcs/tests/test-607.cs
new file mode 100644
index 00000000000..373041f8cb9
--- /dev/null
+++ b/mcs/tests/test-607.cs
@@ -0,0 +1,15 @@
+using System;
+using System.Reflection;
+
+[assembly: AssemblyVersion ("7")]
+
+class Program
+{
+ static int Main ()
+ {
+ Assembly a = Assembly.GetExecutingAssembly ();
+ if (a.GetName ().Version != new Version (7, 0, 0, 0))
+ return 1;
+ return 0;
+ }
+}