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
- BindingCollection.cs
- DynamicValueConverter.cs
- AssemblyFilter.cs
- DateTimeConverter2.cs
- Point3DCollectionValueSerializer.cs
- DbSetClause.cs
- ImmutableObjectAttribute.cs
- Schema.cs
- DesignerAttributeInfo.cs
- newinstructionaction.cs
- BamlWriter.cs
- GenerateHelper.cs
- TransformerInfoCollection.cs
- MetadataHelper.cs
- TabItemWrapperAutomationPeer.cs
- InternalControlCollection.cs
- EventlogProvider.cs
- ItemsControl.cs
- WebPartManager.cs
- Misc.cs
- BaseCAMarshaler.cs
- EventData.cs
- NameValueConfigurationCollection.cs
- JsonEnumDataContract.cs
- DateTimeParse.cs
- ObjectConverter.cs
- ProtocolsConfigurationHandler.cs
- UnsafeNativeMethodsMilCoreApi.cs
- DocumentPageViewAutomationPeer.cs
- BitmapImage.cs
- WebPermission.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- XPathDocumentIterator.cs
- KnownTypesProvider.cs
- ListViewItem.cs
- PackageFilter.cs
- CollectionChangedEventManager.cs
- PackageController.cs
- DurableServiceAttribute.cs
- Size3DConverter.cs
- Camera.cs
- CodeMemberEvent.cs
- BooleanSwitch.cs
- WebPartRestoreVerb.cs
- SafePointer.cs
- ArraySortHelper.cs
- ZipPackagePart.cs
- ParagraphVisual.cs
- HttpServerVarsCollection.cs
- RegexFCD.cs
- CodeTypeParameterCollection.cs
- httpapplicationstate.cs
- ArrayHelper.cs
- InternalException.cs
- SqlDataRecord.cs
- Queue.cs
- CharKeyFrameCollection.cs
- ObjectDataSourceView.cs
- XmlDataLoader.cs
- RangeValidator.cs
- Expressions.cs
- MiniMapControl.xaml.cs
- WrappedIUnknown.cs
- CookieProtection.cs
- odbcmetadatacolumnnames.cs
- InkCanvasFeedbackAdorner.cs
- QueryPageSettingsEventArgs.cs
- PresentationAppDomainManager.cs
- Token.cs
- UserNameSecurityTokenProvider.cs
- XmlAttributeAttribute.cs
- _AcceptOverlappedAsyncResult.cs
- XsdBuildProvider.cs
- BinaryFormatterSinks.cs
- DependencyObject.cs
- AccessorTable.cs
- OleDbParameterCollection.cs
- MemberDomainMap.cs
- HwndSourceKeyboardInputSite.cs
- PopupRoot.cs
- PageBuildProvider.cs
- BrowserDefinition.cs
- TraceContextEventArgs.cs
- AuthenticationServiceManager.cs
- InputLanguageProfileNotifySink.cs
- ProjectionNode.cs
- AddInStore.cs
- QueryStack.cs
- ISAPIRuntime.cs
- GridViewRowPresenterBase.cs
- DrawingAttributes.cs
- PathFigureCollectionValueSerializer.cs
- Parameter.cs
- CodeDomDecompiler.cs
- ServiceThrottle.cs
- HttpHeaderCollection.cs
- CustomError.cs
- BasicExpandProvider.cs
- EmbeddedObject.cs
- XPathExpr.cs