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
- DefaultWorkflowLoaderService.cs
- DataListItemCollection.cs
- DataGridViewTextBoxEditingControl.cs
- InvalidEnumArgumentException.cs
- ObjectDataSource.cs
- OSFeature.cs
- BindingsCollection.cs
- PersonalizationStateInfo.cs
- AsymmetricSignatureFormatter.cs
- TrustLevel.cs
- BinaryObjectReader.cs
- DriveInfo.cs
- securitycriticaldataClass.cs
- MenuRendererClassic.cs
- SiteMapNodeItemEventArgs.cs
- ServiceBusyException.cs
- OuterGlowBitmapEffect.cs
- SafeMILHandle.cs
- TextRangeProviderWrapper.cs
- FilterableData.cs
- DynamicResourceExtensionConverter.cs
- SizeAnimationUsingKeyFrames.cs
- TdsValueSetter.cs
- IndexOutOfRangeException.cs
- QEncodedStream.cs
- CorrelationManager.cs
- WindowInteractionStateTracker.cs
- TabControl.cs
- GifBitmapDecoder.cs
- BaseTemplateParser.cs
- ControlPropertyNameConverter.cs
- SystemIcmpV4Statistics.cs
- HyperlinkAutomationPeer.cs
- TextSearch.cs
- Expression.cs
- FrameworkElement.cs
- UnsafeNativeMethods.cs
- FormsAuthenticationCredentials.cs
- XmlSequenceWriter.cs
- SmtpFailedRecipientException.cs
- HelpExampleGenerator.cs
- AbandonedMutexException.cs
- BinaryFormatterWriter.cs
- XmlReflectionMember.cs
- ApplicationException.cs
- DesignerProperties.cs
- ProjectionCamera.cs
- SamlAuthenticationClaimResource.cs
- ManagementNamedValueCollection.cs
- WebPartVerbsEventArgs.cs
- PerfCounterSection.cs
- XsdDataContractExporter.cs
- AssociatedControlConverter.cs
- FixedNode.cs
- IntegerValidator.cs
- XhtmlConformanceSection.cs
- HtmlTableRow.cs
- InternalBufferOverflowException.cs
- PlainXmlDeserializer.cs
- DetailsViewInsertedEventArgs.cs
- UrlMappingsModule.cs
- EventManager.cs
- EllipticalNodeOperations.cs
- EastAsianLunisolarCalendar.cs
- webproxy.cs
- XmlImplementation.cs
- WebHttpBehavior.cs
- ObjectQueryProvider.cs
- GotoExpression.cs
- ParameterExpression.cs
- MethodCallExpression.cs
- XmlSchemaAnyAttribute.cs
- Transform.cs
- JulianCalendar.cs
- SharedTcpTransportManager.cs
- XmlWrappingWriter.cs
- WorkflowServiceHost.cs
- XmlTextReaderImplHelpers.cs
- MediaElement.cs
- TypeExtensionConverter.cs
- DeclaredTypeElementCollection.cs
- CustomSignedXml.cs
- MappingItemCollection.cs
- RenderOptions.cs
- HelpKeywordAttribute.cs
- AppLevelCompilationSectionCache.cs
- DbSetClause.cs
- WaitHandleCannotBeOpenedException.cs
- FlowchartStart.xaml.cs
- iisPickupDirectory.cs
- SiteMapSection.cs
- PassportAuthenticationModule.cs
- ResolveNameEventArgs.cs
- WindowsTooltip.cs
- RectangleHotSpot.cs
- QueryCacheKey.cs
- SqlNodeAnnotation.cs
- BinHexEncoder.cs
- DocumentSchemaValidator.cs
- ContentPlaceHolderDesigner.cs