Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public void WriteFileInfo()
bool result = WriteFile(safeHandle, output, output.Length, out bytesWritten, IntPtr.Zero);
}

protected new virtual void Dispose(bool disposing)
protected override void Dispose(bool disposing)
{
if (disposed) return;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ static void Main()
{

Data data = null;
// Blocks if number.Count == 0
// Blocks if dataItems.Count == 0.
// IOE means that Take() was called on a completed collection.
// Some other thread can call CompleteAdding after we pass the
// IsCompleted check but before we call Take.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Module IntroSnippetsBC
While moreItemsToAdd = True
Dim item As Data = GetData()

' Blocks if numbers.Count = dataItems.BoundedCapacity
' Blocks if dataItems.Count = dataItems.BoundedCapacity.
dataItems.Add(item)
End While

Expand Down