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
- ProjectionCamera.cs
- GeometryHitTestResult.cs
- _SpnDictionary.cs
- DatagridviewDisplayedBandsData.cs
- EtwProvider.cs
- ImageAttributes.cs
- ElementHostPropertyMap.cs
- DeviceSpecificDialogCachedState.cs
- FunctionImportMapping.cs
- datacache.cs
- ExceptionRoutedEventArgs.cs
- FlowDocumentView.cs
- EventItfInfo.cs
- DataGridViewTopLeftHeaderCell.cs
- SelectionProviderWrapper.cs
- ParentQuery.cs
- DrawingBrush.cs
- WebResponse.cs
- XmlAttributes.cs
- LongCountAggregationOperator.cs
- TextEditorCopyPaste.cs
- UserControlCodeDomTreeGenerator.cs
- DataGridViewBand.cs
- OleDbRowUpdatedEvent.cs
- Property.cs
- AttributeQuery.cs
- DnsPermission.cs
- HtmlInputButton.cs
- DateBoldEvent.cs
- AssemblyContextControlItem.cs
- ControlBuilder.cs
- FileDialog.cs
- SQLSingle.cs
- FontFamily.cs
- ColumnCollection.cs
- RenamedEventArgs.cs
- InputProcessorProfilesLoader.cs
- SatelliteContractVersionAttribute.cs
- NamedPipeAppDomainProtocolHandler.cs
- BuildManager.cs
- ToolStripDropDownMenu.cs
- DbConnectionInternal.cs
- DocumentXPathNavigator.cs
- ListViewCommandEventArgs.cs
- WorkflowWebService.cs
- TreeViewDesigner.cs
- VoiceInfo.cs
- Viewport3DAutomationPeer.cs
- PageAdapter.cs
- x509utils.cs
- InternalBufferOverflowException.cs
- ComplexPropertyEntry.cs
- CompatibleComparer.cs
- RulePatternOps.cs
- SQLUtility.cs
- XmlStreamedByteStreamReader.cs
- RepeaterItemEventArgs.cs
- Reference.cs
- EntityDataSourceDataSelection.cs
- RuleInfoComparer.cs
- TrustManager.cs
- NTAccount.cs
- BuilderInfo.cs
- AssemblyName.cs
- _FixedSizeReader.cs
- ActivityTypeDesigner.xaml.cs
- GPPOINT.cs
- CustomTrackingQuery.cs
- XmlEncodedRawTextWriter.cs
- RoutedUICommand.cs
- CapiNative.cs
- StorageEntityTypeMapping.cs
- GridViewAutomationPeer.cs
- UndoManager.cs
- HitTestWithGeometryDrawingContextWalker.cs
- XsltQilFactory.cs
- FileDialog.cs
- StreamUpdate.cs
- DefaultAuthorizationContext.cs
- Package.cs
- ValidationEventArgs.cs
- DataGridToolTip.cs
- FastPropertyAccessor.cs
- BamlTreeNode.cs
- MultiBindingExpression.cs
- KeyPressEvent.cs
- XamlFxTrace.cs
- Point3DAnimationBase.cs
- MaskedTextProvider.cs
- DesignTable.cs
- Boolean.cs
- TypeConverterAttribute.cs
- Sql8ExpressionRewriter.cs
- KeyPressEvent.cs
- RoutedUICommand.cs
- SqlDataSourceCommandParser.cs
- ToolStripRenderer.cs
- Canvas.cs
- isolationinterop.cs
- HostedHttpContext.cs