7 references to Contains
System.Activities (7)
System\Activities\ExclusiveHandle.cs (6)
187Fx.Assert(!this.ImportantBookmarks.Contains(bookmark), "We shouldnt be here. We attempted to add the same bookmark"); 206Fx.Assert(!this.UnimportantBookmarks.Contains(bookmark), "We shouldnt be here. We attempted to add the same bookmark"); 220Fx.Assert((this.ImportantBookmarks != null && this.ImportantBookmarks.Contains(bookmark)) || 221(this.UnimportantBookmarks != null && this.UnimportantBookmarks.Contains(bookmark)), "Internal error"); 225if (this.ImportantBookmarks.Contains(bookmark)) 234if (this.UnimportantBookmarks.Contains(bookmark))
System\Activities\Runtime\BookmarkScopeManager.cs (1)
557if ((handle.ImportantBookmarks != null && handle.ImportantBookmarks.Contains(bookmark)) && (handle.UnimportantBookmarks != null && handle.UnimportantBookmarks.Count != 0))