MethodRefGetDeclaringType Method (Object) |
Get the declaring type of the specified method object.
Namespace:
Nova.CodeDOM
Assembly:
Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax public static TypeRefBase GetDeclaringType(
Object methodObj
)
Parameters
- methodObj
- Type: SystemObject
The method object (a MethodDeclBase or MethodDefinition/MethodBase).
Return Value
Type:
TypeRefBaseThe
TypeRef of the declaring type, or null if it can't be determined.
See Also