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
- UniqueConstraint.cs
- ClosableStream.cs
- TargetParameterCountException.cs
- EnumMember.cs
- MatrixAnimationUsingPath.cs
- CompensationExtension.cs
- ControlBuilder.cs
- ListViewCommandEventArgs.cs
- ClockController.cs
- XsdDuration.cs
- ZoneIdentityPermission.cs
- XmlDeclaration.cs
- HtmlUtf8RawTextWriter.cs
- DocobjHost.cs
- XmlTextReaderImpl.cs
- EndpointConfigContainer.cs
- WebPartEditorCancelVerb.cs
- ExpressionList.cs
- ReadingWritingEntityEventArgs.cs
- Listbox.cs
- TableRow.cs
- CodeAccessSecurityEngine.cs
- _SSPISessionCache.cs
- PropertySourceInfo.cs
- ObjectListField.cs
- ProtocolViolationException.cs
- SessionPageStateSection.cs
- SqlCacheDependency.cs
- XmlComplianceUtil.cs
- NativeMethods.cs
- SqlAliaser.cs
- MouseGesture.cs
- FileSystemWatcher.cs
- RSAPKCS1KeyExchangeFormatter.cs
- EqualityComparer.cs
- DesignerEventService.cs
- MinimizableAttributeTypeConverter.cs
- ModelToObjectValueConverter.cs
- FatalException.cs
- JoinTreeNode.cs
- _PooledStream.cs
- Rect.cs
- ExpressionReplacer.cs
- AliasExpr.cs
- HttpTransportSecurity.cs
- SecurityUtils.cs
- SqlCrossApplyToCrossJoin.cs
- HtmlEmptyTagControlBuilder.cs
- ToolStripEditorManager.cs
- TheQuery.cs
- NetworkInformationException.cs
- DetailsViewRowCollection.cs
- ObjectItemAssemblyLoader.cs
- Formatter.cs
- CorrelationHandle.cs
- DllHostedComPlusServiceHost.cs
- LayoutEditorPart.cs
- Transform.cs
- RangeValueProviderWrapper.cs
- DataGridHeadersVisibilityToVisibilityConverter.cs
- Classification.cs
- _Rfc2616CacheValidators.cs
- DataGridSortCommandEventArgs.cs
- DataGridClipboardHelper.cs
- EntityParameterCollection.cs
- WebHeaderCollection.cs
- AxHost.cs
- Metafile.cs
- XPathDescendantIterator.cs
- Int64Converter.cs
- CompositeCollectionView.cs
- RepeaterItemCollection.cs
- Sequence.cs
- ContentElement.cs
- WindowsFormsHelpers.cs
- PartialTrustVisibleAssembliesSection.cs
- SetMemberBinder.cs
- TCPClient.cs
- AlignmentXValidation.cs
- IndexedWhereQueryOperator.cs
- CacheSection.cs
- KeyboardEventArgs.cs
- SqlDataRecord.cs
- ControlTemplate.cs
- ParameterToken.cs
- OleDbMetaDataFactory.cs
- FixedSchema.cs
- OptimalTextSource.cs
- MsiStyleLogWriter.cs
- AutoFocusStyle.xaml.cs
- ExpressionEditor.cs
- BitArray.cs
- CTreeGenerator.cs
- HostProtectionException.cs
- SqlAliasesReferenced.cs
- SamlAttribute.cs
- MetadataWorkspace.cs
- SoapReflectionImporter.cs
- DataGridDesigner.cs
- XdrBuilder.cs