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); }
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; }