Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Reflection / ObfuscationAttribute.cs / 1305376 / ObfuscationAttribute.cs
// ==++== // // 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. // // ==--== //[....] // 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ObjectRef.cs
- DataGridViewColumnEventArgs.cs
- RawAppCommandInputReport.cs
- UrlMapping.cs
- CodeTypeParameter.cs
- XmlElementAttribute.cs
- GetResponse.cs
- CommunicationObjectManager.cs
- ChannelServices.cs
- MexNamedPipeBindingElement.cs
- AppDomainCompilerProxy.cs
- Line.cs
- ConfigurationManagerInternalFactory.cs
- UserValidatedEventArgs.cs
- JournalEntryStack.cs
- BindingBase.cs
- RowVisual.cs
- DataTableMapping.cs
- ToolboxItemCollection.cs
- TrustSection.cs
- PropertyNames.cs
- CategoryEditor.cs
- Crc32Helper.cs
- XmlExceptionHelper.cs
- DispatcherHooks.cs
- SpeechSynthesizer.cs
- LocatorManager.cs
- RightsManagementEncryptionTransform.cs
- UnhandledExceptionEventArgs.cs
- sqlinternaltransaction.cs
- PlaceHolder.cs
- Win32.cs
- DescendantOverDescendantQuery.cs
- BridgeDataReader.cs
- BindingsCollection.cs
- XPathExpr.cs
- LinqDataSourceHelper.cs
- parserscommon.cs
- PtsHost.cs
- MenuAutomationPeer.cs
- GroupLabel.cs
- DynamicExpression.cs
- WpfMemberInvoker.cs
- SpecialFolderEnumConverter.cs
- EntityDataSourceSelectingEventArgs.cs
- GcHandle.cs
- TaskFormBase.cs
- ColumnWidthChangingEvent.cs
- HostingEnvironmentException.cs
- DbConnectionOptions.cs
- DeriveBytes.cs
- RemotingConfiguration.cs
- XmlSchemaObjectTable.cs
- CustomAssemblyResolver.cs
- StateRuntime.cs
- WebPartsPersonalization.cs
- WorkflowDesigner.cs
- AppSettings.cs
- documentation.cs
- TraceSource.cs
- RuleCache.cs
- TextElementCollectionHelper.cs
- LockCookie.cs
- DataGridViewAddColumnDialog.cs
- SuppressIldasmAttribute.cs
- RemotingConfigParser.cs
- ZipIOLocalFileDataDescriptor.cs
- DataContractSerializerOperationGenerator.cs
- _emptywebproxy.cs
- WindowsGraphicsCacheManager.cs
- Point3DKeyFrameCollection.cs
- LinkLabel.cs
- UserControl.cs
- EdmScalarPropertyAttribute.cs
- OutputCache.cs
- XslAst.cs
- NonParentingControl.cs
- ProxyHwnd.cs
- TemplateBindingExtensionConverter.cs
- DesignTimeTemplateParser.cs
- _AutoWebProxyScriptWrapper.cs
- SettingsSavedEventArgs.cs
- DataGridHeaderBorder.cs
- CompilerGeneratedAttribute.cs
- ImageMetadata.cs
- XmlReflectionImporter.cs
- Repeater.cs
- IsolatedStoragePermission.cs
- DataServiceQuery.cs
- HttpException.cs
- Regex.cs
- XmlElementAttributes.cs
- SmiSettersStream.cs
- SqlRowUpdatedEvent.cs
- ExtenderProviderService.cs
- X509CertificateValidator.cs
- GenericAuthenticationEventArgs.cs
- MailHeaderInfo.cs
- SqlNotificationRequest.cs
- Substitution.cs