Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / clr / src / BCL / System / Runtime / CompilerServices / InternalsVisibleToAttribute.cs / 2 / InternalsVisibleToAttribute.cs
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
//------------------------------------------------------------------------------
//-----------------------------------------------------------------------------
namespace System.Runtime.CompilerServices
{
using System;
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple=true, Inherited=false)]
public sealed class InternalsVisibleToAttribute : Attribute
{
private string _assemblyName;
private bool _allInternalsVisible = true;
public InternalsVisibleToAttribute(string assemblyName)
{
this._assemblyName = assemblyName;
}
public string AssemblyName
{
get
{
return _assemblyName;
}
}
public bool AllInternalsVisible
{
get { return _allInternalsVisible; }
set { _allInternalsVisible = value; }
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
//------------------------------------------------------------------------------
//-----------------------------------------------------------------------------
namespace System.Runtime.CompilerServices
{
using System;
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple=true, Inherited=false)]
public sealed class InternalsVisibleToAttribute : Attribute
{
private string _assemblyName;
private bool _allInternalsVisible = true;
public InternalsVisibleToAttribute(string assemblyName)
{
this._assemblyName = assemblyName;
}
public string AssemblyName
{
get
{
return _assemblyName;
}
}
public bool AllInternalsVisible
{
get { return _allInternalsVisible; }
set { _allInternalsVisible = value; }
}
}
}
// 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
- QilFunction.cs
- sqlinternaltransaction.cs
- IssuedTokenServiceElement.cs
- ServiceModelSecurityTokenTypes.cs
- TextDecorationUnitValidation.cs
- ImageCodecInfo.cs
- PropertyGridView.cs
- OdbcConnectionOpen.cs
- COM2ExtendedBrowsingHandler.cs
- ToolStripArrowRenderEventArgs.cs
- Identity.cs
- HtmlTable.cs
- StorageMappingItemLoader.cs
- AlphabeticalEnumConverter.cs
- EventWaitHandleSecurity.cs
- COM2FontConverter.cs
- WebConfigurationFileMap.cs
- ButtonChrome.cs
- LinkedList.cs
- PartitionResolver.cs
- Win32MouseDevice.cs
- TextFormatterContext.cs
- SecurityState.cs
- StorageEntityContainerMapping.cs
- UIHelper.cs
- LocatorGroup.cs
- XmlSchemaChoice.cs
- BindingManagerDataErrorEventArgs.cs
- AttributeCollection.cs
- ListViewCommandEventArgs.cs
- Item.cs
- ListViewPagedDataSource.cs
- basecomparevalidator.cs
- TemplatedMailWebEventProvider.cs
- GeneralTransform3DTo2DTo3D.cs
- TemplatedWizardStep.cs
- CorePropertiesFilter.cs
- Attribute.cs
- Attachment.cs
- TraceSwitch.cs
- InvokeWebServiceDesigner.cs
- TextElementEditingBehaviorAttribute.cs
- KoreanCalendar.cs
- WebBrowserProgressChangedEventHandler.cs
- Deserializer.cs
- HtmlInputHidden.cs
- QueryPageSettingsEventArgs.cs
- TypeListConverter.cs
- SchemaCollectionPreprocessor.cs
- XmlEncoding.cs
- RegexWorker.cs
- ResourceExpressionEditor.cs
- TextAutomationPeer.cs
- MobileTemplatedControlDesigner.cs
- CachedFontFace.cs
- ProxyWebPartManager.cs
- ThousandthOfEmRealPoints.cs
- BatchParser.cs
- FlagsAttribute.cs
- MasterPageBuildProvider.cs
- AssociationSetMetadata.cs
- FixedTextContainer.cs
- filewebresponse.cs
- GridViewDesigner.cs
- WasAdminWrapper.cs
- ObjectHandle.cs
- UndoManager.cs
- ProfessionalColorTable.cs
- RemoteWebConfigurationHostStream.cs
- ImageMap.cs
- ClosureBinding.cs
- TransactionException.cs
- MemberPath.cs
- GeometryDrawing.cs
- RequestCacheEntry.cs
- SqlXml.cs
- XmlUtil.cs
- HandlerMappingMemo.cs
- HtmlControl.cs
- BindingListCollectionView.cs
- Rect3D.cs
- DifferencingCollection.cs
- AutoGeneratedField.cs
- SettingsAttributeDictionary.cs
- CollectionCodeDomSerializer.cs
- _ProxyChain.cs
- ToolStripScrollButton.cs
- CommandLineParser.cs
- MouseCaptureWithinProperty.cs
- ProfilePropertyMetadata.cs
- BitmapEffect.cs
- RoutedEventValueSerializer.cs
- DoubleIndependentAnimationStorage.cs
- HostingEnvironmentSection.cs
- ScriptControlDescriptor.cs
- XmlWriter.cs
- CodeTypeReferenceCollection.cs
- MatrixKeyFrameCollection.cs
- ColorAnimationUsingKeyFrames.cs
- ContractCodeDomInfo.cs