public int EnumTaskItems(out IVsEnumTaskItems ppenum) { lock (_itemsLock) { ppenum = new TaskEnum(_items .Where(x => x.Key.Filepath != null) // don't report REPL window errors in the error list, you can't naviagate to them .SelectMany(kv => kv.Value.Select(i => i.ToErrorTaskItem(kv.Key))) .ToArray() ); } return(VSConstants.S_OK); }
public int Clone(out IVsEnumTaskItems ppenum) { ppenum = new TaskEnum(_enumerable); return(VSConstants.S_OK); }