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
- ComMethodElementCollection.cs
- ZipIOExtraFieldElement.cs
- HwndHostAutomationPeer.cs
- WindowsToolbarAsMenu.cs
- SpellerError.cs
- AsymmetricAlgorithm.cs
- TemplatedWizardStep.cs
- CodeDomDecompiler.cs
- RSAOAEPKeyExchangeDeformatter.cs
- LinkedResource.cs
- DataControlFieldHeaderCell.cs
- XmlDataSourceNodeDescriptor.cs
- CodeIdentifier.cs
- ToolboxService.cs
- CacheOutputQuery.cs
- MembershipSection.cs
- WindowsFormsSectionHandler.cs
- CreateUserWizardStep.cs
- InvokeGenerator.cs
- ToolboxItemFilterAttribute.cs
- IdentityHolder.cs
- InvalidFilterCriteriaException.cs
- TagMapCollection.cs
- XmlEnumAttribute.cs
- Merger.cs
- IProvider.cs
- TemplateParser.cs
- EntityViewGenerator.cs
- DropShadowBitmapEffect.cs
- StubHelpers.cs
- UseAttributeSetsAction.cs
- PackageStore.cs
- validationstate.cs
- ContentValidator.cs
- LinqDataSourceDisposeEventArgs.cs
- ActiveDocumentEvent.cs
- SubMenuStyle.cs
- Highlights.cs
- HWStack.cs
- ClientBuildManagerTypeDescriptionProviderBridge.cs
- XmlSerializerImportOptions.cs
- sqlnorm.cs
- ClientBuildManager.cs
- DocumentViewerAutomationPeer.cs
- MouseBinding.cs
- SocketCache.cs
- AuthorizationPolicyTypeElement.cs
- DelegatingTypeDescriptionProvider.cs
- CustomSignedXml.cs
- Component.cs
- LineServicesRun.cs
- FileLoadException.cs
- ViewValidator.cs
- TypeSemantics.cs
- SecurityValidationBehavior.cs
- PasswordRecovery.cs
- DropShadowBitmapEffect.cs
- ContentPlaceHolderDesigner.cs
- WindowsListViewSubItem.cs
- CultureSpecificCharacterBufferRange.cs
- ToolStripHighContrastRenderer.cs
- AmbientValueAttribute.cs
- AssemblyCache.cs
- ApplicationFileParser.cs
- SoapAttributeAttribute.cs
- DataGridAddNewRow.cs
- SystemIcons.cs
- ObjectMemberMapping.cs
- WebPartCollection.cs
- GlyphCache.cs
- EUCJPEncoding.cs
- TextEndOfParagraph.cs
- DictionarySurrogate.cs
- MergeLocalizationDirectives.cs
- CalendarTable.cs
- CounterSampleCalculator.cs
- EditorServiceContext.cs
- ExpressionBuilder.cs
- XmlSchemas.cs
- MouseActionValueSerializer.cs
- PersonalizationAdministration.cs
- JoinTreeNode.cs
- GradientStop.cs
- HtmlTableCell.cs
- AnalyzedTree.cs
- Mutex.cs
- StandardBindingReliableSessionElement.cs
- GridProviderWrapper.cs
- HierarchicalDataSourceConverter.cs
- ObjectDataSourceMethodEventArgs.cs
- ScaleTransform3D.cs
- RegexCharClass.cs
- ControlValuePropertyAttribute.cs
- SHA1.cs
- TreeNodeBindingDepthConverter.cs
- SoapElementAttribute.cs
- DropDownButton.cs
- HttpHandlersSection.cs
- ObjectHandle.cs
- PropertyMappingExceptionEventArgs.cs