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
- XmlNode.cs
- TimeZone.cs
- Triplet.cs
- dbenumerator.cs
- CancelEventArgs.cs
- Gdiplus.cs
- RotateTransform.cs
- MemoryRecordBuffer.cs
- CodeObject.cs
- CodePageEncoding.cs
- UnsafeNativeMethods.cs
- Window.cs
- FrameworkElementFactory.cs
- ObjectDataSourceChooseTypePanel.cs
- GroupBoxDesigner.cs
- Base64WriteStateInfo.cs
- ApplicationManager.cs
- LoginDesignerUtil.cs
- CustomTypeDescriptor.cs
- DataStreamFromComStream.cs
- Win32PrintDialog.cs
- FontStretches.cs
- SQLInt16.cs
- DecimalConstantAttribute.cs
- XmlSiteMapProvider.cs
- CompilerWrapper.cs
- UpdateCompiler.cs
- SqlUserDefinedAggregateAttribute.cs
- UpdateExpressionVisitor.cs
- ConfigXmlText.cs
- TimeZoneNotFoundException.cs
- GridViewColumnHeader.cs
- JsonByteArrayDataContract.cs
- RowToParametersTransformer.cs
- InvokeBase.cs
- PKCS1MaskGenerationMethod.cs
- StatusBar.cs
- CssTextWriter.cs
- HostingEnvironment.cs
- DynamicResourceExtensionConverter.cs
- X509LogoTypeExtension.cs
- SchemaElement.cs
- XPathBuilder.cs
- BaseHashHelper.cs
- RedistVersionInfo.cs
- PointF.cs
- DataListCommandEventArgs.cs
- PropertyTabChangedEvent.cs
- ScrollChangedEventArgs.cs
- PathGeometry.cs
- StaticFileHandler.cs
- Command.cs
- ToolStripLocationCancelEventArgs.cs
- ZipPackagePart.cs
- UiaCoreApi.cs
- EncodingTable.cs
- PointAnimationClockResource.cs
- HeaderedContentControl.cs
- DbProviderFactories.cs
- Transform.cs
- HtmlAnchor.cs
- XamlPointCollectionSerializer.cs
- RoleManagerModule.cs
- SQLBytes.cs
- WebPartEditorCancelVerb.cs
- EdmToObjectNamespaceMap.cs
- WebPartEditVerb.cs
- DataTableCollection.cs
- DataGridRow.cs
- TableLayoutColumnStyleCollection.cs
- BinaryConverter.cs
- QilFactory.cs
- ControllableStoryboardAction.cs
- ManualResetEvent.cs
- ProcessManager.cs
- XmlKeywords.cs
- SecurityRequiresReviewAttribute.cs
- FixedSOMLineRanges.cs
- Script.cs
- DbResourceAllocator.cs
- BinaryCommonClasses.cs
- DebugView.cs
- PersonalizationStateQuery.cs
- IisTraceWebEventProvider.cs
- CommonXSendMessage.cs
- UndoManager.cs
- BinaryObjectWriter.cs
- SerTrace.cs
- QueueProcessor.cs
- ResourcePart.cs
- WebPartAddingEventArgs.cs
- EnumBuilder.cs
- GeneratedView.cs
- ConditionalAttribute.cs
- IndentedWriter.cs
- AuthorizationSection.cs
- CustomAttribute.cs
- PathFigureCollection.cs
- AttachmentService.cs
- ToolStripContainer.cs