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
- QilVisitor.cs
- ConfigXmlElement.cs
- LinearGradientBrush.cs
- GridViewColumnCollection.cs
- CodeThrowExceptionStatement.cs
- AuditLevel.cs
- RectKeyFrameCollection.cs
- DPCustomTypeDescriptor.cs
- WebHttpElement.cs
- ToolStripArrowRenderEventArgs.cs
- DataSourceXmlSubItemAttribute.cs
- MeasureItemEvent.cs
- WebPartTransformerAttribute.cs
- LoopExpression.cs
- ClipboardData.cs
- XPathDescendantIterator.cs
- BoundPropertyEntry.cs
- AlphabeticalEnumConverter.cs
- VisualProxy.cs
- TimelineGroup.cs
- IPGlobalProperties.cs
- XPathBinder.cs
- BoundPropertyEntry.cs
- RedirectionProxy.cs
- WeakHashtable.cs
- PenCursorManager.cs
- ProfileParameter.cs
- ColorConverter.cs
- ImpersonationContext.cs
- ButtonBaseAutomationPeer.cs
- PointCollection.cs
- CodeBlockBuilder.cs
- XmlAnyAttributeAttribute.cs
- EntityDataSourceWizardForm.cs
- ElapsedEventArgs.cs
- PrimitiveCodeDomSerializer.cs
- UriScheme.cs
- DefaultCommandConverter.cs
- CompensationDesigner.cs
- ZeroOpNode.cs
- QueryResponse.cs
- FixedSOMLineCollection.cs
- CodeAssignStatement.cs
- BuilderPropertyEntry.cs
- categoryentry.cs
- DependencyObject.cs
- SearchForVirtualItemEventArgs.cs
- SQLGuidStorage.cs
- ProfileManager.cs
- BidOverLoads.cs
- URLAttribute.cs
- Style.cs
- MemoryRecordBuffer.cs
- HitTestWithGeometryDrawingContextWalker.cs
- SecurityContextTokenValidationException.cs
- ObjectIDGenerator.cs
- TimeoutValidationAttribute.cs
- DataGridViewImageCell.cs
- SqlInternalConnection.cs
- ErrorWebPart.cs
- ScrollItemPattern.cs
- BlurBitmapEffect.cs
- Int32AnimationUsingKeyFrames.cs
- Subtree.cs
- InputBuffer.cs
- ContainerParaClient.cs
- ManagedWndProcTracker.cs
- Schema.cs
- SmtpCommands.cs
- PrintPreviewGraphics.cs
- SmtpMail.cs
- AspCompat.cs
- AddInDeploymentState.cs
- SqlCrossApplyToCrossJoin.cs
- AssemblySettingAttributes.cs
- DeobfuscatingStream.cs
- sapiproxy.cs
- TextBoxLine.cs
- BitmapSizeOptions.cs
- RIPEMD160.cs
- EncodingNLS.cs
- CatalogPartCollection.cs
- DataTableTypeConverter.cs
- InstanceData.cs
- SqlAliasesReferenced.cs
- SqlTransaction.cs
- ToolStripOverflowButton.cs
- CellLabel.cs
- CheckPair.cs
- CodeAttributeArgument.cs
- ScriptMethodAttribute.cs
- ValidationResult.cs
- HttpServerVarsCollection.cs
- OrderedDictionary.cs
- TypePropertyEditor.cs
- PersistenceMetadataNamespace.cs
- MsmqTransportElement.cs
- ConfigXmlElement.cs
- XmlWhitespace.cs
- WebServiceBindingAttribute.cs