public bool IsMatch(Member member) { return (!this.IsStatic.HasValue || this.IsStatic.Value == member.IsStatic) && (!this.IsPublic.HasValue || this.IsPublic.Value == member.IsPublic) && (!this.IsPrivate.HasValue || this.IsPrivate.Value == member.IsPrivate) && (string.IsNullOrEmpty(this.TypeName) || this.TypeName == (member as Method)?.ReturnType.Name.Name) && (this.RegexTypeName == null || Regex.IsMatch(member.GetDefinedType().FullName, this.RegexTypeName)) && (string.IsNullOrEmpty(this.Name) || this.Name == member.Name.Name) && (this.RegexName == null || Regex.IsMatch(member.Name.Name, this.RegexName)); }