Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Reflection / ParameterModifier.cs / 1305376 / ParameterModifier.cs
using System.Diagnostics.Contracts; // ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== //[....] // namespace System.Reflection { using System; [Serializable] [System.Runtime.InteropServices.ComVisible(true)] public struct ParameterModifier { #region Private Data Members private bool[] _byRef; #endregion #region Constructor public ParameterModifier(int parameterCount) { if (parameterCount <= 0) throw new ArgumentException(Environment.GetResourceString("Arg_ParmArraySize")); Contract.EndContractBlock(); _byRef = new bool[parameterCount]; } #endregion #region Internal Members internal bool[] IsByRefArray { get { return _byRef; } } #endregion #region Public Members public bool this[int index] { get { return _byRef[index]; } set { _byRef[index] = value; } } #endregion } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. using System.Diagnostics.Contracts; // ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== //[....] // namespace System.Reflection { using System; [Serializable] [System.Runtime.InteropServices.ComVisible(true)] public struct ParameterModifier { #region Private Data Members private bool[] _byRef; #endregion #region Constructor public ParameterModifier(int parameterCount) { if (parameterCount <= 0) throw new ArgumentException(Environment.GetResourceString("Arg_ParmArraySize")); Contract.EndContractBlock(); _byRef = new bool[parameterCount]; } #endregion #region Internal Members internal bool[] IsByRefArray { get { return _byRef; } } #endregion #region Public Members public bool this[int index] { get { return _byRef[index]; } set { _byRef[index] = value; } } #endregion } } // 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
- AmbientProperties.cs
- GZipDecoder.cs
- ThousandthOfEmRealDoubles.cs
- HttpRequest.cs
- ProcessInputEventArgs.cs
- ScrollItemProviderWrapper.cs
- HiddenFieldPageStatePersister.cs
- BorderGapMaskConverter.cs
- StackSpiller.cs
- StateDesigner.cs
- UrlMappingsSection.cs
- CommandEventArgs.cs
- WsatTransactionFormatter.cs
- XmlSchemaSimpleContent.cs
- TraceContextEventArgs.cs
- ContextProperty.cs
- TiffBitmapDecoder.cs
- ExpressionList.cs
- DynamicResourceExtensionConverter.cs
- GridViewRowEventArgs.cs
- CodeDomSerializer.cs
- TextRangeEdit.cs
- BinaryMethodMessage.cs
- Listbox.cs
- XmlEnumAttribute.cs
- ClusterSafeNativeMethods.cs
- DataGridRowAutomationPeer.cs
- EdmMember.cs
- BinaryParser.cs
- FromRequest.cs
- AnimatedTypeHelpers.cs
- _HeaderInfo.cs
- FormsAuthenticationEventArgs.cs
- InfoCardRSAPKCS1SignatureFormatter.cs
- CollectionView.cs
- TextDecoration.cs
- SymbolUsageManager.cs
- SchemaReference.cs
- MarkupCompilePass2.cs
- LayoutEngine.cs
- SourceLineInfo.cs
- DoubleLinkListEnumerator.cs
- DesignerDataStoredProcedure.cs
- ScaleTransform.cs
- HtmlShimManager.cs
- UnknownBitmapDecoder.cs
- Hash.cs
- WsatProxy.cs
- CssStyleCollection.cs
- SendContent.cs
- IntegrationExceptionEventArgs.cs
- InvariantComparer.cs
- MatrixTransform.cs
- ResourceManagerWrapper.cs
- MtomMessageEncoder.cs
- coordinator.cs
- DispatchWrapper.cs
- DesignerDataRelationship.cs
- TreeView.cs
- XPathNodeList.cs
- Substitution.cs
- NativeMethodsOther.cs
- LoginAutoFormat.cs
- AssociatedControlConverter.cs
- Guid.cs
- SystemIPInterfaceStatistics.cs
- HttpGetProtocolReflector.cs
- XmlSchemaSequence.cs
- BindMarkupExtensionSerializer.cs
- BezierSegment.cs
- ProcessModule.cs
- CopyCodeAction.cs
- SafeHandles.cs
- ResourceAttributes.cs
- DataServiceQueryException.cs
- ImplicitInputBrush.cs
- OciLobLocator.cs
- CodeAttributeArgument.cs
- CodeDefaultValueExpression.cs
- Table.cs
- COM2PropertyDescriptor.cs
- ObjectDataSourceStatusEventArgs.cs
- ItemChangedEventArgs.cs
- ImmComposition.cs
- AggregatePushdown.cs
- QueryCacheKey.cs
- EventProviderWriter.cs
- FixedNode.cs
- InvokeMethod.cs
- ClientScriptManager.cs
- ByteStack.cs
- Compiler.cs
- WebPartMovingEventArgs.cs
- StatusBar.cs
- EdmMember.cs
- ColorComboBox.cs
- ExpressionList.cs
- Matrix3D.cs
- TopClause.cs
- ConstraintEnumerator.cs