dotgnu-pnet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pnet-developers] back to Emit problems


From: Dmitriy
Subject: [Pnet-developers] back to Emit problems
Date: Tue, 6 Apr 2004 20:31:15 +0600

ilrun a.exe

Uncaught exception: System.EntryPointNotFoundException: Entry point was not
found
        at System.Reflection.ClrConstructor.Invoke(BindingFlags, Binder,
Object[], CultureInfo)
        at System.Reflection.ClrType.InvokeMember(String, BindingFlags,
Binder, Object, Object[], ParameterModifier[], CultureInfo, String[]) in
./System/Reflection/ClrType.cs:854
        at System.Activator.CreateInstance(Type, BindingFlags, Binder,
Object[], CultureInfo, Object[]) in ./System/Activator.cs:130
        at System.Activator.CreateInstance(Type) in ./System/Activator.cs:74
        at TestILGenerator.Main() in Class1.cs:215

string
testIF=System.Activator.CreateInstance(IVType);

I need that this work -  it is a way to write interface wrapper (type that
implements interface which is not known on compilation stage)

Attachment: Class1.cs
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]