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
- CompiledRegexRunner.cs
- MimeBasePart.cs
- Utils.cs
- Literal.cs
- PersistenceProviderFactory.cs
- AlgoModule.cs
- DeferredReference.cs
- PaperSource.cs
- WmfPlaceableFileHeader.cs
- SizeAnimationUsingKeyFrames.cs
- CodeSnippetStatement.cs
- PointCollectionConverter.cs
- HttpConfigurationContext.cs
- DateTimeSerializationSection.cs
- PenLineJoinValidation.cs
- AuthenticationException.cs
- PkcsMisc.cs
- XPathNodeIterator.cs
- DurationConverter.cs
- RtfControlWordInfo.cs
- TreeNodeClickEventArgs.cs
- FrameworkReadOnlyPropertyMetadata.cs
- CellPartitioner.cs
- ShaderEffect.cs
- AtomServiceDocumentSerializer.cs
- SchemaReference.cs
- IssuedTokenParametersEndpointAddressElement.cs
- SqlDataSourceEnumerator.cs
- ExceptionRoutedEventArgs.cs
- DescendentsWalker.cs
- SqlCommandBuilder.cs
- Trace.cs
- ToolBarButtonDesigner.cs
- DataGridViewImageCell.cs
- WsdlWriter.cs
- MemberPath.cs
- RegexWorker.cs
- SpellerInterop.cs
- UTF32Encoding.cs
- ResponseStream.cs
- GridViewItemAutomationPeer.cs
- DataContractSet.cs
- DataGridViewDesigner.cs
- ReadOnlyObservableCollection.cs
- MessageBox.cs
- DBSqlParser.cs
- DtrList.cs
- ParameterEditorUserControl.cs
- WizardForm.cs
- NetTcpBinding.cs
- ConfigXmlSignificantWhitespace.cs
- ProfileBuildProvider.cs
- DataGridBeginningEditEventArgs.cs
- DataGridRowClipboardEventArgs.cs
- WindowsAltTab.cs
- QueryContinueDragEvent.cs
- PeerCustomResolverElement.cs
- ZipFileInfoCollection.cs
- RegistryKey.cs
- BrushValueSerializer.cs
- ExceptionHelpers.cs
- PolicyException.cs
- SQLMembershipProvider.cs
- VariableValue.cs
- ByeOperationCD1AsyncResult.cs
- AllMembershipCondition.cs
- XXXOnTypeBuilderInstantiation.cs
- ChtmlCommandAdapter.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- HtmlMeta.cs
- RemotingException.cs
- NameValueCollection.cs
- MetaModel.cs
- ConditionCollection.cs
- DeleteCardRequest.cs
- WindowsIPAddress.cs
- ExpressionParser.cs
- StretchValidation.cs
- RuntimeComponentFilter.cs
- SqlBuilder.cs
- HttpPostedFile.cs
- VisualStyleElement.cs
- SoapExtensionStream.cs
- CallbackHandler.cs
- ScriptRegistrationManager.cs
- RijndaelCryptoServiceProvider.cs
- EntityDesignerDataSourceView.cs
- TypeExtensionSerializer.cs
- PriorityChain.cs
- KeyConverter.cs
- SqlCacheDependencyDatabase.cs
- DocumentApplication.cs
- FacetChecker.cs
- WebProxyScriptElement.cs
- FamilyTypefaceCollection.cs
- cookieexception.cs
- SqlBulkCopy.cs
- SubclassTypeValidatorAttribute.cs
- Storyboard.cs
- HelpEvent.cs