Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } } }
Link Menu
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SettingsProviderCollection.cs
- FormViewUpdateEventArgs.cs
- UInt64Converter.cs
- LocatorPartList.cs
- SqlDataSourceConfigureSortForm.cs
- ResourceReferenceExpression.cs
- DataSpaceManager.cs
- DataGridTableCollection.cs
- DefaultEventAttribute.cs
- XPathNavigatorKeyComparer.cs
- AssemblyInfo.cs
- DataSourceXmlTextReader.cs
- SafeArrayTypeMismatchException.cs
- EqualityArray.cs
- MemberExpression.cs
- NativeMethods.cs
- System.Data.OracleClient_BID.cs
- FontResourceCache.cs
- ContentValidator.cs
- PermissionSetTriple.cs
- AttachedPropertyMethodSelector.cs
- ValidationEventArgs.cs
- Boolean.cs
- CompoundFileStorageReference.cs
- TextServicesCompartmentEventSink.cs
- XmlAtomErrorReader.cs
- DEREncoding.cs
- AdCreatedEventArgs.cs
- SizeFConverter.cs
- DataBindEngine.cs
- GetReadStreamResult.cs
- BaseDataBoundControl.cs
- FusionWrap.cs
- EntityDataSourceValidationException.cs
- VectorCollectionValueSerializer.cs
- RectangleF.cs
- UrlParameterReader.cs
- DataGridViewRowHeaderCell.cs
- Point3DCollectionValueSerializer.cs
- graph.cs
- sqlser.cs
- RuntimeWrappedException.cs
- CodeFieldReferenceExpression.cs
- DiagnosticTrace.cs
- ObjectDataSourceView.cs
- CodeArrayIndexerExpression.cs
- GridViewRow.cs
- AnnotationStore.cs
- WmlCalendarAdapter.cs
- PanelDesigner.cs
- SafeHandle.cs
- WebServiceMethodData.cs
- MonitoringDescriptionAttribute.cs
- Rect3DValueSerializer.cs
- ManagementScope.cs
- DynamicMethod.cs
- EdmValidator.cs
- ActionFrame.cs
- SessionEndedEventArgs.cs
- CommandTreeTypeHelper.cs
- InternalConfigHost.cs
- BinaryVersion.cs
- ClientConvert.cs
- InstanceValue.cs
- EditingScopeUndoUnit.cs
- WorkflowMarkupSerializerMapping.cs
- XmlBinaryReader.cs
- HitTestDrawingContextWalker.cs
- ChtmlTextWriter.cs
- ChineseLunisolarCalendar.cs
- NativeMethods.cs
- DeploymentExceptionMapper.cs
- DoubleIndependentAnimationStorage.cs
- EpmSourceTree.cs
- XmlReader.cs
- OpenTypeCommon.cs
- XmlDataSourceDesigner.cs
- _RegBlobWebProxyDataBuilder.cs
- ScrollItemProviderWrapper.cs
- TimeSpanStorage.cs
- PropertyGrid.cs
- DataGridAddNewRow.cs
- DependentList.cs
- FieldDescriptor.cs
- DataGridToolTip.cs
- WebPartVerbsEventArgs.cs
- DataReceivedEventArgs.cs
- securitycriticaldataClass.cs
- DataList.cs
- SqlRecordBuffer.cs
- CurrencyWrapper.cs
- WindowsScrollBarBits.cs
- ListenerSingletonConnectionReader.cs
- MoveSizeWinEventHandler.cs
- RuleConditionDialog.cs
- SafeThreadHandle.cs
- ClientRolePrincipal.cs
- RandomDelayQueuedSendsAsyncResult.cs
- OdbcReferenceCollection.cs
- x509utils.cs