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
- PlanCompilerUtil.cs
- Properties.cs
- SchemaNames.cs
- ISAPIRuntime.cs
- Assert.cs
- RegexTree.cs
- FirstQueryOperator.cs
- OutputCacheModule.cs
- EventListener.cs
- MDIControlStrip.cs
- Span.cs
- XmlDataImplementation.cs
- UniqueID.cs
- DataGridViewDataErrorEventArgs.cs
- PartBasedPackageProperties.cs
- InstanceCreationEditor.cs
- ObjectDataSourceEventArgs.cs
- ZipIOCentralDirectoryFileHeader.cs
- TransportConfigurationTypeElementCollection.cs
- ListViewUpdateEventArgs.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- Parameter.cs
- Range.cs
- XpsThumbnail.cs
- MenuItem.cs
- BitArray.cs
- TextEditorTyping.cs
- SystemIPInterfaceStatistics.cs
- InfoCardTrace.cs
- XmlSchemaAll.cs
- DataGridPagerStyle.cs
- DesignUtil.cs
- OleDbError.cs
- BitmapData.cs
- URLString.cs
- DesignerView.xaml.cs
- SID.cs
- DynamicUpdateCommand.cs
- BindingContext.cs
- ReferenceSchema.cs
- HwndSubclass.cs
- Visual3DCollection.cs
- QilTypeChecker.cs
- TableSectionStyle.cs
- ManagementClass.cs
- IODescriptionAttribute.cs
- NamespaceImport.cs
- MaterialGroup.cs
- OneToOneMappingSerializer.cs
- MouseDevice.cs
- SmtpNetworkElement.cs
- UidPropertyAttribute.cs
- AssemblyUtil.cs
- validationstate.cs
- Variable.cs
- CultureMapper.cs
- DataRelation.cs
- ObjectViewListener.cs
- OracleParameter.cs
- Scalars.cs
- InfoCardRSAPKCS1SignatureDeformatter.cs
- ValidatedMobileControlConverter.cs
- XmlAttributeCache.cs
- PassportAuthenticationModule.cs
- Attributes.cs
- SymbolMethod.cs
- Icon.cs
- SizeAnimationUsingKeyFrames.cs
- MessagePartSpecification.cs
- DrawTreeNodeEventArgs.cs
- RequestNavigateEventArgs.cs
- LexicalChunk.cs
- FunctionQuery.cs
- Mapping.cs
- smtppermission.cs
- XmlAttributeCache.cs
- XmlNodeChangedEventArgs.cs
- SafeProcessHandle.cs
- LineProperties.cs
- Vector3DKeyFrameCollection.cs
- InstanceDataCollection.cs
- DataGridColumnHeader.cs
- PointCollection.cs
- UIPermission.cs
- GridToolTip.cs
- TypeTypeConverter.cs
- EncryptedKey.cs
- XmlNamespaceDeclarationsAttribute.cs
- TreeNodeConverter.cs
- OpenTypeMethods.cs
- IntAverageAggregationOperator.cs
- MarshalDirectiveException.cs
- Ref.cs
- TreeNode.cs
- TrimSurroundingWhitespaceAttribute.cs
- EntityDataSourceQueryBuilder.cs
- ColorConverter.cs
- DataObjectMethodAttribute.cs
- datacache.cs
- StringDictionaryWithComparer.cs