Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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. // // ==--== /*============================================================ ** ** 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
- ButtonPopupAdapter.cs
- DateTimeOffset.cs
- Size3D.cs
- HttpTransportManager.cs
- InkCanvasSelectionAdorner.cs
- SplineKeyFrames.cs
- CodeVariableReferenceExpression.cs
- RoleService.cs
- QueryOperatorEnumerator.cs
- CSharpCodeProvider.cs
- HttpValueCollection.cs
- InvalidateEvent.cs
- QilTypeChecker.cs
- BindingNavigator.cs
- CodeTypeDelegate.cs
- SelectionHighlightInfo.cs
- SchemaComplexType.cs
- ModelTreeManager.cs
- SRef.cs
- Boolean.cs
- ModuleConfigurationInfo.cs
- XMLUtil.cs
- DependencyPropertyKey.cs
- CollectionViewGroupRoot.cs
- MissingSatelliteAssemblyException.cs
- RawStylusInputCustomDataList.cs
- ResourceProperty.cs
- DomNameTable.cs
- QilIterator.cs
- AudioBase.cs
- PersonalizationState.cs
- ToolStripStatusLabel.cs
- ActiveXHost.cs
- _Events.cs
- XmlValueConverter.cs
- RangeExpression.cs
- Misc.cs
- UMPAttributes.cs
- InkCanvasFeedbackAdorner.cs
- DataRecordInternal.cs
- ISAPIApplicationHost.cs
- Parser.cs
- remotingproxy.cs
- ComplusEndpointConfigContainer.cs
- SqlInternalConnectionSmi.cs
- CompiledQuery.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- FilterFactory.cs
- TdsParameterSetter.cs
- DynamicRendererThreadManager.cs
- SecurityUtils.cs
- XamlValidatingReader.cs
- AccessDataSourceWizardForm.cs
- Hex.cs
- ToolStripDropDownButton.cs
- SQLBinary.cs
- SqlXmlStorage.cs
- ExpandedWrapper.cs
- ComplexPropertyEntry.cs
- CultureInfoConverter.cs
- InvariantComparer.cs
- SslStream.cs
- PtsHost.cs
- ObjectStateManager.cs
- ValidatorCompatibilityHelper.cs
- TemplatePartAttribute.cs
- DataGridCell.cs
- UnsafeNativeMethodsPenimc.cs
- XmlSchemaAppInfo.cs
- _Rfc2616CacheValidators.cs
- CharAnimationUsingKeyFrames.cs
- BindingBase.cs
- CheckBox.cs
- DocumentPageView.cs
- XmlIncludeAttribute.cs
- AuthenticationModeHelper.cs
- CodeVariableReferenceExpression.cs
- XmlDeclaration.cs
- GACIdentityPermission.cs
- XomlCompilerHelpers.cs
- PolicyException.cs
- DetailsViewDeleteEventArgs.cs
- ConnectionOrientedTransportElement.cs
- ApplicationProxyInternal.cs
- AnnotationObservableCollection.cs
- AdvancedBindingPropertyDescriptor.cs
- TextStore.cs
- ClientRuntimeConfig.cs
- StrokeSerializer.cs
- UnknownBitmapEncoder.cs
- NamespaceDecl.cs
- UnicastIPAddressInformationCollection.cs
- EntityContainer.cs
- NamedPipeTransportManager.cs
- DocumentApplication.cs
- SystemEvents.cs
- CodeEventReferenceExpression.cs
- XmlDownloadManager.cs
- RegexGroupCollection.cs
- ToolboxComponentsCreatingEventArgs.cs