Ejemplo n.º 1
0
		public override FilterType GetFilterType(IDocumentTreeNodeFilter filter) {
			var res = filter.GetResult(TypeDef);
			if (res.FilterType != FilterType.Default)
				return res.FilterType;
			if (Context.Decompiler.ShowMember(TypeDef))
				return FilterType.Visible;
			return FilterType.Hide;
		}
Ejemplo n.º 2
0
		public override FilterType GetFilterType(IDocumentTreeNodeFilter filter) {
			var res = filter.GetResult(this);
			if (res.FilterType != FilterType.Default)
				return res.FilterType;
			var type = TypeDef;
			if (type.IsNested && !Context.Decompiler.ShowMember(type))
				return FilterType.Hide;
			return FilterType.Visible;
		}
Ejemplo n.º 3
0
        public override FilterType GetFilterType(IDocumentTreeNodeFilter filter)
        {
            var res = filter.GetResult(this);

            if (res.FilterType != FilterType.Default)
            {
                return(res.FilterType);
            }
            return(FilterType.CheckChildren);
        }
Ejemplo n.º 4
0
        public override FilterType GetFilterType(IDocumentTreeNodeFilter filter)
        {
            var res = filter.GetResult(TypeDef);

            if (res.FilterType != FilterType.Default)
            {
                return(res.FilterType);
            }
            if (Context.Decompiler.ShowMember(TypeDef))
            {
                return(FilterType.Visible);
            }
            return(FilterType.Hide);
        }
Ejemplo n.º 5
0
        public override FilterType GetFilterType(IDocumentTreeNodeFilter filter)
        {
            var res = filter.GetResult(this);

            if (res.FilterType != FilterType.Default)
            {
                return(res.FilterType);
            }
            var type = TypeDef;

            if (type.IsNested && !Context.Decompiler.ShowMember(type))
            {
                return(FilterType.Hide);
            }
            return(FilterType.Visible);
        }
Ejemplo n.º 6
0
        public override FilterType GetFilterType(IDocumentTreeNodeFilter filter)
        {
            var p      = TreeNode.Parent;
            var parent = p == null ? null : p.Data as ModuleDocumentNode;

            Debug.Assert(parent != null);
            if (parent == null)
            {
                return(FilterType.Default);
            }
            var res = filter.GetResult(Name, parent.Document);

            if (res.FilterType != FilterType.Default)
            {
                return(res.FilterType);
            }
            return(FilterType.CheckChildren);
        }
Ejemplo n.º 7
0
		public override FilterType GetFilterType(IDocumentTreeNodeFilter filter) =>
			filter.GetResult(ModuleRef).FilterType;
Ejemplo n.º 8
0
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
        public virtual DocumentTreeNodeFilterResult GetResult(FieldDef field) => filter.GetResult(field);
Ejemplo n.º 9
0
 public override FilterType GetFilterType(IDocumentTreeNodeFilter filter) =>
 filter.GetResult(this).FilterType;
Ejemplo n.º 10
0
		public override FilterType GetFilterType(IDocumentTreeNodeFilter filter) => filter.GetResult(AssemblyRef).FilterType;
Ejemplo n.º 11
0
 public override FilterType GetFilterType(IDocumentTreeNodeFilter filter) => filter.GetResult(AssemblyRef).FilterType;
Ejemplo n.º 12
0
		public override FilterType GetFilterType(IDocumentTreeNodeFilter filter) => filter.GetResult(this).FilterType;
Ejemplo n.º 13
0
		public override FilterType GetFilterType(IDocumentTreeNodeFilter filter) {
			var res = filter.GetResult(this);
			if (res.FilterType != FilterType.Default)
				return res.FilterType;
			return FilterType.CheckChildren;
		}
Ejemplo n.º 14
0
 public override FilterType GetFilterType(IDocumentTreeNodeFilter filter) =>
 filter.GetResult(ModuleRef).FilterType;
Ejemplo n.º 15
0
 /// <inheritdoc/>
 public virtual FilterType GetFilterType(IDocumentTreeNodeFilter filter) => filter.GetResult(this).FilterType;