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
- MethodAccessException.cs
- Argument.cs
- FontUnitConverter.cs
- StateManagedCollection.cs
- LineGeometry.cs
- EnumUnknown.cs
- KeyFrames.cs
- IODescriptionAttribute.cs
- CqlIdentifiers.cs
- CompiledRegexRunner.cs
- MembershipPasswordException.cs
- ToolStripContentPanel.cs
- FontSource.cs
- OleDbDataReader.cs
- SettingsSection.cs
- TreeSet.cs
- CheckBoxBaseAdapter.cs
- WindowsListViewItem.cs
- RegexReplacement.cs
- PerformanceCounter.cs
- PatternMatcher.cs
- DelimitedListTraceListener.cs
- Char.cs
- RegistrySecurity.cs
- parserscommon.cs
- FocusChangedEventArgs.cs
- ConfigXmlSignificantWhitespace.cs
- SchemaType.cs
- bindurihelper.cs
- CodeConditionStatement.cs
- SqlReferenceCollection.cs
- RunWorkerCompletedEventArgs.cs
- DeflateEmulationStream.cs
- CodeArgumentReferenceExpression.cs
- ReflectionPermission.cs
- wmiprovider.cs
- RelativeSource.cs
- Padding.cs
- ApplicationSecurityInfo.cs
- ConfigurationPermission.cs
- SourceItem.cs
- HostedElements.cs
- GAC.cs
- altserialization.cs
- XmlSubtreeReader.cs
- SuppressMergeCheckAttribute.cs
- GlobalProxySelection.cs
- X509ServiceCertificateAuthenticationElement.cs
- SafeNativeMethodsCLR.cs
- ViewCellSlot.cs
- documentsequencetextcontainer.cs
- BehaviorEditorPart.cs
- GeneratedView.cs
- ScriptingJsonSerializationSection.cs
- FontFamilyIdentifier.cs
- WebUtil.cs
- DependencyPropertyAttribute.cs
- ListBase.cs
- DoWhile.cs
- VerifyHashRequest.cs
- HttpListenerException.cs
- IfAction.cs
- GPRECTF.cs
- CodePageUtils.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- XpsFilter.cs
- AxisAngleRotation3D.cs
- ListViewTableCell.cs
- TemplateComponentConnector.cs
- RequestCachePolicy.cs
- DetectRunnableInstancesTask.cs
- HttpRuntime.cs
- SBCSCodePageEncoding.cs
- CreateUserWizard.cs
- HttpCachePolicyWrapper.cs
- BitmapMetadataEnumerator.cs
- XamlTypeMapper.cs
- ConditionalAttribute.cs
- XmlFormatReaderGenerator.cs
- DynamicILGenerator.cs
- StackBuilderSink.cs
- Pens.cs
- WindowInteropHelper.cs
- MobileErrorInfo.cs
- URLMembershipCondition.cs
- InvokePattern.cs
- BaseTemplateCodeDomTreeGenerator.cs
- Token.cs
- CompositeActivityCodeGenerator.cs
- SoapFault.cs
- WinEventTracker.cs
- WinInetCache.cs
- SafeSecurityHandles.cs
- ReadOnlyCollectionBase.cs
- BamlResourceContent.cs
- SharedUtils.cs
- SiteMapPathDesigner.cs
- XmlWhitespace.cs
- MailAddressParser.cs
- ScriptResourceHandler.cs