Code:
/ DotNET / DotNET / 8.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
- BoundingRectTracker.cs
- Int32Collection.cs
- WasEndpointConfigContainer.cs
- SelectionWordBreaker.cs
- WebPartsSection.cs
- XhtmlBasicObjectListAdapter.cs
- Transform3D.cs
- TextLine.cs
- DataException.cs
- Triangle.cs
- TypeConverterMarkupExtension.cs
- StringKeyFrameCollection.cs
- DrawListViewColumnHeaderEventArgs.cs
- RulePatternOps.cs
- PriorityQueue.cs
- WebMessageEncoderFactory.cs
- NativeMethods.cs
- ResourcePool.cs
- Options.cs
- MessageDescriptionCollection.cs
- RtfToken.cs
- EmbossBitmapEffect.cs
- ReservationCollection.cs
- FileInfo.cs
- MouseBinding.cs
- GridViewRowPresenter.cs
- ConfigurationStrings.cs
- ProxyWebPartManager.cs
- FixedSOMTableCell.cs
- FontDialog.cs
- DropShadowBitmapEffect.cs
- ShowExpandedMultiValueConverter.cs
- Nullable.cs
- ExtensionWindowHeader.cs
- TogglePattern.cs
- ClientScriptManager.cs
- HtmlControlPersistable.cs
- AlternationConverter.cs
- MessageDecoder.cs
- FormViewModeEventArgs.cs
- HttpClientChannel.cs
- CategoryValueConverter.cs
- Axis.cs
- OdbcEnvironment.cs
- TypeLibConverter.cs
- PointLight.cs
- SoapExtension.cs
- UserControlAutomationPeer.cs
- ChannelTraceRecord.cs
- DecoderReplacementFallback.cs
- TextTreeRootTextBlock.cs
- BinarySecretKeyIdentifierClause.cs
- CompatibleIComparer.cs
- NamespaceMapping.cs
- WebReferencesBuildProvider.cs
- OperationInvokerBehavior.cs
- MasterPageParser.cs
- ExpandCollapsePattern.cs
- SqlStream.cs
- XmlTextAttribute.cs
- QueryAccessibilityHelpEvent.cs
- IndexedEnumerable.cs
- SecurityPolicySection.cs
- EntityDescriptor.cs
- ListBindingHelper.cs
- WebPartUtil.cs
- OleDbException.cs
- UdpAnnouncementEndpoint.cs
- HttpContextWrapper.cs
- UshortList2.cs
- FlowDocumentPaginator.cs
- EntityTemplateUserControl.cs
- ParsedRoute.cs
- UnlockInstanceCommand.cs
- Int32Storage.cs
- SegmentTree.cs
- InputLangChangeRequestEvent.cs
- DataTableReader.cs
- SQLBinaryStorage.cs
- FamilyMapCollection.cs
- ValueUnavailableException.cs
- QueryAccessibilityHelpEvent.cs
- BinHexDecoder.cs
- Ops.cs
- DockPatternIdentifiers.cs
- WebConfigurationManager.cs
- XmlDataSourceView.cs
- EncoderParameters.cs
- HelpKeywordAttribute.cs
- ImageDrawing.cs
- SynchronizingStream.cs
- TypeDescriptor.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- BuildManagerHost.cs
- MarshalDirectiveException.cs
- OleDbConnectionFactory.cs
- HandleRef.cs
- ValidatorCollection.cs
- CachedCompositeFamily.cs
- ToolTip.cs