Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / clr / src / BCL / System / Runtime / CompilerServices / InternalsVisibleToAttribute.cs / 1 / 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
- SubMenuStyle.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- ColorPalette.cs
- _TransmitFileOverlappedAsyncResult.cs
- SqlDataSourceStatusEventArgs.cs
- CellPartitioner.cs
- ConnectionStringsExpressionBuilder.cs
- ApplicationCommands.cs
- ViewCellSlot.cs
- SystemNetHelpers.cs
- ValidateNames.cs
- SolidColorBrush.cs
- XPathNodePointer.cs
- FileInfo.cs
- Sentence.cs
- NoResizeHandleGlyph.cs
- AssociationSetEnd.cs
- SqlMetaData.cs
- ImageListStreamer.cs
- TableRowsCollectionEditor.cs
- Timer.cs
- PersistChildrenAttribute.cs
- XmlWriter.cs
- PrintingPermission.cs
- ExpressionConverter.cs
- UntypedNullExpression.cs
- PositiveTimeSpanValidator.cs
- basevalidator.cs
- StorageMappingItemCollection.cs
- FirstQueryOperator.cs
- Scheduling.cs
- InnerItemCollectionView.cs
- ConfigXmlComment.cs
- SoapSchemaMember.cs
- TreeViewImageGenerator.cs
- InternalsVisibleToAttribute.cs
- StrongNameKeyPair.cs
- InertiaRotationBehavior.cs
- StatusBarItem.cs
- TextSelectionHighlightLayer.cs
- BookmarkScopeManager.cs
- cookiecollection.cs
- UnsafePeerToPeerMethods.cs
- ConfigurationErrorsException.cs
- MobileControlDesigner.cs
- DataGridViewAdvancedBorderStyle.cs
- BaseTemplateCodeDomTreeGenerator.cs
- LicenseException.cs
- MethodBuilder.cs
- SchemaTableOptionalColumn.cs
- EditorPart.cs
- login.cs
- CompilerInfo.cs
- PhonemeConverter.cs
- ChtmlTextBoxAdapter.cs
- Environment.cs
- RoleGroupCollection.cs
- DataGridItemEventArgs.cs
- StrokeCollectionDefaultValueFactory.cs
- IgnorePropertiesAttribute.cs
- LinearKeyFrames.cs
- DescendentsWalker.cs
- X509ScopedServiceCertificateElement.cs
- Frame.cs
- BindingList.cs
- TextAdaptor.cs
- SuppressMergeCheckAttribute.cs
- StringFunctions.cs
- LayoutEvent.cs
- WindowsClientCredential.cs
- SecurityAlgorithmSuite.cs
- CatalogPart.cs
- HitTestParameters3D.cs
- BaseParser.cs
- SingleConverter.cs
- NamedPermissionSet.cs
- ConfigurationStrings.cs
- BidOverLoads.cs
- ObjectAnimationUsingKeyFrames.cs
- SqlBuffer.cs
- GradientBrush.cs
- TransactionScope.cs
- ExpressionPrinter.cs
- WsatAdminException.cs
- TypeBuilder.cs
- DesignerValidatorAdapter.cs
- SchemaElement.cs
- CheckBoxField.cs
- BinaryObjectInfo.cs
- ThreadStateException.cs
- DeclaredTypeValidator.cs
- MainMenu.cs
- StringSource.cs
- DesignBindingPropertyDescriptor.cs
- RelationshipEnd.cs
- BoundField.cs
- ComponentConverter.cs
- EntityCommand.cs
- BinaryKeyIdentifierClause.cs
- EntityDesignPluralizationHandler.cs