MemberInfoExtensions.GetNamespaceOrThrow Method
Definition
Returns the namespace the specified MemberInfo is contained in, or throws if it's in the global namespace.
public static string GetNamespaceOrThrow(this MemberInfo member);
Parameters
Name | Type | Description |
---|---|---|
member | The member. |
Returns
The namespace member
is contained in, or throws if it's in the global namespace.
Last modified: 17 December 2024