Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / Collections / Generic / SortedSetDebugView.cs / 1305376 / SortedSetDebugView.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
namespace System.Collections.Generic {
///
/// Debug view for SortedSet
///
///
internal class SortedSetDebugView {
private SortedSet set;
public SortedSetDebugView(SortedSet 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 SortedSet
///
///
internal class SortedSetDebugView {
private SortedSet set;
public SortedSetDebugView(SortedSet 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
- SizeAnimationBase.cs
- RtfFormatStack.cs
- FrameworkContentElement.cs
- QueryContinueDragEventArgs.cs
- Merger.cs
- XmlMemberMapping.cs
- XPathDescendantIterator.cs
- UpdateRecord.cs
- MulticastIPAddressInformationCollection.cs
- BufferModesCollection.cs
- UndoUnit.cs
- AttributeUsageAttribute.cs
- WebPartEditorCancelVerb.cs
- StringExpressionSet.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- WhitespaceRuleLookup.cs
- Converter.cs
- SafeFileMappingHandle.cs
- BooleanAnimationUsingKeyFrames.cs
- ViewManager.cs
- ChannelProtectionRequirements.cs
- HttpCacheVaryByContentEncodings.cs
- OracleEncoding.cs
- IPGlobalProperties.cs
- LinkedList.cs
- ShapeTypeface.cs
- XmlSubtreeReader.cs
- DataGridColumnCollection.cs
- MergeLocalizationDirectives.cs
- DataGridColumn.cs
- SevenBitStream.cs
- SqlLiftWhereClauses.cs
- CatalogZone.cs
- Button.cs
- XmlAutoDetectWriter.cs
- TransactionTraceIdentifier.cs
- RegistryKey.cs
- PageCatalogPartDesigner.cs
- WhileDesigner.cs
- SafeRegistryHandle.cs
- DoubleAnimationUsingPath.cs
- Ticks.cs
- CacheHelper.cs
- smtppermission.cs
- PerformanceCounterNameAttribute.cs
- ParagraphVisual.cs
- InplaceBitmapMetadataWriter.cs
- ReaderWriterLockWrapper.cs
- DBCSCodePageEncoding.cs
- DispatcherObject.cs
- CodeVariableDeclarationStatement.cs
- SharedMemory.cs
- HttpListenerResponse.cs
- SqlException.cs
- ImageButton.cs
- MethodExpression.cs
- KeyFrames.cs
- filewebresponse.cs
- Fonts.cs
- AdornedElementPlaceholder.cs
- PropertyNames.cs
- DirectoryInfo.cs
- CommandLibraryHelper.cs
- DropShadowEffect.cs
- FlowThrottle.cs
- DataObjectFieldAttribute.cs
- DataGridViewCell.cs
- EndGetFileNameFromUserRequest.cs
- EventLog.cs
- ToolStripOverflow.cs
- ItemContainerPattern.cs
- compensatingcollection.cs
- MessageFilter.cs
- QuaternionRotation3D.cs
- Buffer.cs
- MsmqHostedTransportConfiguration.cs
- CodeConditionStatement.cs
- PermissionRequestEvidence.cs
- FrameworkElementFactory.cs
- odbcmetadatacollectionnames.cs
- Compiler.cs
- BamlRecords.cs
- ListDictionary.cs
- TraceContextRecord.cs
- CharKeyFrameCollection.cs
- ConfigurationConverterBase.cs
- ReturnEventArgs.cs
- ActionItem.cs
- NegationPusher.cs
- NonVisualControlAttribute.cs
- AuthenticationException.cs
- SocketException.cs
- OperatingSystem.cs
- TableLayoutRowStyleCollection.cs
- Parser.cs
- ContainerControl.cs
- ScalarOps.cs
- DbCommandDefinition.cs
- PrivilegeNotHeldException.cs
- FormView.cs