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
- NTAccount.cs
- BevelBitmapEffect.cs
- PermissionSetEnumerator.cs
- RoutingBehavior.cs
- BamlLocalizableResourceKey.cs
- PropertyRecord.cs
- Section.cs
- AttachedPropertyBrowsableAttribute.cs
- FormsAuthenticationModule.cs
- IsolationInterop.cs
- TreeIterators.cs
- DropTarget.cs
- ResXBuildProvider.cs
- ApplicationDirectory.cs
- NavigationFailedEventArgs.cs
- Exceptions.cs
- ListenerSessionConnectionReader.cs
- RequestCachePolicy.cs
- ScriptingRoleServiceSection.cs
- OleDbWrapper.cs
- SqlBuffer.cs
- Mutex.cs
- ResourceManager.cs
- Exceptions.cs
- errorpatternmatcher.cs
- StylusDownEventArgs.cs
- HandlerMappingMemo.cs
- FixedSOMElement.cs
- PropertiesTab.cs
- ComplexPropertyEntry.cs
- NotSupportedException.cs
- TypeToStringValueConverter.cs
- Mutex.cs
- mediaeventargs.cs
- DrawingCollection.cs
- XmlWriter.cs
- WebPartCancelEventArgs.cs
- AutoSizeToolBoxItem.cs
- XmlSchemaInfo.cs
- DecoderFallbackWithFailureFlag.cs
- DecimalKeyFrameCollection.cs
- RemoteWebConfigurationHostStream.cs
- TimelineCollection.cs
- QilList.cs
- AssemblyNameProxy.cs
- DataGridTemplateColumn.cs
- SqlInternalConnectionTds.cs
- SingleTagSectionHandler.cs
- SafeLibraryHandle.cs
- BindingSource.cs
- DefaultParameterValueAttribute.cs
- Journal.cs
- Setter.cs
- BaseParagraph.cs
- ISessionStateStore.cs
- SoapElementAttribute.cs
- KoreanLunisolarCalendar.cs
- SafeRightsManagementQueryHandle.cs
- DayRenderEvent.cs
- Int32.cs
- UnsupportedPolicyOptionsException.cs
- EnumUnknown.cs
- List.cs
- StrokeNodeData.cs
- CodeParameterDeclarationExpressionCollection.cs
- SoapFormatter.cs
- ActivityBuilder.cs
- NotificationContext.cs
- SQLUtility.cs
- processwaithandle.cs
- ProfileService.cs
- SID.cs
- XmlSerializerNamespaces.cs
- ConnectivityStatus.cs
- CatalogZoneDesigner.cs
- Configuration.cs
- DataStorage.cs
- TimeSpanStorage.cs
- ItemCollectionEditor.cs
- DiscardableAttribute.cs
- SystemIcons.cs
- EncryptedHeaderXml.cs
- DataGridViewCellEventArgs.cs
- AliasedSlot.cs
- LZCodec.cs
- TextElementEnumerator.cs
- XmlBindingWorker.cs
- SafeFileMapViewHandle.cs
- RadioButtonStandardAdapter.cs
- PersonalizableTypeEntry.cs
- WindowShowOrOpenTracker.cs
- HostingEnvironmentException.cs
- TemplatePropertyEntry.cs
- BasicHttpBinding.cs
- StorageConditionPropertyMapping.cs
- NotificationContext.cs
- DBCommandBuilder.cs
- InfoCardXmlSerializer.cs
- DiscoveryClientElement.cs
- TabControlAutomationPeer.cs