public bool Matches(CallStackPattern Other)
        {
            if (Other.StackFramePatterns.Length != StackFramePatterns.Length || Other.bUseRegexes != bUseRegexes)
            {
                return(false);
            }

            for (int i = 0; i < StackFramePatterns.Length; i++)
            {
                if (Other.StackFramePatterns[i] != StackFramePatterns[i])
                {
                    return(false);
                }
            }

            return(true);
        }
Example #2
0
        public bool Matches(CallStackPattern Other)
        {
            if (Other.StackFramePatterns.Length != StackFramePatterns.Length || Other.bUseRegexes != bUseRegexes)
            {
                return false;
            }

            for (int i = 0; i < StackFramePatterns.Length; i++)
            {
                if (Other.StackFramePatterns[i] != StackFramePatterns[i])
                {
                    return false;
                }
            }
            
            return true;
        }