You've already forked linux-packaging-mono
Imported Upstream version 4.6.0.125
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
This commit is contained in:
parent
a569aebcfd
commit
e79aa3c0ed
28
external/ikvm/reflect/Module.cs
vendored
28
external/ikvm/reflect/Module.cs
vendored
@@ -156,6 +156,14 @@ namespace IKVM.Reflection
|
||||
internal readonly GenericParamTable GenericParam = new GenericParamTable();
|
||||
internal readonly MethodSpecTable MethodSpec = new MethodSpecTable();
|
||||
internal readonly GenericParamConstraintTable GenericParamConstraint = new GenericParamConstraintTable();
|
||||
internal readonly DocumentTable Document = new DocumentTable();
|
||||
internal readonly MethodDebugInformationTable MethodDebugInformation = new MethodDebugInformationTable();
|
||||
internal readonly LocalScopeTable LocalScope = new LocalScopeTable();
|
||||
internal readonly LocalVariableTable LocalVariable = new LocalVariableTable();
|
||||
internal readonly LocalConstantTable LocalConstant = new LocalConstantTable();
|
||||
internal readonly ImportScopeTable ImportScope = new ImportScopeTable();
|
||||
internal readonly StateMachineTable StateMachine = new StateMachineTable();
|
||||
internal readonly CustomDebugInformationTable CustomDebugInformation = new CustomDebugInformationTable();
|
||||
|
||||
protected Module(Universe universe)
|
||||
{
|
||||
@@ -204,6 +212,14 @@ namespace IKVM.Reflection
|
||||
tables[GenericParamTable.Index] = GenericParam;
|
||||
tables[MethodSpecTable.Index] = MethodSpec;
|
||||
tables[GenericParamConstraintTable.Index] = GenericParamConstraint;
|
||||
tables[DocumentTable.Index] = Document;
|
||||
tables[MethodDebugInformationTable.Index] = MethodDebugInformation;
|
||||
tables[LocalScopeTable.Index] = LocalScope;
|
||||
tables[LocalVariableTable.Index] = LocalVariable;
|
||||
tables[LocalConstantTable.Index] = LocalConstant;
|
||||
tables[ImportScopeTable.Index] = ImportScope;
|
||||
tables[StateMachineTable.Index] = StateMachine;
|
||||
tables[CustomDebugInformationTable.Index] = CustomDebugInformation;
|
||||
return tables;
|
||||
}
|
||||
|
||||
@@ -552,6 +568,11 @@ namespace IKVM.Reflection
|
||||
get { throw new NotSupportedException(); }
|
||||
}
|
||||
|
||||
public virtual bool __IsMetadataOnly
|
||||
{
|
||||
get { throw new NotSupportedException(); }
|
||||
}
|
||||
|
||||
public IEnumerable<CustomAttributeData> __EnumerateCustomAttributeTable()
|
||||
{
|
||||
List<CustomAttributeData> list = new List<CustomAttributeData>(CustomAttribute.RowCount);
|
||||
@@ -594,6 +615,8 @@ namespace IKVM.Reflection
|
||||
|
||||
internal abstract ByteReader GetBlob(int blobIndex);
|
||||
|
||||
internal abstract Guid GetGuid(int guidIndex);
|
||||
|
||||
internal IList<CustomAttributeData> GetDeclarativeSecurity(int metadataToken)
|
||||
{
|
||||
List<CustomAttributeData> list = new List<CustomAttributeData>();
|
||||
@@ -650,6 +673,11 @@ namespace IKVM.Reflection
|
||||
throw InvalidOperationException();
|
||||
}
|
||||
|
||||
internal sealed override Guid GetGuid(int guidIndex)
|
||||
{
|
||||
throw InvalidOperationException();
|
||||
}
|
||||
|
||||
public sealed override AssemblyName[] __GetReferencedAssemblies()
|
||||
{
|
||||
throw NotSupportedException();
|
||||
|
||||
Reference in New Issue
Block a user