Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / clr / src / BCL / System / Runtime / CompilerServices / FixedBufferAttribute.cs / 1 / 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; } } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Pair.cs
- XamlDesignerSerializationManager.cs
- BasicCellRelation.cs
- DocumentScope.cs
- AssemblyBuilder.cs
- EdmItemCollection.OcAssemblyCache.cs
- ResourcePermissionBase.cs
- GridViewCancelEditEventArgs.cs
- Substitution.cs
- WindowsListViewItemCheckBox.cs
- EventlogProvider.cs
- DbSetClause.cs
- DataGridAutoFormat.cs
- WsdlWriter.cs
- HtmlFormAdapter.cs
- ThreadStartException.cs
- AnnotationResourceCollection.cs
- Convert.cs
- CompressEmulationStream.cs
- ImageSource.cs
- XmlBinaryWriter.cs
- ExtentKey.cs
- ListBoxItem.cs
- WindowsSpinner.cs
- HttpPostedFileBase.cs
- ChangeTracker.cs
- XmlDataSourceNodeDescriptor.cs
- FtpWebResponse.cs
- PropertyTabChangedEvent.cs
- ZoneIdentityPermission.cs
- TreeNode.cs
- TimeStampChecker.cs
- X509Chain.cs
- XmlTextReaderImplHelpers.cs
- metadatamappinghashervisitor.cs
- UnknownBitmapEncoder.cs
- DataColumnMappingCollection.cs
- DateTimeHelper.cs
- TypedDatasetGenerator.cs
- EventLogHandle.cs
- FormViewPagerRow.cs
- CodeNamespace.cs
- TextBoxRenderer.cs
- FileUtil.cs
- ListSortDescriptionCollection.cs
- SqlDataSourceCustomCommandEditor.cs
- OdbcConnectionHandle.cs
- ListItemCollection.cs
- DefaultValueConverter.cs
- SecurityTokenException.cs
- DispatchWrapper.cs
- DbProviderSpecificTypePropertyAttribute.cs
- WebAdminConfigurationHelper.cs
- SrgsToken.cs
- XmlAttributeProperties.cs
- ConnectorSelectionGlyph.cs
- HashHelper.cs
- TextServicesDisplayAttributePropertyRanges.cs
- FilteredDataSetHelper.cs
- NotifyInputEventArgs.cs
- SuppressMergeCheckAttribute.cs
- AdornerPresentationContext.cs
- XmlSignificantWhitespace.cs
- cookieexception.cs
- ListControl.cs
- ServiceMetadataPublishingElement.cs
- UndoEngine.cs
- DataObjectCopyingEventArgs.cs
- PaintEvent.cs
- SetterBaseCollection.cs
- DateBoldEvent.cs
- Effect.cs
- XmlNamespaceManager.cs
- StrokeCollection2.cs
- TrustManagerPromptUI.cs
- WCFModelStrings.Designer.cs
- ArrayExtension.cs
- TraceContext.cs
- TreeNodeSelectionProcessor.cs
- TiffBitmapEncoder.cs
- SystemWebSectionGroup.cs
- _ServiceNameStore.cs
- WmlObjectListAdapter.cs
- SByte.cs
- Propagator.ExtentPlaceholderCreator.cs
- Light.cs
- SwitchAttribute.cs
- EntityCommand.cs
- ServiceOperationViewControl.cs
- Operators.cs
- Int64AnimationBase.cs
- CodeExpressionCollection.cs
- TextServicesDisplayAttribute.cs
- ArrayElementGridEntry.cs
- ResourceDefaultValueAttribute.cs
- ProfileService.cs
- SqlInternalConnection.cs
- BufferManager.cs
- HelpFileFileNameEditor.cs
- AudioFormatConverter.cs