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
- WinFormsComponentEditor.cs
- CfgArc.cs
- FreezableOperations.cs
- SimplePropertyEntry.cs
- OdbcErrorCollection.cs
- ShapeTypeface.cs
- PartialTrustVisibleAssembly.cs
- ConstructorNeedsTagAttribute.cs
- TransformationRules.cs
- SynchronousReceiveBehavior.cs
- SortKey.cs
- precedingsibling.cs
- ToolStripPanelRenderEventArgs.cs
- XamlSerializerUtil.cs
- VirtualPathUtility.cs
- ActivityCollectionMarkupSerializer.cs
- MetadataItemCollectionFactory.cs
- SectionVisual.cs
- VariableBinder.cs
- DocumentViewerBase.cs
- XmlHelper.cs
- OlePropertyStructs.cs
- SignedXml.cs
- MetadataHelper.cs
- Attributes.cs
- BaseCollection.cs
- RuntimeIdentifierPropertyAttribute.cs
- CreateUserWizardDesigner.cs
- QuaternionAnimation.cs
- SqlVersion.cs
- _NetworkingPerfCounters.cs
- WebProxyScriptElement.cs
- OperatorExpressions.cs
- Size.cs
- ParallelActivityDesigner.cs
- securitycriticaldataformultiplegetandset.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- AgileSafeNativeMemoryHandle.cs
- XmlSchemaValidationException.cs
- ContractBase.cs
- FindCriteriaCD1.cs
- XmlKeywords.cs
- XmlSchemaSimpleTypeRestriction.cs
- VisualBrush.cs
- EmbossBitmapEffect.cs
- If.cs
- Compilation.cs
- ConfigurationManagerInternalFactory.cs
- StoragePropertyMapping.cs
- DataGridAddNewRow.cs
- ChannelManager.cs
- SimpleExpression.cs
- FragmentNavigationEventArgs.cs
- UserCancellationException.cs
- StickyNoteContentControl.cs
- ControlDesigner.cs
- XmlSchemaExporter.cs
- EnvironmentPermission.cs
- TabControl.cs
- EmptyStringExpandableObjectConverter.cs
- RestHandler.cs
- RoutedEventArgs.cs
- OdbcCommand.cs
- HScrollProperties.cs
- BitmapDownload.cs
- CheckedPointers.cs
- Variable.cs
- WebPartUtil.cs
- IndexedSelectQueryOperator.cs
- _CacheStreams.cs
- FormViewPageEventArgs.cs
- DoWorkEventArgs.cs
- PhysicalOps.cs
- FixedSOMTextRun.cs
- TreeViewHitTestInfo.cs
- WebPartConnectVerb.cs
- BrowserTree.cs
- ResourceAssociationSet.cs
- FormCollection.cs
- WebBrowserEvent.cs
- ToolboxItem.cs
- BulletChrome.cs
- ClientFormsAuthenticationMembershipProvider.cs
- PageThemeCodeDomTreeGenerator.cs
- EmptyQuery.cs
- IndependentAnimationStorage.cs
- DelayedRegex.cs
- HtmlGenericControl.cs
- SerialPort.cs
- HtmlInputSubmit.cs
- Encoder.cs
- X509RecipientCertificateServiceElement.cs
- HostUtils.cs
- ListDictionary.cs
- InputScopeAttribute.cs
- PnrpPermission.cs
- SspiSafeHandles.cs
- XmlSerializationWriter.cs
- ObjectTokenCategory.cs
- Blend.cs