J 
		
								
				
				
			
		John
Hi
I have the following code;
ByVal MyType As Type
Dim frame As StackFrame
If frame.GetMethod().DeclaringType = MyType Then
Problem is I am getting the "Operator '=' is not defined for types
'System.Type' and 'System.Type'." error on the last line. How can I fix
this?
Thanks
Regards
				
			I have the following code;
ByVal MyType As Type
Dim frame As StackFrame
If frame.GetMethod().DeclaringType = MyType Then
Problem is I am getting the "Operator '=' is not defined for types
'System.Type' and 'System.Type'." error on the last line. How can I fix
this?
Thanks
Regards
 
	 John wants to check if it's the same System.Type
 John wants to check if it's the same System.Type