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
- ComponentConverter.cs
- documentsequencetextview.cs
- Pool.cs
- ServicePointManager.cs
- DataGridItemCollection.cs
- ToolboxDataAttribute.cs
- PEFileEvidenceFactory.cs
- _IPv4Address.cs
- ItemType.cs
- AccessDataSourceView.cs
- XmlSerializer.cs
- RecognizerInfo.cs
- GridViewColumnHeaderAutomationPeer.cs
- ReflectionTypeLoadException.cs
- Transactions.cs
- XmlUrlEditor.cs
- CharEntityEncoderFallback.cs
- StateMachineWorkflowInstance.cs
- PriorityChain.cs
- BasicAsyncResult.cs
- XsdCachingReader.cs
- ScrollEvent.cs
- LabelLiteral.cs
- DragStartedEventArgs.cs
- ImageField.cs
- InfocardExtendedInformationEntry.cs
- ResolveMatchesMessage11.cs
- QuadraticBezierSegment.cs
- HtmlForm.cs
- MonitorWrapper.cs
- DoubleUtil.cs
- CodeCompileUnit.cs
- SmtpAuthenticationManager.cs
- ObjectDataSourceChooseTypePanel.cs
- LinqDataSourceValidationException.cs
- DBNull.cs
- InternalMappingException.cs
- ValidationSummary.cs
- SqlTypeSystemProvider.cs
- CompositionDesigner.cs
- MeasurementDCInfo.cs
- TextTrailingWordEllipsis.cs
- UriParserTemplates.cs
- ExpressionLexer.cs
- HtmlInputButton.cs
- WorkflowOperationContext.cs
- Comparer.cs
- XamlParser.cs
- _UriSyntax.cs
- ItemCollection.cs
- BinaryCommonClasses.cs
- PropertyIDSet.cs
- PreDigestedSignedInfo.cs
- DrawingDrawingContext.cs
- AppSettingsExpressionEditor.cs
- SingleResultAttribute.cs
- fixedPageContentExtractor.cs
- GeneralTransform3D.cs
- ColumnMapProcessor.cs
- WebConfigurationManager.cs
- MatrixKeyFrameCollection.cs
- oledbmetadatacollectionnames.cs
- GenericsInstances.cs
- SafeNativeMethods.cs
- ComponentDispatcherThread.cs
- TextTabProperties.cs
- InstancePersistenceEvent.cs
- ToolStripDropTargetManager.cs
- milrender.cs
- ThreadStaticAttribute.cs
- TableLayoutPanelResizeGlyph.cs
- HttpWrapper.cs
- Subtree.cs
- JsonObjectDataContract.cs
- DbgUtil.cs
- OfTypeExpression.cs
- WebException.cs
- MulticastDelegate.cs
- AllMembershipCondition.cs
- ChannelServices.cs
- ConnectionStringSettings.cs
- ConfigurationHelpers.cs
- WebPartsPersonalization.cs
- DataBindingCollectionConverter.cs
- ObjectItemLoadingSessionData.cs
- ListViewTableRow.cs
- VisualBrush.cs
- Point3DValueSerializer.cs
- SecurityTokenAuthenticator.cs
- XmlHierarchicalDataSourceView.cs
- HostElement.cs
- IDReferencePropertyAttribute.cs
- EnumBuilder.cs
- OdbcEnvironmentHandle.cs
- SqlBooleanizer.cs
- PaperSource.cs
- WebMessageEncodingBindingElement.cs
- Int32.cs
- AttachedAnnotationChangedEventArgs.cs
- RemotingSurrogateSelector.cs