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
- SoapFault.cs
- QueryCursorEventArgs.cs
- ClientTarget.cs
- SiteMapNode.cs
- InvokeBinder.cs
- WebPartCatalogCloseVerb.cs
- CompilerGeneratedAttribute.cs
- PropertyTabAttribute.cs
- Empty.cs
- TypedAsyncResult.cs
- NativeMethods.cs
- ButtonBase.cs
- WebPartAuthorizationEventArgs.cs
- TrustManager.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- DbProviderFactoriesConfigurationHandler.cs
- BufferedStream.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- UpdateRecord.cs
- ConfigurationElementProperty.cs
- DesignerTransactionCloseEvent.cs
- SessionStateUtil.cs
- FrameworkContentElement.cs
- ComplusEndpointConfigContainer.cs
- MessageDirection.cs
- CodeRemoveEventStatement.cs
- SendingRequestEventArgs.cs
- ElementFactory.cs
- EmbeddedMailObject.cs
- TypeDescriptor.cs
- AspNetCacheProfileAttribute.cs
- OledbConnectionStringbuilder.cs
- PersonalizationProvider.cs
- _ScatterGatherBuffers.cs
- Semaphore.cs
- SecurityTokenTypes.cs
- OleDbConnectionFactory.cs
- ByteStreamMessageEncoder.cs
- StringToken.cs
- Point3DCollectionConverter.cs
- XmlRootAttribute.cs
- ValueTypeFixupInfo.cs
- XmlArrayItemAttribute.cs
- TemplateXamlTreeBuilder.cs
- StringValueConverter.cs
- ReflectionUtil.cs
- BindingsCollection.cs
- PieceNameHelper.cs
- XmlSchemaGroup.cs
- ToolConsole.cs
- AbstractSvcMapFileLoader.cs
- Path.cs
- ValueTypeFieldReference.cs
- DebugHandleTracker.cs
- OleAutBinder.cs
- _NativeSSPI.cs
- StrokeFIndices.cs
- _SpnDictionary.cs
- EventLogPermissionAttribute.cs
- ProtocolProfile.cs
- TextPatternIdentifiers.cs
- XamlStyleSerializer.cs
- Section.cs
- XmlSchema.cs
- DataControlPagerLinkButton.cs
- ViewKeyConstraint.cs
- ApplicationContext.cs
- X509CertificateEndpointIdentity.cs
- EdmProviderManifest.cs
- BrowserCapabilitiesFactory35.cs
- SessionState.cs
- MemberJoinTreeNode.cs
- OrderedDictionaryStateHelper.cs
- TextRangeAdaptor.cs
- InternalSafeNativeMethods.cs
- ArrayHelper.cs
- XmlSchemaType.cs
- Span.cs
- XmlSchemaSubstitutionGroup.cs
- WindowsStartMenu.cs
- Vector3DAnimation.cs
- ValueTypeFixupInfo.cs
- HttpResponseInternalWrapper.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- EditorPartChrome.cs
- AttributedMetaModel.cs
- TextPattern.cs
- OracleParameterBinding.cs
- DataTrigger.cs
- PathFigureCollectionValueSerializer.cs
- TypeInitializationException.cs
- PropertyNames.cs
- SqlDataSourceConnectionPanel.cs
- Converter.cs
- DataTransferEventArgs.cs
- DownloadProgressEventArgs.cs
- PropertyItemInternal.cs
- ServiceDocumentFormatter.cs
- ContainerVisual.cs
- HtmlTableCellCollection.cs