static private IsNestedTypeWithNamespace ( Managed.Reflection.Type type ) : bool | ||
type | Managed.Reflection.Type | |
return | bool |
static bool IsNestedTypeWithNamespace(Type type)
{
if (!type.IsNested)
{
return false;
}
if (type.IsConstructedGenericType)
{
type = type.GetGenericTypeDefinition();
}
return type.__Namespace != null;
}