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/ilasm/codegen/DataDef.cs')
-rw-r--r--mcs/ilasm/codegen/DataDef.cs40
1 files changed, 40 insertions, 0 deletions
diff --git a/mcs/ilasm/codegen/DataDef.cs b/mcs/ilasm/codegen/DataDef.cs
new file mode 100644
index 00000000000..ad83cb476b5
--- /dev/null
+++ b/mcs/ilasm/codegen/DataDef.cs
@@ -0,0 +1,40 @@
+//
+// Mono.ILASM.DataDef
+//
+// Author(s):
+// Jackson Harper (Jackson@LatitudeGeo.com)
+//
+// (C) 2003 Jackson Harper, All rights reserved
+//
+
+
+using System;
+
+namespace Mono.ILASM {
+
+ public class DataDef {
+
+ private string name;
+ private bool is_tls;
+
+ private PEAPI.Constant constant;
+
+ public DataDef (string name, bool is_tls)
+ {
+ this.name = name;
+ this.is_tls = is_tls;
+ }
+
+ public PEAPI.Constant PeapiConstant {
+ get { return constant; }
+ set { constant = value; }
+ }
+
+ public string Name {
+ get { return name; }
+ set { name = value; }
+ }
+ }
+
+}
+