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
- JsonDeserializer.cs
- HandlerFactoryWrapper.cs
- MailMessageEventArgs.cs
- Content.cs
- PtsPage.cs
- Nullable.cs
- DropShadowBitmapEffect.cs
- ETagAttribute.cs
- Visual3D.cs
- WebReferencesBuildProvider.cs
- ControlParameter.cs
- XdrBuilder.cs
- Evidence.cs
- SectionRecord.cs
- ApplicationTrust.cs
- ModelServiceImpl.cs
- ProcessHost.cs
- ObjectHelper.cs
- PerformanceCounter.cs
- MaskedTextBox.cs
- CodeCatchClauseCollection.cs
- SendParametersContent.cs
- UrlMappingsSection.cs
- XPathSelectionIterator.cs
- DataGridViewAdvancedBorderStyle.cs
- BamlResourceDeserializer.cs
- ClientBuildManagerCallback.cs
- Pair.cs
- OleStrCAMarshaler.cs
- Journaling.cs
- OAVariantLib.cs
- PolicyChain.cs
- BindableTemplateBuilder.cs
- BrowserDefinitionCollection.cs
- HandlerWithFactory.cs
- TextViewSelectionProcessor.cs
- XmlSignatureProperties.cs
- DataGridViewAdvancedBorderStyle.cs
- HtmlFormWrapper.cs
- CuspData.cs
- DrawingCollection.cs
- ExternalFile.cs
- RelatedImageListAttribute.cs
- RequestValidator.cs
- NamespaceInfo.cs
- ECDsaCng.cs
- DependencyPropertyDescriptor.cs
- RequestSecurityToken.cs
- FamilyCollection.cs
- XPathNavigator.cs
- MoveSizeWinEventHandler.cs
- LastQueryOperator.cs
- SafeThreadHandle.cs
- Speller.cs
- SqlProcedureAttribute.cs
- PropertyGroupDescription.cs
- peernodestatemanager.cs
- SqlExpander.cs
- StringPropertyBuilder.cs
- QueryContinueDragEvent.cs
- FormClosingEvent.cs
- SupportingTokenParameters.cs
- UniqueID.cs
- SQLRoleProvider.cs
- SafeThemeHandle.cs
- AuthenticatedStream.cs
- SecurityPolicySection.cs
- BitmapPalette.cs
- LocalizationParserHooks.cs
- AggregatePushdown.cs
- MappedMetaModel.cs
- ScriptReference.cs
- Base64Decoder.cs
- FontResourceCache.cs
- TaskScheduler.cs
- ChangePassword.cs
- ColorAnimation.cs
- VectorAnimationBase.cs
- DbConnectionStringCommon.cs
- SecurityKeyType.cs
- XPathMessageFilterElementCollection.cs
- CollectionEditorDialog.cs
- LogicalExpr.cs
- Util.cs
- PointLightBase.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- AutomationPeer.cs
- KeyedHashAlgorithm.cs
- _TimerThread.cs
- CriticalHandle.cs
- FontClient.cs
- Validator.cs
- WindowsFormsHostPropertyMap.cs
- BamlRecordReader.cs
- LoadedOrUnloadedOperation.cs
- Schema.cs
- WebPartConnection.cs
- FormsAuthenticationCredentials.cs
- ObjectSpanRewriter.cs
- FreeFormPanel.cs