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
- DbDataReader.cs
- StateItem.cs
- COM2PropertyPageUITypeConverter.cs
- ConfigurationConverterBase.cs
- FormViewPageEventArgs.cs
- FontFamilyValueSerializer.cs
- AppSettingsSection.cs
- HttpStreamXmlDictionaryWriter.cs
- CodePropertyReferenceExpression.cs
- SymmetricAlgorithm.cs
- StylusPointPropertyId.cs
- DelegateSerializationHolder.cs
- Type.cs
- ImageSourceConverter.cs
- ImageUrlEditor.cs
- TrackingProfile.cs
- NotifyInputEventArgs.cs
- ContentPropertyAttribute.cs
- MatrixConverter.cs
- TextEditorDragDrop.cs
- ReadWriteSpinLock.cs
- Stopwatch.cs
- Rethrow.cs
- DefaultTraceListener.cs
- _NtlmClient.cs
- NameSpaceExtractor.cs
- Light.cs
- TypeResolver.cs
- ArrayConverter.cs
- ManagementObjectSearcher.cs
- Size3DValueSerializer.cs
- IxmlLineInfo.cs
- Exceptions.cs
- EqualityComparer.cs
- SByteStorage.cs
- InternalBufferOverflowException.cs
- ScheduleChanges.cs
- StylusEventArgs.cs
- StateMachineDesignerPaint.cs
- ConfigurationSectionGroup.cs
- GifBitmapDecoder.cs
- SubclassTypeValidator.cs
- PageRanges.cs
- ColorContextHelper.cs
- SchemaImporterExtensionElement.cs
- UserControlAutomationPeer.cs
- sqlcontext.cs
- LOSFormatter.cs
- Int32Converter.cs
- ListViewDeleteEventArgs.cs
- NumericUpDownAccelerationCollection.cs
- PerformanceCounterPermissionEntryCollection.cs
- CompilationLock.cs
- SynchronousChannelMergeEnumerator.cs
- HtmlHead.cs
- BitmapCodecInfoInternal.cs
- CalendarDataBindingHandler.cs
- AnnotationHelper.cs
- ExpandedProjectionNode.cs
- MetadataArtifactLoaderResource.cs
- ImageMapEventArgs.cs
- ToolStripLabel.cs
- CustomTypeDescriptor.cs
- EnvironmentPermission.cs
- DelegatingTypeDescriptionProvider.cs
- BitmapData.cs
- WorkerRequest.cs
- PropertyPath.cs
- PropertySourceInfo.cs
- DirectoryNotFoundException.cs
- AstTree.cs
- SoapClientProtocol.cs
- BitmapSizeOptions.cs
- DateTimeFormatInfoScanner.cs
- ChangeTracker.cs
- DataGridViewColumnTypePicker.cs
- CodePageUtils.cs
- ApplyTemplatesAction.cs
- __FastResourceComparer.cs
- LayoutEditorPart.cs
- CharAnimationUsingKeyFrames.cs
- DefinitionBase.cs
- KnownTypesProvider.cs
- ValidatorCollection.cs
- SamlAttributeStatement.cs
- IsolatedStoragePermission.cs
- DataGridViewLayoutData.cs
- SerialPinChanges.cs
- Console.cs
- EmissiveMaterial.cs
- IndexOutOfRangeException.cs
- DateTimeParse.cs
- EntityDataSourceView.cs
- FixedStringLookup.cs
- StateManager.cs
- SqlBooleanizer.cs
- updatecommandorderer.cs
- XmlArrayItemAttributes.cs
- DesignerCategoryAttribute.cs
- LiteralControl.cs