This commit is contained in:
jfrijters 2009-11-06 07:46:39 +00:00
Родитель 95cdfd8edd
Коммит 6dccbf20d5
2 изменённых файлов: 0 добавлений и 70 удалений

Просмотреть файл

@ -227,15 +227,6 @@ namespace IKVM.Internal
ilgen_real.BeginCatchBlock(exceptionType);
}
internal void BeginExceptFilterBlock()
{
LazyGen();
#if !IKVM_REF_EMIT
offset += 5;
#endif
ilgen_real.BeginExceptFilterBlock();
}
internal Label BeginExceptionBlock()
{
LazyGen();
@ -475,16 +466,6 @@ namespace IKVM.Internal
ilgen_real.Emit(opcode, arg);
}
internal void Emit(OpCode opcode, SignatureHelper signature)
{
LazyGen();
#if !IKVM_REF_EMIT
offset += opcode.Size;
#endif
ilgen_real.Emit(opcode, signature);
throw new NotImplementedException();
}
internal void Emit(OpCode opcode, float arg)
{
LazyGen();
@ -512,16 +493,6 @@ namespace IKVM.Internal
ilgen_real.Emit(opcode, cls);
}
internal void EmitCall(OpCode opcode, MethodInfo methodInfo, Type[] optionalParameterTypes)
{
LazyGen();
#if !IKVM_REF_EMIT
offset += opcode.Size;
#endif
ilgen_real.EmitCall(opcode, methodInfo, optionalParameterTypes);
throw new NotImplementedException();
}
internal void EmitCalli(OpCode opcode, CallingConvention unmanagedCallConv, Type returnType, Type[] parameterTypes)
{
LazyGen();
@ -531,29 +502,6 @@ namespace IKVM.Internal
ilgen_real.EmitCalli(opcode, unmanagedCallConv, returnType, parameterTypes);
}
internal void EmitCalli(OpCode opcode, CallingConventions callingConvention, Type returnType, Type[] parameterTypes, Type[] optionalParameterTypes)
{
LazyGen();
#if !IKVM_REF_EMIT
offset += 5;
#endif
ilgen_real.EmitCalli(opcode, callingConvention, returnType, parameterTypes, optionalParameterTypes);
}
internal void EmitWriteLine(FieldInfo fld)
{
LazyGen();
ilgen_real.EmitWriteLine(fld);
throw new NotImplementedException();
}
internal void EmitWriteLine(LocalBuilder localBuilder)
{
LazyGen();
ilgen_real.EmitWriteLine(localBuilder);
throw new NotImplementedException();
}
internal void EmitWriteLine(string value)
{
LazyGen();
@ -625,12 +573,6 @@ namespace IKVM.Internal
ilgen_real.ThrowException(excType);
}
internal void UsingNamespace(string usingNamespace)
{
LazyGen();
ilgen_real.UsingNamespace(usingNamespace);
}
#if STATIC_COMPILER
internal void SetLineNumber(ushort line)
{

Просмотреть файл

@ -179,18 +179,6 @@ namespace IKVM.Internal
}
}
internal static Attribute InstantiatePseudoCustomAttribute(ClassLoaderWrapper loader, IKVM.Internal.MapXml.Attribute attr)
{
Type t = StaticCompiler.GetType(attr.Type);
Type[] argTypes;
object[] args;
GetAttributeArgsAndTypes(loader, attr, out argTypes, out args);
ConstructorInfo ci = t.GetConstructor(argTypes);
Attribute attrib = ci.Invoke(args) as Attribute;
SetPropertiesAndFields(loader, attrib, attr);
return attrib;
}
private static bool IsDeclarativeSecurityAttribute(ClassLoaderWrapper loader, IKVM.Internal.MapXml.Attribute attr, out SecurityAction action, out PermissionSet pset)
{
action = SecurityAction.Demand;