예제 #1
0
        public bool DumpedMemberInfo()
        {
            if (!(Instance is MemberInfo mi))
            {
                return(false);
            }

            if (IsInDumpingMode)
            {
                _dumper.Writer.Dumped(Instance as MemberInfo);
            }
            else
            {
                DumpScript.AddDumpedMemberInfo();
            }

            return(true);
        }
예제 #2
0
파일: DumpState.cs 프로젝트: gkowieski/vm
        public bool DumpedMemberInfo()
        {
            var mi = Instance as MemberInfo;

            if (mi == null)
            {
                return(false);
            }

            if (IsInDumpingMode)
            {
                _dumper.Writer.Dumped(Instance as MemberInfo);
            }
            else
            {
                DumpScript.AddDumpedMemberInfo();
            }

            return(true);
        }