PdfRpt.Core.Helper.DumpNestedProperties.isNestedProperty C# (CSharp) Method

isNestedProperty() private static method

private static isNestedProperty ( Type type ) : bool
type System.Type
return bool
        private static bool isNestedProperty(Type type)
        {
            if (type.Assembly.FullName.StartsWith("mscorlib", StringComparison.OrdinalIgnoreCase)) return false;
            return
                   (type.IsClass || type.IsInterface) &&
                   !type.IsValueType &&
                   !string.IsNullOrEmpty(type.Namespace) &&
                   !type.Namespace.StartsWith("System.", StringComparison.OrdinalIgnoreCase);
        }