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/CodeEntryPointMethod.cs')
-rw-r--r--mcs/class/System/System.CodeDom/CodeEntryPointMethod.cs4
1 files changed, 4 insertions, 0 deletions
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;
+ }
}
}