Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Core / Microsoft / Scripting / Utils / TrueReadOnlyCollection.cs / 1305376 / TrueReadOnlyCollection.cs
/* **************************************************************************** * * Copyright (c) Microsoft Corporation. * * This source code is subject to terms and conditions of the Microsoft Public License. A * copy of the license can be found in the License.html file at the root of this distribution. If * you cannot locate the Microsoft Public License, please send an email to * dlr@microsoft.com. By using this source code in any fashion, you are agreeing to be bound * by the terms of the Microsoft Public License. * * You must not remove this notice, or any other, from this software. * * * ***************************************************************************/ using System.Collections.Generic; using System.Collections.ObjectModel; using System.Dynamic.Utils; namespace System.Runtime.CompilerServices { sealed class TrueReadOnlyCollection: ReadOnlyCollection { /// /// Creates instnace of TrueReadOnlyCollection, wrapping passed in array. /// !!! DOES NOT COPY THE ARRAY !!! /// internal TrueReadOnlyCollection(T[] list) : base(list) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. /* **************************************************************************** * * Copyright (c) Microsoft Corporation. * * This source code is subject to terms and conditions of the Microsoft Public License. A * copy of the license can be found in the License.html file at the root of this distribution. If * you cannot locate the Microsoft Public License, please send an email to * dlr@microsoft.com. By using this source code in any fashion, you are agreeing to be bound * by the terms of the Microsoft Public License. * * You must not remove this notice, or any other, from this software. * * * ***************************************************************************/ using System.Collections.Generic; using System.Collections.ObjectModel; using System.Dynamic.Utils; namespace System.Runtime.CompilerServices { sealed class TrueReadOnlyCollection: ReadOnlyCollection { /// /// Creates instnace of TrueReadOnlyCollection, wrapping passed in array. /// !!! DOES NOT COPY THE ARRAY !!! /// internal TrueReadOnlyCollection(T[] list) : base(list) { } } } // 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
- DateTimeUtil.cs
- FontSizeConverter.cs
- ProfileParameter.cs
- OperatingSystem.cs
- Point3DAnimationBase.cs
- RegexGroup.cs
- XmlSchemaException.cs
- InputProcessorProfilesLoader.cs
- ResourceReader.cs
- GraphicsPath.cs
- Crc32.cs
- BindableAttribute.cs
- MenuCommandsChangedEventArgs.cs
- WebServiceBindingAttribute.cs
- MessageFormatterConverter.cs
- xmlfixedPageInfo.cs
- _NetworkingPerfCounters.cs
- ToolStripGripRenderEventArgs.cs
- Attributes.cs
- ZipArchive.cs
- MdiWindowListItemConverter.cs
- RoutedEventConverter.cs
- SocketElement.cs
- OperatorExpressions.cs
- DataGridTextColumn.cs
- GraphicsContext.cs
- HttpCachePolicy.cs
- CollectionViewProxy.cs
- HttpCacheParams.cs
- EventLogQuery.cs
- TextRangeProviderWrapper.cs
- XmlIgnoreAttribute.cs
- ToggleProviderWrapper.cs
- IssuanceLicense.cs
- ExtractedStateEntry.cs
- CannotUnloadAppDomainException.cs
- DataGridAutoFormat.cs
- DataObjectMethodAttribute.cs
- BindableAttribute.cs
- BrowserDefinitionCollection.cs
- EffectiveValueEntry.cs
- SqlEnums.cs
- ScrollBarAutomationPeer.cs
- XmlSchemaSimpleContentExtension.cs
- BufferedStream.cs
- StreamResourceInfo.cs
- TreeNodeStyleCollection.cs
- XmlReaderSettings.cs
- ConfigXmlSignificantWhitespace.cs
- XPathSelectionIterator.cs
- TableLayoutColumnStyleCollection.cs
- VisualBrush.cs
- GenericsInstances.cs
- HierarchicalDataSourceControl.cs
- DefaultWorkflowLoaderService.cs
- Pen.cs
- XmlAnyElementAttributes.cs
- EncryptedReference.cs
- SoapFault.cs
- RsaKeyIdentifierClause.cs
- StubHelpers.cs
- _PooledStream.cs
- Group.cs
- SpellerInterop.cs
- LogicalExpressionEditor.cs
- EntityDataSourceDesignerHelper.cs
- DashStyles.cs
- BidPrivateBase.cs
- SessionStateSection.cs
- HMACSHA256.cs
- SpeechEvent.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- BuiltInExpr.cs
- DataPagerFieldCollection.cs
- StorageSetMapping.cs
- Boolean.cs
- TreeNodeMouseHoverEvent.cs
- Guid.cs
- AutoResizedEvent.cs
- FileLevelControlBuilderAttribute.cs
- SpeechUI.cs
- FileUpload.cs
- FontResourceCache.cs
- Debug.cs
- SafeNativeMemoryHandle.cs
- SystemUdpStatistics.cs
- OperationExecutionFault.cs
- XmlCDATASection.cs
- HttpWebRequestElement.cs
- Debugger.cs
- ButtonBase.cs
- UIElementAutomationPeer.cs
- RewritingProcessor.cs
- WsatServiceAddress.cs
- TargetFrameworkAttribute.cs
- EditorPart.cs
- SchemaImporterExtensionsSection.cs
- SoapInteropTypes.cs
- SoapIgnoreAttribute.cs
- DocumentReferenceCollection.cs