Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Runtime / CompilerServices / FixedBufferAttribute.cs / 1305376 / FixedBufferAttribute.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** Class: FixedBufferAttribute ** ** Purpose: Used by a compiler for generating value types ** in-place within other value types containing a certain ** number of elements of the given (primitive) type. Somewhat ** similar to P/Invoke's ByValTStr attribute. ** Used by C# with this syntax: "fixed int buffer[10];" ** ===========================================================*/ using System; namespace System.Runtime.CompilerServices { [AttributeUsage(AttributeTargets.Field, Inherited=false)] public sealed class FixedBufferAttribute : Attribute { private Type elementType; private int length; public FixedBufferAttribute(Type elementType, int length) { this.elementType = elementType; this.length = length; } public Type ElementType { get { return elementType; } } public int Length { get { return length; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SchemaCollectionPreprocessor.cs
- IResourceProvider.cs
- SchemaImporter.cs
- XmlElementAttribute.cs
- DataGridViewColumnCollection.cs
- DPTypeDescriptorContext.cs
- PolicyStatement.cs
- NamedPipeTransportSecurityElement.cs
- FieldInfo.cs
- DataGridViewSortCompareEventArgs.cs
- ProcessProtocolHandler.cs
- SiteMapHierarchicalDataSourceView.cs
- TemplateKey.cs
- XmlChildEnumerator.cs
- Point3DAnimationUsingKeyFrames.cs
- RootAction.cs
- DecoratedNameAttribute.cs
- ScaleTransform3D.cs
- followingquery.cs
- GridSplitter.cs
- SQLInt16.cs
- AnonymousIdentificationSection.cs
- SqlServer2KCompatibilityCheck.cs
- SystemBrushes.cs
- DateTime.cs
- ExpandSegment.cs
- Image.cs
- LoginView.cs
- HwndSourceKeyboardInputSite.cs
- FixedPageStructure.cs
- HttpCookiesSection.cs
- PasswordTextNavigator.cs
- ComponentEvent.cs
- PriorityChain.cs
- InputGestureCollection.cs
- SyndicationFeed.cs
- FontWeight.cs
- FeatureSupport.cs
- ToolboxItemCollection.cs
- Rotation3DKeyFrameCollection.cs
- WebBrowserSiteBase.cs
- FormsAuthenticationCredentials.cs
- SqlConnectionFactory.cs
- CommonObjectSecurity.cs
- HexParser.cs
- ColumnMap.cs
- DetailsViewInsertedEventArgs.cs
- UpdateProgress.cs
- PathNode.cs
- MsmqHostedTransportConfiguration.cs
- DataGridViewRowStateChangedEventArgs.cs
- SystemFonts.cs
- XsdDuration.cs
- WebPartConnectionsConnectVerb.cs
- ValidateNames.cs
- PartialCachingControl.cs
- LoadMessageLogger.cs
- TransportationConfigurationTypeInstallComponent.cs
- ActivityTypeDesigner.xaml.cs
- ModulesEntry.cs
- TypeValidationEventArgs.cs
- CodeArrayCreateExpression.cs
- PerformanceCounterManager.cs
- InstanceCompleteException.cs
- XmlSchemaAll.cs
- TreeViewImageKeyConverter.cs
- _BaseOverlappedAsyncResult.cs
- HtmlUtf8RawTextWriter.cs
- DataGridGeneralPage.cs
- TouchEventArgs.cs
- OdbcEnvironment.cs
- PagedDataSource.cs
- Constants.cs
- ServiceObjectContainer.cs
- SiteMapPathDesigner.cs
- IdentityModelDictionary.cs
- _OverlappedAsyncResult.cs
- SiteMapNodeItem.cs
- XmlEntity.cs
- SecUtil.cs
- SeparatorAutomationPeer.cs
- TransactionManager.cs
- QualifiedId.cs
- ListViewDeleteEventArgs.cs
- LifetimeServices.cs
- TraceSource.cs
- ADMembershipUser.cs
- Propagator.JoinPropagator.cs
- GridViewCommandEventArgs.cs
- PropVariant.cs
- BlurBitmapEffect.cs
- ImageButton.cs
- SQLResource.cs
- PasswordTextContainer.cs
- GeometryDrawing.cs
- XmlNodeComparer.cs
- SiteMapDataSourceView.cs
- XomlCompilerParameters.cs
- sqlpipe.cs
- RegexEditorDialog.cs