Code:
/ 4.0 / 4.0 / 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. 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
- Char.cs
- XmlNavigatorStack.cs
- Point3DCollection.cs
- Geometry3D.cs
- UIntPtr.cs
- DataTemplateKey.cs
- TypeResolvingOptions.cs
- RequestCacheManager.cs
- DbMetaDataColumnNames.cs
- ThreadPool.cs
- LambdaCompiler.Statements.cs
- AdPostCacheSubstitution.cs
- BaseTemplateCodeDomTreeGenerator.cs
- ResourcePermissionBase.cs
- TileModeValidation.cs
- ToolStripItem.cs
- ResetableIterator.cs
- ClaimSet.cs
- RadioButtonFlatAdapter.cs
- SignatureDescription.cs
- ViewSimplifier.cs
- MasterPageParser.cs
- DetailsViewModeEventArgs.cs
- DocumentViewer.cs
- UserControl.cs
- EdmComplexPropertyAttribute.cs
- DataListItem.cs
- LinkUtilities.cs
- ImageDrawing.cs
- AttributeProviderAttribute.cs
- Error.cs
- ComponentManagerBroker.cs
- HttpProfileGroupBase.cs
- UseAttributeSetsAction.cs
- WebPartVerbCollection.cs
- QilTargetType.cs
- FileDetails.cs
- XmlDataSource.cs
- NumberEdit.cs
- InternalDuplexChannelFactory.cs
- StorageScalarPropertyMapping.cs
- GridItemCollection.cs
- DataReaderContainer.cs
- ViewSimplifier.cs
- Odbc32.cs
- SqlBuffer.cs
- ColumnResizeAdorner.cs
- Int64Storage.cs
- ProviderBase.cs
- RoutedPropertyChangedEventArgs.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- WindowVisualStateTracker.cs
- XmlSerializerAssemblyAttribute.cs
- SpellCheck.cs
- CodeTypeConstructor.cs
- DataGridViewSortCompareEventArgs.cs
- LinqDataSourceDisposeEventArgs.cs
- VerificationAttribute.cs
- BoolExpressionVisitors.cs
- NetworkAddressChange.cs
- ScrollBar.cs
- SchemaInfo.cs
- CatalogZoneAutoFormat.cs
- WindowsEditBox.cs
- _NegoStream.cs
- TakeQueryOptionExpression.cs
- DesignBinding.cs
- HttpListenerException.cs
- CollectionViewGroupRoot.cs
- Vector.cs
- Bold.cs
- ResourceBinder.cs
- XamlFxTrace.cs
- SQlBooleanStorage.cs
- ListViewItem.cs
- TemplateEditingVerb.cs
- ProtocolsConfigurationEntry.cs
- GridItemCollection.cs
- pingexception.cs
- ContextConfiguration.cs
- OdbcDataAdapter.cs
- SequentialOutput.cs
- IssuedTokenParametersElement.cs
- HyperLink.cs
- XmlAttributes.cs
- MatrixIndependentAnimationStorage.cs
- WebBrowserEvent.cs
- ResourceAssociationSet.cs
- CellParagraph.cs
- DefaultTypeArgumentAttribute.cs
- SQLString.cs
- ButtonField.cs
- DataSourceControlBuilder.cs
- BlockUIContainer.cs
- SqlTypeSystemProvider.cs
- FontConverter.cs
- streamingZipPartStream.cs
- MetadataArtifactLoaderFile.cs
- FlowLayout.cs
- DTCTransactionManager.cs