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
- PackageRelationshipCollection.cs
- ProgressiveCrcCalculatingStream.cs
- QilCloneVisitor.cs
- SafeNativeMethods.cs
- FixUp.cs
- GuidConverter.cs
- PlaceHolder.cs
- AssertFilter.cs
- UrlAuthFailedErrorFormatter.cs
- SamlAuthenticationStatement.cs
- DocumentPaginator.cs
- TypeForwardedToAttribute.cs
- DbgCompiler.cs
- CompileLiteralTextParser.cs
- OleDbInfoMessageEvent.cs
- DocumentSequence.cs
- HttpFileCollectionWrapper.cs
- ContentDisposition.cs
- Size.cs
- XmlILOptimizerVisitor.cs
- BitStream.cs
- RuleSetReference.cs
- LayoutEvent.cs
- MenuBindingsEditorForm.cs
- ModelTreeManager.cs
- XmlEntity.cs
- TypeExtensionSerializer.cs
- DropTarget.cs
- formatter.cs
- ExpressionList.cs
- DependencyStoreSurrogate.cs
- OracleTimeSpan.cs
- TextTreeInsertUndoUnit.cs
- EntityConnectionStringBuilderItem.cs
- DesignerTransactionCloseEvent.cs
- SecondaryIndexDefinition.cs
- HostingEnvironmentSection.cs
- PageTheme.cs
- SupportsEventValidationAttribute.cs
- ReturnEventArgs.cs
- BrowserCapabilitiesFactoryBase.cs
- MouseOverProperty.cs
- DelegatedStream.cs
- ToolboxComponentsCreatedEventArgs.cs
- KnownColorTable.cs
- UdpRetransmissionSettings.cs
- Model3D.cs
- OdbcConnectionFactory.cs
- DataObject.cs
- PopupRoot.cs
- XmlSchemaValidationException.cs
- TriggerActionCollection.cs
- NavigationProgressEventArgs.cs
- ChannelReliableSession.cs
- TextBoxAutomationPeer.cs
- PerformanceCounterManager.cs
- ServiceModelSecurityTokenRequirement.cs
- TableStyle.cs
- GroupItem.cs
- ListBoxDesigner.cs
- arabicshape.cs
- InstanceContext.cs
- SmtpReplyReaderFactory.cs
- CssStyleCollection.cs
- FactoryId.cs
- GridViewAutomationPeer.cs
- HeaderUtility.cs
- PrinterResolution.cs
- BaseAppDomainProtocolHandler.cs
- CodeStatementCollection.cs
- RenderData.cs
- DataSourceHelper.cs
- DataGridViewSortCompareEventArgs.cs
- AuthorizationRuleCollection.cs
- SiteMap.cs
- TransportDefaults.cs
- EntityDataSourceMemberPath.cs
- UIPropertyMetadata.cs
- SevenBitStream.cs
- AppliesToBehaviorDecisionTable.cs
- DateTimeValueSerializer.cs
- storagemappingitemcollection.viewdictionary.cs
- DataObjectCopyingEventArgs.cs
- RowCache.cs
- AlgoModule.cs
- Convert.cs
- WebPartTransformer.cs
- SpecularMaterial.cs
- PtsHelper.cs
- ConsumerConnectionPointCollection.cs
- XmlSchemaSimpleContentExtension.cs
- MailMessageEventArgs.cs
- TableLayoutSettingsTypeConverter.cs
- WorkflowServiceHost.cs
- SelectorItemAutomationPeer.cs
- WindowsGraphics2.cs
- PersonalizationProviderHelper.cs
- ReflectPropertyDescriptor.cs
- IIS7UserPrincipal.cs
- TypeUtils.cs