Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help needed with Reflection
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01250136
Message ID:
01250219
Views:
23
Hmm, so it is the correct object. If this is happening at design time it may be a problem with partial compilation, multiple assemblies etc. Does this help:
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=167058&SiteID=1

>Hi Viv, here's the output from the immediate window of t
>
>
>{Name = "PJKTabPage" FullName = "TabPages.PJKTabPage"}
>    [System.RuntimeType]: {Name = "PJKTabPage" FullName = "TabPages.PJKTabPage"}
>    base {System.Reflection.MemberInfo}: {Name = "PJKTabPage" FullName = "TabPages.PJKTabPage"}
>    Assembly: {TabPage1, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null}
>    AssemblyQualifiedName: "TabPages.PJKTabPage, TabPage1, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"
>    Attributes: Public | BeforeFieldInit
>    BaseType: {Name = "PJKBaseTabPage" FullName = "BCCI.Controls.PJKBaseTabPage"}
>    ContainsGenericParameters: false
>    DeclaringMethod: 't.DeclaringMethod' threw an exception of type 'System.InvalidOperationException'
>    DeclaringType: null
>    FullName: "TabPages.PJKTabPage"
>    GenericParameterAttributes: 't.GenericParameterAttributes' threw an exception of type 'System.InvalidOperationException'
>    GenericParameterPosition: 't.GenericParameterPosition' threw an exception of type 'System.InvalidOperationException'
>    GUID: {709a902e-de87-3115-ad19-30619a320765}
>    HasElementType: false
>    IsAbstract: false
>    IsAnsiClass: true
>    IsArray: false
>    IsAutoClass: false
>    IsAutoLayout: true
>    IsByRef: false
>    IsClass: true
>    IsCOMObject: false
>    IsContextful: false
>    IsEnum: false
>    IsExplicitLayout: false
>    IsGenericParameter: false
>    IsGenericType: false
>    IsGenericTypeDefinition: false
>    IsImport: false
>    IsInterface: false
>    IsLayoutSequential: false
>    IsMarshalByRef: true
>    IsNested: false
>    IsNestedAssembly: false
>    IsNestedFamANDAssem: false
>    IsNestedFamily: false
>    IsNestedFamORAssem: false
>    IsNestedPrivate: false
>    IsNestedPublic: false
>    IsNotPublic: false
>    IsPointer: false
>    IsPrimitive: false
>    IsPublic: true
>    IsSealed: false
>    IsSerializable: false
>    IsSpecialName: false
>    IsUnicodeClass: false
>    IsValueType: false
>    IsVisible: true
>    MemberType: TypeInfo
>    Module: {TabPage1.dll}
>    Namespace: "TabPages"
>    ReflectedType: null
>    StructLayoutAttribute: {System.Runtime.InteropServices.StructLayoutAttribute}
>    TypeHandle: {System.RuntimeTypeHandle}
>    TypeInitializer: null
>    UnderlyingSystemType: {Name = "PJKTabPage" FullName = "TabPages.PJKTabPage"}
>
>
>
>I notice there are some errors in there ?
Previous
Reply
Map
View

Click here to load this message in the networking platform