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
- TemplateBuilder.cs
- SerializerWriterEventHandlers.cs
- ConnectionStringSettingsCollection.cs
- DropTarget.cs
- MailWriter.cs
- TransformerConfigurationWizardBase.cs
- XmlDataSourceView.cs
- SerialPinChanges.cs
- ToolstripProfessionalRenderer.cs
- HttpProxyTransportBindingElement.cs
- SerTrace.cs
- Panel.cs
- RuleRefElement.cs
- DigestTraceRecordHelper.cs
- HtmlDocument.cs
- ConfigurationElementProperty.cs
- RowUpdatingEventArgs.cs
- BuilderPropertyEntry.cs
- RequestCachingSection.cs
- WebBrowserBase.cs
- EventPrivateKey.cs
- RoutingExtension.cs
- GridViewCommandEventArgs.cs
- IsolationInterop.cs
- StringToken.cs
- SurrogateSelector.cs
- EdmItemCollection.cs
- LinkedResourceCollection.cs
- SessionPageStateSection.cs
- MetadataPropertyCollection.cs
- XmlText.cs
- ColumnHeaderConverter.cs
- FixedPosition.cs
- ConfigXmlElement.cs
- Axis.cs
- MenuAutomationPeer.cs
- HtmlLink.cs
- ExtendedProperty.cs
- UriTemplatePathPartiallyEquivalentSet.cs
- InkCanvasSelectionAdorner.cs
- MessageFormatterConverter.cs
- TemplatedMailWebEventProvider.cs
- TemplatedControlDesigner.cs
- IssuedTokenClientCredential.cs
- ETagAttribute.cs
- ExpiredSecurityTokenException.cs
- ResourceReader.cs
- ToolBarButtonClickEvent.cs
- DatagridviewDisplayedBandsData.cs
- xsdvalidator.cs
- UInt16Storage.cs
- Triplet.cs
- DeclaredTypeValidator.cs
- RequestCacheManager.cs
- safelink.cs
- DateTime.cs
- FormViewDeletedEventArgs.cs
- ObjectFullSpanRewriter.cs
- X509Utils.cs
- HuffCodec.cs
- XmlWellformedWriter.cs
- MsmqIntegrationProcessProtocolHandler.cs
- CellQuery.cs
- CodePageUtils.cs
- DesigntimeLicenseContext.cs
- RegisteredHiddenField.cs
- FormatControl.cs
- StringCollection.cs
- ImageIndexConverter.cs
- DateTimeFormat.cs
- SqlOuterApplyReducer.cs
- HttpCacheVary.cs
- HttpApplication.cs
- XmlSequenceWriter.cs
- NullRuntimeConfig.cs
- __ComObject.cs
- FileDialogCustomPlace.cs
- ToolStripContainer.cs
- ChangeNode.cs
- NamedPipeWorkerProcess.cs
- DocumentGridPage.cs
- SettingsPropertyValueCollection.cs
- ToolboxDataAttribute.cs
- XmlRawWriter.cs
- DataControlReferenceCollection.cs
- AssemblyBuilder.cs
- PropertyGridDesigner.cs
- ProxyElement.cs
- ExceptionRoutedEventArgs.cs
- JobDuplex.cs
- SymmetricAlgorithm.cs
- Enum.cs
- OleDbInfoMessageEvent.cs
- PenContexts.cs
- Listbox.cs
- NullableFloatAverageAggregationOperator.cs
- MSHTMLHost.cs
- IntSecurity.cs
- WebPartChrome.cs
- AsyncPostBackErrorEventArgs.cs