Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Runtime / CompilerServices / TypeForwardedToAttribute.cs / 1305376 / TypeForwardedToAttribute.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== using System; using System.Reflection; namespace System.Runtime.CompilerServices { using System; [AttributeUsage(AttributeTargets.Assembly, AllowMultiple=true, Inherited=false)] public sealed class TypeForwardedToAttribute : Attribute { private Type _destination; public TypeForwardedToAttribute(Type destination) { _destination = destination; } public Type Destination { get { return _destination; } } [System.Security.SecurityCritical] internal static TypeForwardedToAttribute[] GetCustomAttribute(RuntimeAssembly assembly) { Type[] types = null; RuntimeAssembly.GetForwardedTypes(assembly.GetNativeHandle(), JitHelpers.GetObjectHandleOnStack(ref types)); TypeForwardedToAttribute[] attributes = new TypeForwardedToAttribute[types.Length]; for (int i = 0; i < types.Length; ++i) attributes[i] = new TypeForwardedToAttribute(types[i]); return attributes; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DoubleLinkListEnumerator.cs
- Assert.cs
- NGCUIElementCollectionSerializerAsync.cs
- ZoneButton.cs
- ToolboxItemFilterAttribute.cs
- OutputCacheSettingsSection.cs
- DataServiceRequestArgs.cs
- ObjectListCommand.cs
- MultipartIdentifier.cs
- PaperSize.cs
- KeyNotFoundException.cs
- HttpCachePolicy.cs
- WindowsListViewSubItem.cs
- CodeArgumentReferenceExpression.cs
- FileDialogCustomPlacesCollection.cs
- CancellationHandlerDesigner.cs
- XmlFormatMapping.cs
- TableLayoutPanel.cs
- NullRuntimeConfig.cs
- AbstractSvcMapFileLoader.cs
- Point.cs
- EnumType.cs
- SerializationEventsCache.cs
- DataBoundControlAdapter.cs
- ObjectContext.cs
- StringComparer.cs
- VerticalAlignConverter.cs
- ClientTarget.cs
- HttpApplication.cs
- Tracking.cs
- ReservationCollection.cs
- AliasedSlot.cs
- ZipQueryOperator.cs
- ActiveXContainer.cs
- LOSFormatter.cs
- ListViewDeletedEventArgs.cs
- EncryptedType.cs
- OperandQuery.cs
- WindowShowOrOpenTracker.cs
- CodeBinaryOperatorExpression.cs
- TransformerInfo.cs
- FixedDocument.cs
- DocumentReferenceCollection.cs
- FloatSumAggregationOperator.cs
- EndpointDispatcherTable.cs
- MenuItemStyleCollection.cs
- Schema.cs
- path.cs
- StandardOleMarshalObject.cs
- PackageRelationship.cs
- InternalDuplexChannelListener.cs
- EntityType.cs
- AttributeCollection.cs
- SwitchAttribute.cs
- Rotation3DAnimationBase.cs
- DataBoundControlHelper.cs
- DataGridItemCollection.cs
- RightsManagementInformation.cs
- HtmlTableCell.cs
- ProfileSettings.cs
- CodeActivityMetadata.cs
- QilFactory.cs
- ConfigurationManagerInternalFactory.cs
- CreateParams.cs
- TextParaLineResult.cs
- WebPartVerb.cs
- RemoteArgument.cs
- WpfSharedBamlSchemaContext.cs
- DateTimeFormatInfoScanner.cs
- HitTestResult.cs
- DrawingGroup.cs
- InfoCardBaseException.cs
- StringUtil.cs
- MetaType.cs
- TraceContext.cs
- MemberJoinTreeNode.cs
- OleAutBinder.cs
- DataGridViewCellMouseEventArgs.cs
- BinHexEncoder.cs
- HostSecurityManager.cs
- ServiceHostFactory.cs
- ApplicationTrust.cs
- DescendantBaseQuery.cs
- EmptyCollection.cs
- UserNameSecurityTokenProvider.cs
- IPGlobalProperties.cs
- BlobPersonalizationState.cs
- PeoplePickerWrapper.cs
- CornerRadiusConverter.cs
- WebPart.cs
- httpstaticobjectscollection.cs
- Int16Animation.cs
- CultureInfo.cs
- XmlValidatingReader.cs
- TextTreeUndoUnit.cs
- BasicHttpMessageSecurity.cs
- SecurityException.cs
- CodeAttributeArgument.cs
- RegexGroup.cs
- CommandHelpers.cs