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
- XmlSchemaExporter.cs
- ApplicationTrust.cs
- UnwrappedTypesXmlSerializerManager.cs
- XmlCountingReader.cs
- ImageIndexEditor.cs
- WebSysDisplayNameAttribute.cs
- SpellerError.cs
- ActivationServices.cs
- InterleavedZipPartStream.cs
- ResizeGrip.cs
- FilterableData.cs
- HostUtils.cs
- RadioButtonStandardAdapter.cs
- OutputScopeManager.cs
- LayoutEngine.cs
- RequestQueryProcessor.cs
- InputMethod.cs
- AspNetSynchronizationContext.cs
- UrlMappingsSection.cs
- OSFeature.cs
- Compress.cs
- WindowsStatic.cs
- FontWeightConverter.cs
- CodeChecksumPragma.cs
- BrowserCapabilitiesCodeGenerator.cs
- _NativeSSPI.cs
- ExtensionDataReader.cs
- PersistenceMetadataNamespace.cs
- CodeConstructor.cs
- TraceHandler.cs
- SpellerError.cs
- ArraySet.cs
- CompilationUnit.cs
- ContractDescription.cs
- EdmProviderManifest.cs
- CodeNamespaceCollection.cs
- XmlUtil.cs
- ImageIndexConverter.cs
- MD5CryptoServiceProvider.cs
- DataColumn.cs
- UxThemeWrapper.cs
- ConfigXmlComment.cs
- DataGridViewRow.cs
- PropertyPushdownHelper.cs
- WebPartVerbCollection.cs
- DelegateSerializationHolder.cs
- KeyboardDevice.cs
- TablePatternIdentifiers.cs
- NextPreviousPagerField.cs
- HMAC.cs
- EventToken.cs
- Exception.cs
- SqlParameter.cs
- CodeGen.cs
- PopupEventArgs.cs
- NullableConverter.cs
- RegexBoyerMoore.cs
- ScrollBar.cs
- SingleTagSectionHandler.cs
- EditorPartChrome.cs
- ControlBuilderAttribute.cs
- DetailsView.cs
- OrderedDictionaryStateHelper.cs
- StrongNamePublicKeyBlob.cs
- FunctionNode.cs
- PageAsyncTaskManager.cs
- Screen.cs
- CodeExpressionStatement.cs
- ProtectedProviderSettings.cs
- AnnotationAuthorChangedEventArgs.cs
- DocumentGridContextMenu.cs
- ExpressionConverter.cs
- FlowLayoutPanel.cs
- QuaternionRotation3D.cs
- FactoryRecord.cs
- SpeechUI.cs
- ExpressionVisitor.cs
- BindingsSection.cs
- RedistVersionInfo.cs
- LinkGrep.cs
- JournalEntryListConverter.cs
- MemberListBinding.cs
- WhitespaceSignificantCollectionAttribute.cs
- InfoCardService.cs
- IssuanceLicense.cs
- CultureMapper.cs
- InvalidDataException.cs
- NativeMsmqMessage.cs
- OracleColumn.cs
- GifBitmapEncoder.cs
- UrlPropertyAttribute.cs
- WsiProfilesElementCollection.cs
- XmlNamedNodeMap.cs
- UnauthorizedAccessException.cs
- EmptyControlCollection.cs
- ForEach.cs
- ToolStripRendererSwitcher.cs
- RegistrySecurity.cs
- SiteMapNodeCollection.cs
- StaticTextPointer.cs