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:
authorRavi Pratap M <ravi@mono-cvs.ximian.com>2001-11-09 19:52:29 +0300
committerRavi Pratap M <ravi@mono-cvs.ximian.com>2001-11-09 19:52:29 +0300
commitf0eed07f5141f49697f3335a5ad75a884b140fd7 (patch)
tree7f3e71a9d1c09d8239543b9f5590d46a4e88b208 /mcs/tests/test-39.cs
parentf93100c06316b0f435b2d77f48388b0b00bdee29 (diff)
2001-11-09 Ravi Pratap <ravi@ximian.com>
* typemanager.cs (IsEnumType): Implement. * enum.cs (Emit): Re-write parts to account for the underlying type better and perform checking etc. (GetNextDefaultValue): Helper to ensure we don't overshoot max value of the underlying type. * literal.cs (GetValue methods everywhere): Perform bounds checking and return value * enum.cs (error31): Helper to report error #31. * cs-parser.jay (enum_declaration): Store location of each member too. * enum.cs (member_to_location): New hashtable. (AddEnumMember): Update location hashtable. (Emit): Use the location of each member while reporting errors. svn path=/trunk/mcs/; revision=1311
Diffstat (limited to 'mcs/tests/test-39.cs')
-rw-r--r--mcs/tests/test-39.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/mcs/tests/test-39.cs b/mcs/tests/test-39.cs
index 81126c901c3..7c27cafe5c7 100644
--- a/mcs/tests/test-39.cs
+++ b/mcs/tests/test-39.cs
@@ -14,6 +14,7 @@ using System;
[Simple ("Dummy")]
public class Blah {
+ [Simple ("Dummy")]
public static int Main ()
{
Console.WriteLine ("A dummy app which tests attribute emission");