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 / Reflection / ObfuscationAttribute.cs / 1 / ObfuscationAttribute.cs
using System; using System.Reflection; namespace System.Reflection { [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Parameter | AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Event | AttributeTargets.Interface | AttributeTargets.Enum | AttributeTargets.Delegate, AllowMultiple = true, Inherited = false)] [System.Runtime.InteropServices.ComVisible(true)] public sealed class ObfuscationAttribute: Attribute { private bool m_strip = true; private bool m_exclude = true; private bool m_applyToMembers = true; private string m_feature = "all"; public ObfuscationAttribute() { } public bool StripAfterObfuscation { get { return m_strip; } set { m_strip = value; } } public bool Exclude { get { return m_exclude; } set { m_exclude = value; } } public bool ApplyToMembers { get { return m_applyToMembers; } set { m_applyToMembers = value; } } public string Feature { get { return m_feature; } set { m_feature = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. using System; using System.Reflection; namespace System.Reflection { [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Parameter | AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Event | AttributeTargets.Interface | AttributeTargets.Enum | AttributeTargets.Delegate, AllowMultiple = true, Inherited = false)] [System.Runtime.InteropServices.ComVisible(true)] public sealed class ObfuscationAttribute: Attribute { private bool m_strip = true; private bool m_exclude = true; private bool m_applyToMembers = true; private string m_feature = "all"; public ObfuscationAttribute() { } public bool StripAfterObfuscation { get { return m_strip; } set { m_strip = value; } } public bool Exclude { get { return m_exclude; } set { m_exclude = value; } } public bool ApplyToMembers { get { return m_applyToMembers; } set { m_applyToMembers = value; } } public string Feature { get { return m_feature; } set { m_feature = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AutoSizeToolBoxItem.cs
- UseLicense.cs
- BrushMappingModeValidation.cs
- DataGridColumnFloatingHeader.cs
- ErrorTableItemStyle.cs
- UInt64.cs
- _AcceptOverlappedAsyncResult.cs
- SystemMulticastIPAddressInformation.cs
- ForeignKeyConstraint.cs
- StateMachineWorkflowInstance.cs
- SliderAutomationPeer.cs
- ToolboxItemAttribute.cs
- CqlParser.cs
- AuthenticationSection.cs
- PersonalizablePropertyEntry.cs
- PopOutPanel.cs
- NCryptSafeHandles.cs
- HyperLinkField.cs
- TCPClient.cs
- OrthographicCamera.cs
- ListViewItemMouseHoverEvent.cs
- CharUnicodeInfo.cs
- AddInActivator.cs
- NameValueFileSectionHandler.cs
- EdmValidator.cs
- ElementAction.cs
- SizeKeyFrameCollection.cs
- GPRECTF.cs
- DiagnosticsConfiguration.cs
- ByteAnimationBase.cs
- StringKeyFrameCollection.cs
- EventData.cs
- PeerObject.cs
- DiscoveryClientDocuments.cs
- CorrelationToken.cs
- ButtonBaseAdapter.cs
- EmptyQuery.cs
- StreamInfo.cs
- EncoderNLS.cs
- ISessionStateStore.cs
- FormsIdentity.cs
- TreeNodeClickEventArgs.cs
- UIntPtr.cs
- DecimalFormatter.cs
- ListControlConvertEventArgs.cs
- DecoderNLS.cs
- MoveSizeWinEventHandler.cs
- ScriptComponentDescriptor.cs
- DataGridDetailsPresenterAutomationPeer.cs
- TraceContextEventArgs.cs
- CriticalExceptions.cs
- ListViewEditEventArgs.cs
- FlowLayoutSettings.cs
- SignatureResourcePool.cs
- TimeSpanValidator.cs
- ServiceDefaults.cs
- Publisher.cs
- PathFigureCollection.cs
- SplineKeyFrames.cs
- SqlVersion.cs
- HtmlLink.cs
- NetPeerTcpBindingElement.cs
- BoundsDrawingContextWalker.cs
- CollectionViewGroupRoot.cs
- BaseTemplateBuildProvider.cs
- LineBreak.cs
- RedirectionProxy.cs
- DriveNotFoundException.cs
- InstanceLockTracking.cs
- ListView.cs
- WebScriptEndpointElement.cs
- RowParagraph.cs
- KeyPressEvent.cs
- CallInfo.cs
- XPathNodeList.cs
- UnionCodeGroup.cs
- BitmapInitialize.cs
- unitconverter.cs
- SettingsPropertyValue.cs
- HtmlInputControl.cs
- MenuItem.cs
- IOThreadTimer.cs
- ClientApiGenerator.cs
- StreamMarshaler.cs
- ListViewPagedDataSource.cs
- StackBuilderSink.cs
- CodeAttachEventStatement.cs
- BitmapImage.cs
- MatrixValueSerializer.cs
- WebMessageFormatHelper.cs
- PathGradientBrush.cs
- GeometryCollection.cs
- RoutingService.cs
- RequiredAttributeAttribute.cs
- Span.cs
- DropSource.cs
- StandardToolWindows.cs
- SynchronizedDispatch.cs
- StateItem.cs
- SingleObjectCollection.cs