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
- XmlBinaryWriter.cs
- DragStartedEventArgs.cs
- ItemsControlAutomationPeer.cs
- ProfilePropertyNameValidator.cs
- StdValidatorsAndConverters.cs
- PlacementWorkspace.cs
- ConfigXmlComment.cs
- BuildProvider.cs
- LoadedOrUnloadedOperation.cs
- RSAOAEPKeyExchangeDeformatter.cs
- DynamicQueryStringParameter.cs
- FixedDocumentPaginator.cs
- Gdiplus.cs
- HelloMessageCD1.cs
- _ConnectOverlappedAsyncResult.cs
- Hyperlink.cs
- SafeLocalMemHandle.cs
- MergeFailedEvent.cs
- ClientUrlResolverWrapper.cs
- FixedStringLookup.cs
- DataRowCollection.cs
- EditorPartChrome.cs
- ErrorHandler.cs
- FormatterConverter.cs
- Win32KeyboardDevice.cs
- ImageListUtils.cs
- InstanceDataCollectionCollection.cs
- EdmProperty.cs
- DeflateStream.cs
- StickyNoteContentControl.cs
- ModifiableIteratorCollection.cs
- BoolExpression.cs
- ViewBox.cs
- dtdvalidator.cs
- StartUpEventArgs.cs
- AppPool.cs
- StringSorter.cs
- TypeReference.cs
- WorkflowRuntimeServicesBehavior.cs
- ColumnMapCopier.cs
- CopyNodeSetAction.cs
- SoundPlayer.cs
- PathFigureCollectionValueSerializer.cs
- DataGridLength.cs
- StdValidatorsAndConverters.cs
- CustomErrorsSection.cs
- ListViewGroup.cs
- SoapObjectReader.cs
- BinaryConverter.cs
- FullTextLine.cs
- DbException.cs
- ToolStripItemRenderEventArgs.cs
- EdmError.cs
- TypeForwardedToAttribute.cs
- XPathNodePointer.cs
- NameObjectCollectionBase.cs
- Metafile.cs
- RequiredFieldValidator.cs
- CellIdBoolean.cs
- documentation.cs
- TdsParserSafeHandles.cs
- LayoutEditorPart.cs
- SearchForVirtualItemEventArgs.cs
- BuildProviderAppliesToAttribute.cs
- FormClosingEvent.cs
- MemoryStream.cs
- SettingsProviderCollection.cs
- TableCell.cs
- GeneralTransformGroup.cs
- Sorting.cs
- FormatVersion.cs
- ParseNumbers.cs
- MetafileHeaderWmf.cs
- TemplateNodeContextMenu.cs
- _IPv6Address.cs
- _SSPIWrapper.cs
- GestureRecognizer.cs
- TreeNodeConverter.cs
- DBConnection.cs
- EmbeddedObject.cs
- CodeIdentifiers.cs
- DocumentViewerAutomationPeer.cs
- IApplicationTrustManager.cs
- WindowsGraphics.cs
- MemberCollection.cs
- StylusPointDescription.cs
- PersonalizationEntry.cs
- XmlUrlResolver.cs
- CopyAction.cs
- StateManagedCollection.cs
- AutomationIdentifier.cs
- Latin1Encoding.cs
- MimeObjectFactory.cs
- EncoderNLS.cs
- ChineseLunisolarCalendar.cs
- VideoDrawing.cs
- ExpressionEditorAttribute.cs
- ItemsPanelTemplate.cs
- SymLanguageVendor.cs
- SchemaReference.cs