Imported Upstream version 5.0.0.42

Former-commit-id: fd56571888259555122d8a0f58c68838229cea2b
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2017-04-10 11:41:01 +00:00
parent 1190d13a04
commit 6bdd276d05
19939 changed files with 3099680 additions and 93811 deletions

View File

@@ -29,7 +29,7 @@ namespace Mono.ILASM {
private PEFile pefile;
private ExternAssembly current_assemblyref;
private ExternModule current_moduleref;
// private ExternModule current_moduleref;
private string current_namespace;
private TypeDef current_typedef;
private MethodDef current_methoddef;
@@ -61,7 +61,6 @@ namespace Mono.ILASM {
private long stack_reserve;
private string output_file;
private string debug_file;
private bool is_dll;
private bool entry_point;
@@ -119,9 +118,9 @@ namespace Mono.ILASM {
get { return current_assemblyref; }
}
public ExternModule CurrentModuleRef {
get { return current_moduleref; }
}
// public ExternModule CurrentModuleRef {
// get { return current_moduleref; }
// }
public ICustomAttrTarget CurrentCustomAttrTarget {
get { return current_customattrtarget; }

View File

@@ -15,14 +15,14 @@ namespace Mono.ILASM {
public class DataDef {
private string name;
private bool is_tls;
private PEAPI.DataSegment segment;
private PEAPI.Constant constant;
public DataDef (string name, bool is_tls)
public DataDef (string name, PEAPI.DataSegment segment)
{
this.name = name;
this.is_tls = is_tls;
this.segment = segment;
}
public PEAPI.Constant PeapiConstant {

View File

@@ -23,7 +23,7 @@ namespace Mono.ILASM {
private PEAPI.NativeType native_type;
private bool offset_set;
private bool datavalue_set;
// private bool datavalue_set;
private bool value_set;
private bool is_resolved;
@@ -40,7 +40,7 @@ namespace Mono.ILASM {
this.type = type;
offset_set = false;
datavalue_set = false;
// datavalue_set = false;
value_set = false;
at_data_id = null;

View File

@@ -19,7 +19,7 @@ namespace Mono.ILASM {
private BaseClassRef class_ref;
private PEAPI.GenericTypeInst p_gen_inst;
private bool is_valuetypeinst;
const bool is_valuetypeinst = false;
private GenericArguments gen_args;
private bool is_added; /* Added to PEFile (to TypeSpec table) ? */
/* Note: Using static hashtable here as GenericTypeInsts is not cached */