Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Runtime / CompilerServices / TypeForwardedFromAttribute.cs / 1305376 / TypeForwardedFromAttribute.cs
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
namespace System.Runtime.CompilerServices
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Delegate, Inherited = false, AllowMultiple = false)]
public sealed class TypeForwardedFromAttribute : Attribute
{
string assemblyFullName;
private TypeForwardedFromAttribute()
{
// Disallow default constructor
}
public TypeForwardedFromAttribute(string assemblyFullName)
{
if (String.IsNullOrEmpty(assemblyFullName))
{
throw new ArgumentNullException("assemblyFullName");
}
this.assemblyFullName = assemblyFullName;
}
public string AssemblyFullName
{
get {
return assemblyFullName;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
namespace System.Runtime.CompilerServices
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Delegate, Inherited = false, AllowMultiple = false)]
public sealed class TypeForwardedFromAttribute : Attribute
{
string assemblyFullName;
private TypeForwardedFromAttribute()
{
// Disallow default constructor
}
public TypeForwardedFromAttribute(string assemblyFullName)
{
if (String.IsNullOrEmpty(assemblyFullName))
{
throw new ArgumentNullException("assemblyFullName");
}
this.assemblyFullName = assemblyFullName;
}
public string AssemblyFullName
{
get {
return assemblyFullName;
}
}
}
}
// 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
- UserNameSecurityTokenAuthenticator.cs
- ColumnClickEvent.cs
- RawTextInputReport.cs
- AutomationElementIdentifiers.cs
- EdmItemCollection.cs
- SchemaNamespaceManager.cs
- SurrogateEncoder.cs
- Inflater.cs
- NotFiniteNumberException.cs
- DataGridViewSelectedCellCollection.cs
- StoragePropertyMapping.cs
- FrameSecurityDescriptor.cs
- SystemResourceHost.cs
- FontCacheLogic.cs
- SearchForVirtualItemEventArgs.cs
- CqlGenerator.cs
- Utils.cs
- AssemblyNameProxy.cs
- DataGridViewCheckBoxColumn.cs
- SessionParameter.cs
- DoubleAnimationBase.cs
- ReflectionUtil.cs
- JsonReaderWriterFactory.cs
- validation.cs
- CharUnicodeInfo.cs
- TextRangeEditLists.cs
- TimelineGroup.cs
- ApplicationDirectoryMembershipCondition.cs
- RSAPKCS1SignatureDeformatter.cs
- CommandManager.cs
- ButtonAutomationPeer.cs
- SafeCancelMibChangeNotify.cs
- SQLMoney.cs
- KnowledgeBase.cs
- DynamicActivity.cs
- CodeIdentifiers.cs
- DetailsViewUpdateEventArgs.cs
- HttpHandlersSection.cs
- TableItemStyle.cs
- NamedServiceModelExtensionCollectionElement.cs
- XmlSchemaException.cs
- StrokeFIndices.cs
- ListBoxItem.cs
- QuaternionRotation3D.cs
- WebPartHelpVerb.cs
- LinearGradientBrush.cs
- QueryAccessibilityHelpEvent.cs
- ChannelToken.cs
- DataChangedEventManager.cs
- C14NUtil.cs
- SoapTypeAttribute.cs
- CheckPair.cs
- OdbcReferenceCollection.cs
- DetailsViewModeEventArgs.cs
- ProcessThread.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- ButtonFlatAdapter.cs
- COM2ExtendedUITypeEditor.cs
- DialogDivider.cs
- DataPager.cs
- DesignerTransaction.cs
- ExtentKey.cs
- ProtocolReflector.cs
- SystemResourceKey.cs
- XamlPointCollectionSerializer.cs
- ToolZone.cs
- SelectorItemAutomationPeer.cs
- HitTestDrawingContextWalker.cs
- DispatchWrapper.cs
- RecognizerInfo.cs
- TypeDelegator.cs
- RelationshipConverter.cs
- Task.cs
- IconEditor.cs
- ExtenderControl.cs
- XmlRawWriter.cs
- DBCommand.cs
- ClientApiGenerator.cs
- FixedDSBuilder.cs
- XmlWriterTraceListener.cs
- UIElementIsland.cs
- ImageMap.cs
- ConnectionConsumerAttribute.cs
- DropShadowEffect.cs
- PageAsyncTaskManager.cs
- ParamArrayAttribute.cs
- ClientCredentialsSecurityTokenManager.cs
- HtmlAnchor.cs
- SiteMapPathDesigner.cs
- TableHeaderCell.cs
- WebPartActionVerb.cs
- DateTimeConverter.cs
- FigureParagraph.cs
- XmlParserContext.cs
- PreviewPrintController.cs
- ByteAnimationBase.cs
- OleDbRowUpdatedEvent.cs
- DataRecordInfo.cs
- AutomationPropertyInfo.cs
- BitmapEffectGroup.cs