Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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; } } } } // 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
- XmlNodeComparer.cs
- log.cs
- RegexWorker.cs
- CTreeGenerator.cs
- ImageListImageEditor.cs
- CharUnicodeInfo.cs
- QuaternionIndependentAnimationStorage.cs
- TableItemStyle.cs
- RegexWorker.cs
- TextDecoration.cs
- OleDbFactory.cs
- Cloud.cs
- SendKeys.cs
- BooleanExpr.cs
- TypedReference.cs
- DesignerListAdapter.cs
- CustomLineCap.cs
- filewebresponse.cs
- StringExpressionSet.cs
- CommonProperties.cs
- CompiledRegexRunner.cs
- LocalizableAttribute.cs
- NavigationPropertyAccessor.cs
- DataGridViewRowHeaderCell.cs
- XamlValidatingReader.cs
- EnumerableCollectionView.cs
- PrivilegeNotHeldException.cs
- SqlProfileProvider.cs
- Merger.cs
- DataGridViewRowsRemovedEventArgs.cs
- ConnectionStringSettingsCollection.cs
- ToolStripItem.cs
- LabelLiteral.cs
- XmlAnyElementAttribute.cs
- ViewBase.cs
- _FtpDataStream.cs
- HtmlInputFile.cs
- ArcSegment.cs
- PropagationProtocolsTracing.cs
- DriveNotFoundException.cs
- PlainXmlSerializer.cs
- SortAction.cs
- TrustLevelCollection.cs
- DataGridViewHitTestInfo.cs
- DelegatingConfigHost.cs
- ExponentialEase.cs
- Timeline.cs
- BehaviorDragDropEventArgs.cs
- EncodingNLS.cs
- SqlParameterCollection.cs
- InheritanceContextChangedEventManager.cs
- MultiDataTrigger.cs
- TextCollapsingProperties.cs
- ContentIterators.cs
- PrintController.cs
- ValueSerializer.cs
- SmtpCommands.cs
- EnumBuilder.cs
- VisualCollection.cs
- RecordConverter.cs
- DoubleCollectionConverter.cs
- WCFServiceClientProxyGenerator.cs
- NativeMethods.cs
- DBSchemaRow.cs
- VerificationAttribute.cs
- GroupDescription.cs
- Suspend.cs
- DummyDataSource.cs
- PeerCollaborationPermission.cs
- CacheAxisQuery.cs
- Application.cs
- ExceptionUtil.cs
- DefaultExpression.cs
- XmlSchemaObjectCollection.cs
- BrowserDefinition.cs
- HwndTarget.cs
- FormViewAutoFormat.cs
- PageHandlerFactory.cs
- ObjectStateFormatter.cs
- RuleAction.cs
- DescendantOverDescendantQuery.cs
- FileFormatException.cs
- EventLogTraceListener.cs
- EditorZoneBase.cs
- XPathSingletonIterator.cs
- LoadRetryHandler.cs
- baseshape.cs
- LinqDataSourceStatusEventArgs.cs
- GeneralTransform3DGroup.cs
- TdsParserStateObject.cs
- ReaderWriterLock.cs
- DataMisalignedException.cs
- objectquery_tresulttype.cs
- UIElement3DAutomationPeer.cs
- SqlError.cs
- ColumnResizeAdorner.cs
- EntityContainerEmitter.cs
- DataGridViewIntLinkedList.cs
- DeviceSpecificDialogCachedState.cs
- HtmlProps.cs