Code:
/ DotNET / DotNET / 8.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
- RtfToXamlLexer.cs
- RawStylusInput.cs
- StateRuntime.cs
- OracleParameter.cs
- Lease.cs
- SqlException.cs
- XmlNodeChangedEventArgs.cs
- CodeTypeReference.cs
- FullTextBreakpoint.cs
- ParentQuery.cs
- SmtpLoginAuthenticationModule.cs
- SubMenuStyle.cs
- XmlAnyElementAttributes.cs
- DetailsView.cs
- MailMessageEventArgs.cs
- PrivateFontCollection.cs
- CryptoKeySecurity.cs
- BitmapCodecInfo.cs
- CalendarDay.cs
- PeerCredentialElement.cs
- ImportDesigner.xaml.cs
- EditingCommands.cs
- IndexOutOfRangeException.cs
- SearchForVirtualItemEventArgs.cs
- IsolatedStorageFileStream.cs
- MediaCommands.cs
- PageParser.cs
- SHA1CryptoServiceProvider.cs
- TextEffect.cs
- DataTransferEventArgs.cs
- IndexingContentUnit.cs
- ContainerFilterService.cs
- ToolStripGripRenderEventArgs.cs
- DateTimeFormat.cs
- ToggleButton.cs
- UrlAuthFailedErrorFormatter.cs
- DocumentSchemaValidator.cs
- ImageSourceConverter.cs
- VideoDrawing.cs
- infer.cs
- SqlCacheDependencyDatabase.cs
- EventArgs.cs
- ResourcePermissionBase.cs
- EmissiveMaterial.cs
- SafeProcessHandle.cs
- MimeTypeAttribute.cs
- IndicShape.cs
- RootDesignerSerializerAttribute.cs
- DelegatingTypeDescriptionProvider.cs
- ObjectQueryState.cs
- StorageFunctionMapping.cs
- TypeConstant.cs
- BamlTreeUpdater.cs
- XmlTextReaderImpl.cs
- WebPartMovingEventArgs.cs
- UriTemplateClientFormatter.cs
- OracleBoolean.cs
- ConnectionStringsExpressionBuilder.cs
- Visitor.cs
- ExportOptions.cs
- Security.cs
- RequestCacheEntry.cs
- XmlBaseWriter.cs
- EntityDesignerBuildProvider.cs
- SourceSwitch.cs
- _NTAuthentication.cs
- ClockController.cs
- XsdDataContractImporter.cs
- InlinedAggregationOperator.cs
- FrameworkElement.cs
- FlagPanel.cs
- SqlComparer.cs
- WebScriptServiceHostFactory.cs
- SmtpFailedRecipientException.cs
- KeyPullup.cs
- Vector.cs
- UndoUnit.cs
- ExtentKey.cs
- TreeViewImageIndexConverter.cs
- SmiGettersStream.cs
- PathData.cs
- WebSysDefaultValueAttribute.cs
- DataGridViewColumn.cs
- AnnotationObservableCollection.cs
- ObjectStateEntry.cs
- TableCellAutomationPeer.cs
- LoginCancelEventArgs.cs
- Simplifier.cs
- SymbolType.cs
- GroupStyle.cs
- FilterQuery.cs
- MasterPage.cs
- WorkflowRequestContext.cs
- LOSFormatter.cs
- UIntPtr.cs
- HtmlSelect.cs
- CryptoProvider.cs
- SocketPermission.cs
- XmlDataImplementation.cs
- XmlAttributeOverrides.cs