Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Runtime / CompilerServices / InternalsVisibleToAttribute.cs / 1305376 / 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; } } } ////// If AllInternalsVisible is not true for a friend assembly, the FriendAccessAllowed attribute /// indicates which internals are shared with that friend assembly. /// [AttributeUsage(AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Enum | AttributeTargets.Event | AttributeTargets.Field | AttributeTargets.Interface | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Struct, AllowMultiple = false, Inherited = false)] [FriendAccessAllowed] internal sealed class FriendAccessAllowedAttribute : Attribute { } } // 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
- DataSourceXmlElementAttribute.cs
- WmlPanelAdapter.cs
- RecordsAffectedEventArgs.cs
- AssemblyFilter.cs
- EntityDataSourceSelectedEventArgs.cs
- GeneralTransform3DTo2D.cs
- MessageSecurityOverMsmq.cs
- AuthenticationConfig.cs
- CodePropertyReferenceExpression.cs
- NameTable.cs
- CommandTreeTypeHelper.cs
- EqualityComparer.cs
- PlaceHolder.cs
- ColorConvertedBitmapExtension.cs
- HtmlHead.cs
- SegmentInfo.cs
- ByteStream.cs
- grammarelement.cs
- DecimalAnimationUsingKeyFrames.cs
- TypeInitializationException.cs
- glyphs.cs
- DataGridViewCellValueEventArgs.cs
- TimeSpanOrInfiniteConverter.cs
- StylusPointCollection.cs
- ContractNamespaceAttribute.cs
- UseLicense.cs
- UnsafeNativeMethods.cs
- StreamUpgradeAcceptor.cs
- CapabilitiesPattern.cs
- DataColumnPropertyDescriptor.cs
- CodeDOMUtility.cs
- IpcClientChannel.cs
- RoutedUICommand.cs
- AnyAllSearchOperator.cs
- ContainerActivationHelper.cs
- AdornerPresentationContext.cs
- TextElement.cs
- SqlDataReaderSmi.cs
- WS2007HttpBindingCollectionElement.cs
- EncryptedReference.cs
- PageWrapper.cs
- BaseUriHelper.cs
- DateTimeAutomationPeer.cs
- XmlDeclaration.cs
- TypeCacheManager.cs
- PathGradientBrush.cs
- FrameworkContextData.cs
- HitTestParameters.cs
- DisplayMemberTemplateSelector.cs
- XNodeNavigator.cs
- ScriptRegistrationManager.cs
- ContractHandle.cs
- OdbcEnvironment.cs
- SpellerStatusTable.cs
- Int64.cs
- PageThemeCodeDomTreeGenerator.cs
- DbConnectionPoolGroupProviderInfo.cs
- ProcessModelSection.cs
- VectorAnimation.cs
- AutoCompleteStringCollection.cs
- TypeLoadException.cs
- XmlObjectSerializerReadContextComplex.cs
- DrawingAttributeSerializer.cs
- PagesChangedEventArgs.cs
- CellLabel.cs
- EngineSite.cs
- Documentation.cs
- StyleCollectionEditor.cs
- SHA256Managed.cs
- CheckBoxAutomationPeer.cs
- mediaeventshelper.cs
- AliasedSlot.cs
- LogicalExpr.cs
- OledbConnectionStringbuilder.cs
- Lock.cs
- XmlStringTable.cs
- AccessDataSourceDesigner.cs
- SQLMoneyStorage.cs
- MaterializeFromAtom.cs
- TargetFrameworkAttribute.cs
- CompositionCommandSet.cs
- MetadataCache.cs
- DropShadowEffect.cs
- ServiceChannel.cs
- SystemColors.cs
- Internal.cs
- Geometry3D.cs
- _SslStream.cs
- LinqDataSourceStatusEventArgs.cs
- GridViewHeaderRowPresenter.cs
- RSACryptoServiceProvider.cs
- SmiGettersStream.cs
- TableColumnCollectionInternal.cs
- ShaperBuffers.cs
- AllMembershipCondition.cs
- MetadataArtifactLoaderCompositeResource.cs
- ProcessProtocolHandler.cs
- MsmqBindingElementBase.cs
- EntryIndex.cs
- NonSerializedAttribute.cs