Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Runtime / CompilerServices / FixedBufferAttribute.cs / 1305376 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ChannelHandler.cs
- CodeCastExpression.cs
- WhitespaceRuleLookup.cs
- XmlReaderDelegator.cs
- COM2TypeInfoProcessor.cs
- Canvas.cs
- DSASignatureFormatter.cs
- RichTextBoxConstants.cs
- WrappedIUnknown.cs
- HttpDictionary.cs
- NotImplementedException.cs
- DtdParser.cs
- DataGridGeneralPage.cs
- BatchParser.cs
- Timer.cs
- ActivityAction.cs
- TempEnvironment.cs
- MultiPageTextView.cs
- SingleTagSectionHandler.cs
- PropertyMapper.cs
- ISAPIApplicationHost.cs
- DbConnectionStringBuilder.cs
- SystemNetworkInterface.cs
- SecurityElement.cs
- CodePageEncoding.cs
- ColumnBinding.cs
- XPathMultyIterator.cs
- DownloadProgressEventArgs.cs
- _Connection.cs
- WSSecureConversation.cs
- ToolStripMenuItem.cs
- XmlAttributeProperties.cs
- EntityDataSourceState.cs
- SqlDependency.cs
- DataServiceCollectionOfT.cs
- XmlAttributeAttribute.cs
- NotSupportedException.cs
- FormViewCommandEventArgs.cs
- XamlTreeBuilder.cs
- base64Transforms.cs
- SwitchElementsCollection.cs
- IndexOutOfRangeException.cs
- XmlSchemaIdentityConstraint.cs
- DataSourceHelper.cs
- TextTreeInsertElementUndoUnit.cs
- FormView.cs
- GridItemCollection.cs
- AspNetPartialTrustHelpers.cs
- LeftCellWrapper.cs
- BaseCAMarshaler.cs
- Tablet.cs
- Listbox.cs
- GenerateScriptTypeAttribute.cs
- TextRangeEditTables.cs
- DrawingState.cs
- ExtensionQuery.cs
- Selection.cs
- ListBoxItemAutomationPeer.cs
- ProtocolsConfigurationHandler.cs
- SqlCharStream.cs
- HealthMonitoringSection.cs
- SecurityPermission.cs
- Error.cs
- MultiView.cs
- EncoderParameters.cs
- TextTreeNode.cs
- ThreadAttributes.cs
- SessionStateSection.cs
- BitmapDecoder.cs
- ExtenderControl.cs
- XComponentModel.cs
- RandomDelaySendsAsyncResult.cs
- HttpAsyncResult.cs
- MediaTimeline.cs
- CodePropertyReferenceExpression.cs
- AQNBuilder.cs
- CollectionBuilder.cs
- HyperlinkAutomationPeer.cs
- SimpleTableProvider.cs
- SoapInteropTypes.cs
- DbParameterCollectionHelper.cs
- StorageMappingFragment.cs
- Facet.cs
- DecoderFallbackWithFailureFlag.cs
- XamlToRtfParser.cs
- AdRotator.cs
- ClientTargetCollection.cs
- Point3DConverter.cs
- SymDocumentType.cs
- WebPartCollection.cs
- VectorCollectionConverter.cs
- ConfigurationHelpers.cs
- XmlAttributeOverrides.cs
- SafeNativeMethods.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- UniqueIdentifierService.cs
- TaskForm.cs
- ApplicationServiceManager.cs
- DateTimeUtil.cs
- FlowLayoutSettings.cs