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:
Diffstat (limited to 'mcs/class/System/System.CodeDom')
-rw-r--r--mcs/class/System/System.CodeDom/ChangeLog5
-rw-r--r--mcs/class/System/System.CodeDom/CodeEntryPointMethod.cs4
2 files changed, 9 insertions, 0 deletions
diff --git a/mcs/class/System/System.CodeDom/ChangeLog b/mcs/class/System/System.CodeDom/ChangeLog
index 2c818373f8c..4db765c3319 100644
--- a/mcs/class/System/System.CodeDom/ChangeLog
+++ b/mcs/class/System/System.CodeDom/ChangeLog
@@ -1,3 +1,8 @@
+2004-08-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * CodeEntryPointMethod.cs: patch by Fawad Halim that makes the entry
+ point method public.
+
2004-02-04 Jackson Harper <jackson@ximian.com>
* CodeTypeMember.cs: Name is String.Empty if not set.
diff --git a/mcs/class/System/System.CodeDom/CodeEntryPointMethod.cs b/mcs/class/System/System.CodeDom/CodeEntryPointMethod.cs
index 4b3b477eb7e..5a46d2a2a08 100644
--- a/mcs/class/System/System.CodeDom/CodeEntryPointMethod.cs
+++ b/mcs/class/System/System.CodeDom/CodeEntryPointMethod.cs
@@ -38,5 +38,9 @@ namespace System.CodeDom
public class CodeEntryPointMethod
: CodeMemberMethod
{
+ public CodeEntryPointMethod ()
+ {
+ Attributes = MemberAttributes.Public | MemberAttributes.Static;
+ }
}
}