Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Core / System / Collections / Generic / HashSetDebugView.cs / 1305376 / HashSetDebugView.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
namespace System.Collections.Generic {
///
/// Debug view for HashSet
///
///
internal class HashSetDebugView {
private HashSet set;
public HashSetDebugView(HashSet set) {
if (set == null) {
throw new ArgumentNullException("set");
}
this.set = set;
}
[DebuggerBrowsable(DebuggerBrowsableState.RootHidden)]
public T[] Items {
get {
return set.ToArray();
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RegexMatchCollection.cs
- SafeNativeMethods.cs
- EndCreateSecurityTokenRequest.cs
- basemetadatamappingvisitor.cs
- ContextProperty.cs
- Rectangle.cs
- CustomValidator.cs
- EntityViewContainer.cs
- WebPart.cs
- PersistChildrenAttribute.cs
- Operator.cs
- Base64Encoding.cs
- RelationshipEnd.cs
- Mappings.cs
- XmlProcessingInstruction.cs
- ShellProvider.cs
- MouseWheelEventArgs.cs
- ParagraphResult.cs
- RowUpdatedEventArgs.cs
- ResXResourceSet.cs
- WindowsScrollBarBits.cs
- VisualBasicDesignerHelper.cs
- ExtenderProvidedPropertyAttribute.cs
- CurrencyWrapper.cs
- ClientRuntimeConfig.cs
- ErrorWrapper.cs
- SvcMapFileSerializer.cs
- XmlSchemaValidationException.cs
- ListChangedEventArgs.cs
- RootProjectionNode.cs
- FileSystemWatcher.cs
- DbMetaDataColumnNames.cs
- LayoutEditorPart.cs
- ApplicationId.cs
- ScriptingWebServicesSectionGroup.cs
- ToolZone.cs
- MatrixValueSerializer.cs
- ProcessModule.cs
- OleServicesContext.cs
- AuthenticationModuleElementCollection.cs
- PathGeometry.cs
- ConfigXmlComment.cs
- DSACryptoServiceProvider.cs
- uribuilder.cs
- SupportsEventValidationAttribute.cs
- Attribute.cs
- TableItemProviderWrapper.cs
- XMLDiffLoader.cs
- Decoder.cs
- Span.cs
- Size3D.cs
- AsyncOperationManager.cs
- AttributeParameterInfo.cs
- BindableTemplateBuilder.cs
- PeerNameRegistration.cs
- Simplifier.cs
- MatcherBuilder.cs
- XmlMembersMapping.cs
- XPathDocument.cs
- Misc.cs
- Base64WriteStateInfo.cs
- StatusBarPanel.cs
- Transform.cs
- AssemblyFilter.cs
- Shape.cs
- ImageFormatConverter.cs
- MruCache.cs
- BufferedGraphicsManager.cs
- ObjectListFieldCollection.cs
- SoapEnumAttribute.cs
- _UriTypeConverter.cs
- SafeWaitHandle.cs
- Pair.cs
- DataControlFieldCell.cs
- DataGridViewRowHeaderCell.cs
- ArgumentNullException.cs
- PageCodeDomTreeGenerator.cs
- PropertyChangeTracker.cs
- XmlSchemaAttributeGroup.cs
- CustomAttributeFormatException.cs
- COM2FontConverter.cs
- RetrieveVirtualItemEventArgs.cs
- PaintValueEventArgs.cs
- Stream.cs
- Stack.cs
- TrackingServices.cs
- TickBar.cs
- TextEditorMouse.cs
- ProtectedProviderSettings.cs
- DiagnosticsConfigurationHandler.cs
- XamlTreeBuilder.cs
- QueryOpcode.cs
- WindowsListViewGroup.cs
- GPPOINTF.cs
- UnmanagedBitmapWrapper.cs
- IsolatedStorageFileStream.cs
- StateMachineSubscription.cs
- SamlNameIdentifierClaimResource.cs
- DataGridViewTextBoxColumn.cs
- NullableLongSumAggregationOperator.cs