Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WebServiceReceive.cs
- PropertyChangingEventArgs.cs
- DocumentPageHost.cs
- MatrixCamera.cs
- PointAnimationUsingKeyFrames.cs
- WebPartMenu.cs
- KernelTypeValidation.cs
- FixedDocument.cs
- CodeMethodMap.cs
- WindowsListViewScroll.cs
- TogglePatternIdentifiers.cs
- CodeArrayIndexerExpression.cs
- EntitySqlQueryCacheKey.cs
- XmlWriter.cs
- PreviewPrintController.cs
- MergePropertyDescriptor.cs
- ResourceAttributes.cs
- SafeTimerHandle.cs
- PerformanceCounterPermissionEntry.cs
- SignedInfo.cs
- AppLevelCompilationSectionCache.cs
- MoveSizeWinEventHandler.cs
- newitemfactory.cs
- WebPartConnectVerb.cs
- ListViewItemEventArgs.cs
- GlyphElement.cs
- CornerRadiusConverter.cs
- XmlIgnoreAttribute.cs
- EdmValidator.cs
- RenamedEventArgs.cs
- ProcessModule.cs
- DebugView.cs
- ToolStripPanelDesigner.cs
- Point3DAnimationBase.cs
- WebSysDisplayNameAttribute.cs
- GorillaCodec.cs
- HttpValueCollection.cs
- VarInfo.cs
- HelloMessage11.cs
- filewebresponse.cs
- SpotLight.cs
- DefaultPrintController.cs
- SqlCacheDependencySection.cs
- State.cs
- Decoder.cs
- ControlBuilderAttribute.cs
- InputLanguageEventArgs.cs
- SingleObjectCollection.cs
- TogglePatternIdentifiers.cs
- XPathDocument.cs
- TagNameToTypeMapper.cs
- BinaryWriter.cs
- SrgsDocument.cs
- PartialTrustVisibleAssemblyCollection.cs
- SelectionWordBreaker.cs
- XmlSchemaComplexContentRestriction.cs
- contentDescriptor.cs
- CodeNamespaceCollection.cs
- ExpressionTextBoxAutomationPeer.cs
- CodeTypeReference.cs
- Translator.cs
- SqlOuterApplyReducer.cs
- Event.cs
- CompilationLock.cs
- IEnumerable.cs
- ChooseAction.cs
- PriorityQueue.cs
- AttributeCollection.cs
- AuthorizationRule.cs
- PrintDialogDesigner.cs
- QuaternionValueSerializer.cs
- CharacterString.cs
- ResourceReferenceExpression.cs
- LessThanOrEqual.cs
- ToolZone.cs
- LineBreak.cs
- List.cs
- odbcmetadatacollectionnames.cs
- DataObjectMethodAttribute.cs
- MinimizableAttributeTypeConverter.cs
- RepeaterItemEventArgs.cs
- TranslateTransform.cs
- TreeBuilderBamlTranslator.cs
- CodeAttributeDeclaration.cs
- AppDomainShutdownMonitor.cs
- TypeListConverter.cs
- TextTreeExtractElementUndoUnit.cs
- dataSvcMapFileLoader.cs
- TriggerAction.cs
- CategoryAttribute.cs
- TreeNode.cs
- SafeArrayTypeMismatchException.cs
- ManifestResourceInfo.cs
- ErrorHandler.cs
- SafeLibraryHandle.cs
- CachedCompositeFamily.cs
- ConnectionsZone.cs
- ProfileGroupSettings.cs
- DecimalConstantAttribute.cs
- NonVisualControlAttribute.cs