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
- PrimitiveCodeDomSerializer.cs
- XmlnsDefinitionAttribute.cs
- LocalClientSecuritySettings.cs
- IBuiltInEvidence.cs
- XmlDocumentFieldSchema.cs
- Group.cs
- QilPatternVisitor.cs
- SQLDouble.cs
- Figure.cs
- IgnoreDataMemberAttribute.cs
- TabletCollection.cs
- AnimatedTypeHelpers.cs
- UnsafeNativeMethodsMilCoreApi.cs
- BackgroundWorker.cs
- TabControlAutomationPeer.cs
- JsonDeserializer.cs
- EnumCodeDomSerializer.cs
- ManagementOptions.cs
- DataListCommandEventArgs.cs
- ManagementExtension.cs
- PrivacyNoticeElement.cs
- KeySpline.cs
- Line.cs
- XmlSchemaInfo.cs
- ZipIORawDataFileBlock.cs
- JournalEntryStack.cs
- SqlClientWrapperSmiStream.cs
- ResourceSet.cs
- DataBoundControl.cs
- FileDataSourceCache.cs
- UnmanagedBitmapWrapper.cs
- SystemWebSectionGroup.cs
- FileDialog.cs
- ExtensionQuery.cs
- ClientScriptManager.cs
- RefreshResponseInfo.cs
- GlyphRunDrawing.cs
- ActivityBuilder.cs
- WebEventCodes.cs
- TextDecorationLocationValidation.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- Reference.cs
- ScriptDescriptor.cs
- StreamingContext.cs
- NotificationContext.cs
- StylusShape.cs
- XmlText.cs
- LocalTransaction.cs
- LinearGradientBrush.cs
- DesigntimeLicenseContext.cs
- ExpressionBuilderCollection.cs
- StyleHelper.cs
- FileSystemEventArgs.cs
- LinkedDataMemberFieldEditor.cs
- TextFindEngine.cs
- SrgsDocument.cs
- ColumnMapCopier.cs
- ValidatedControlConverter.cs
- Exceptions.cs
- TimerEventSubscription.cs
- BmpBitmapDecoder.cs
- CryptoHandle.cs
- ConfigsHelper.cs
- WebPartEditorApplyVerb.cs
- ExtendedProperty.cs
- WindowPattern.cs
- WebControl.cs
- TrackingDataItem.cs
- DataTableReaderListener.cs
- BaseHashHelper.cs
- TemplateKeyConverter.cs
- codemethodreferenceexpression.cs
- FormsAuthenticationModule.cs
- WebResourceUtil.cs
- AsymmetricSignatureDeformatter.cs
- ScriptingWebServicesSectionGroup.cs
- TrailingSpaceComparer.cs
- KeyboardNavigation.cs
- MasterPage.cs
- ColorContext.cs
- TrackingConditionCollection.cs
- BrushConverter.cs
- LogWriteRestartAreaAsyncResult.cs
- TreeWalkHelper.cs
- CloseCryptoHandleRequest.cs
- HttpCachePolicy.cs
- Tablet.cs
- ProxyGenerator.cs
- DocumentPageHost.cs
- DefaultHttpHandler.cs
- GridViewDeletedEventArgs.cs
- ValidatorCompatibilityHelper.cs
- DeclarativeCatalogPart.cs
- SHA512Managed.cs
- DoubleLink.cs
- StreamingContext.cs
- HeaderedContentControl.cs
- ArraySet.cs
- HGlobalSafeHandle.cs
- ListBoxDesigner.cs