Esempio n. 1
0
        private void WriteMember(ExceptionInfo result, ITypeDefinitionMember member)
        {
            if (!result.Throws)
            {
                return;
            }

            _writer.Write(member.DocId());
            _writer.Write(member.GetNamespaceName());
            _writer.Write(member.GetTypeName());
            _writer.Write(member.GetMemberSignature());
            _writer.Write(result.Level.ToString());
            _writer.WriteLine();
        }
Esempio n. 2
0
        public void Add(ITypeDefinitionMember member, string site, string platform)
        {
            var docId = member.DocId();

            if (_exclusionDatabase != null &&
                _exclusionDatabase._entries.TryGetValue(docId, out var _exclusionEntry) &&
                _exclusionEntry.Platforms.Contains(platform))
            {
                return;
            }

            var namespaceName = member.GetNamespaceName();
            var typeName      = member.GetTypeName();
            var memberName    = member.GetMemberSignature();

            Add(docId, namespaceName, typeName, memberName, site, platform);
        }