Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- NonSerializedAttribute.cs
- AlternateViewCollection.cs
- ApplicationBuildProvider.cs
- SerializableTypeCodeDomSerializer.cs
- UInt32Converter.cs
- SecurityKeyIdentifier.cs
- RenderDataDrawingContext.cs
- DbLambda.cs
- CapabilitiesState.cs
- AssemblyName.cs
- HostingEnvironmentWrapper.cs
- SecurityState.cs
- RadialGradientBrush.cs
- mediapermission.cs
- MobileControlBuilder.cs
- DocumentApplicationDocumentViewer.cs
- HandledEventArgs.cs
- dataprotectionpermissionattribute.cs
- AttributeData.cs
- WaitHandleCannotBeOpenedException.cs
- SslStream.cs
- Pair.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- UpDownBase.cs
- BindingExpression.cs
- UiaCoreTypesApi.cs
- _ConnectOverlappedAsyncResult.cs
- TypeLibConverter.cs
- IResourceProvider.cs
- LogSwitch.cs
- ExceptionHandlerDesigner.cs
- FileRegion.cs
- Margins.cs
- PointHitTestResult.cs
- SecurityTokenProvider.cs
- MimeObjectFactory.cs
- Renderer.cs
- HttpCookieCollection.cs
- ApplicationTrust.cs
- AnnotationHelper.cs
- WebProxyScriptElement.cs
- DmlSqlGenerator.cs
- PageRouteHandler.cs
- FontFamilyIdentifier.cs
- CapacityStreamGeometryContext.cs
- FormatSelectingMessageInspector.cs
- LessThan.cs
- ISAPIRuntime.cs
- SqlDuplicator.cs
- DateTimeOffsetConverter.cs
- EventLogEntryCollection.cs
- XmlNamespaceMappingCollection.cs
- DragSelectionMessageFilter.cs
- COM2ExtendedTypeConverter.cs
- RowUpdatingEventArgs.cs
- WindowsScrollBarBits.cs
- ProfileServiceManager.cs
- WindowsFormsHostAutomationPeer.cs
- Misc.cs
- WebMethodAttribute.cs
- FormsIdentity.cs
- ViewDesigner.cs
- SoapConverter.cs
- ArcSegment.cs
- BrowserCapabilitiesCodeGenerator.cs
- ControlBindingsCollection.cs
- ColumnMapVisitor.cs
- DataGridViewControlCollection.cs
- DynamicValueConverter.cs
- Rectangle.cs
- UndoEngine.cs
- TemplatedEditableDesignerRegion.cs
- InitializerFacet.cs
- XmlSchemaException.cs
- DataSourceControlBuilder.cs
- EventRecordWrittenEventArgs.cs
- ToolboxItemAttribute.cs
- ToolStripLabel.cs
- DragDrop.cs
- DispatcherObject.cs
- CodeMemberField.cs
- ThaiBuddhistCalendar.cs
- HandlerBase.cs
- ToolZone.cs
- ButtonRenderer.cs
- WebPartsSection.cs
- XslTransform.cs
- TemplateParser.cs
- DbProviderConfigurationHandler.cs
- RadioButton.cs
- KerberosTicketHashIdentifierClause.cs
- GeometryCollection.cs
- DataGridViewCellEventArgs.cs
- CanonicalXml.cs
- ImageButton.cs
- ICspAsymmetricAlgorithm.cs
- FormatterServices.cs
- CatalogPartChrome.cs
- StringArrayConverter.cs
- OutOfMemoryException.cs