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
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FormsAuthentication.cs
- tabpagecollectioneditor.cs
- InvalidDocumentContentsException.cs
- NativeWrapper.cs
- DataFieldConverter.cs
- MediaTimeline.cs
- ObjectDataSourceView.cs
- SiteMapHierarchicalDataSourceView.cs
- DataGridBoundColumn.cs
- LinqDataSourceDisposeEventArgs.cs
- NotifyIcon.cs
- RowToFieldTransformer.cs
- CircleHotSpot.cs
- MsmqAppDomainProtocolHandler.cs
- SafeThemeHandle.cs
- AppDomainProtocolHandler.cs
- TreeBuilderBamlTranslator.cs
- DataGridRow.cs
- ProvidersHelper.cs
- PageStatePersister.cs
- ButtonChrome.cs
- TrackingServices.cs
- XmlElementAttribute.cs
- XNameConverter.cs
- BoundPropertyEntry.cs
- SqlInternalConnectionTds.cs
- EntityParameterCollection.cs
- TimeIntervalCollection.cs
- TextServicesLoader.cs
- ConsoleTraceListener.cs
- OleTxTransactionInfo.cs
- DataGridRow.cs
- ClockGroup.cs
- TextEditorCopyPaste.cs
- recordstatescratchpad.cs
- XsltCompileContext.cs
- EventLogPermissionEntry.cs
- XPathNode.cs
- TextInfo.cs
- EllipticalNodeOperations.cs
- MetadataProperty.cs
- XdrBuilder.cs
- InstanceDescriptor.cs
- DefaultPropertyAttribute.cs
- WebConfigurationHost.cs
- DocumentSequence.cs
- EnvironmentPermission.cs
- HtmlSelectionListAdapter.cs
- TableLayoutSettings.cs
- TemplateBindingExtensionConverter.cs
- SizeChangedEventArgs.cs
- ResizeBehavior.cs
- SystemShuttingDownException.cs
- DataGridTextBox.cs
- HttpModuleActionCollection.cs
- GradientBrush.cs
- dataobject.cs
- TextMetrics.cs
- OrderPreservingPipeliningSpoolingTask.cs
- ISAPIApplicationHost.cs
- DynamicDiscoSearcher.cs
- CodeDOMProvider.cs
- OleDbCommand.cs
- ContainerParagraph.cs
- ProcessModelSection.cs
- XmlName.cs
- ISFClipboardData.cs
- mil_commands.cs
- HtmlWindow.cs
- AuthenticatingEventArgs.cs
- RequestCacheValidator.cs
- Menu.cs
- Reference.cs
- UnsafeNativeMethodsMilCoreApi.cs
- JpegBitmapEncoder.cs
- CookieProtection.cs
- BaseParser.cs
- FormsIdentity.cs
- UmAlQuraCalendar.cs
- ClientTargetCollection.cs
- ActivityBuilderXamlWriter.cs
- HttpWebResponse.cs
- ClientTargetSection.cs
- DynamicObjectAccessor.cs
- PartitionResolver.cs
- BrowserDefinition.cs
- ReverseInheritProperty.cs
- __TransparentProxy.cs
- Policy.cs
- login.cs
- AggregationMinMaxHelpers.cs
- EditingScope.cs
- UndoManager.cs
- GlyphRun.cs
- PageThemeParser.cs
- Hashtable.cs
- TextSimpleMarkerProperties.cs
- ElementFactory.cs
- cookiecontainer.cs
- WasEndpointConfigContainer.cs