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
- securitycriticaldata.cs
- TdsParserStaticMethods.cs
- MatrixUtil.cs
- StringReader.cs
- ScriptResourceHandler.cs
- FormatterServices.cs
- wgx_commands.cs
- DataBinder.cs
- IISUnsafeMethods.cs
- MaterialGroup.cs
- UpdateCompiler.cs
- ConditionCollection.cs
- Emitter.cs
- SelectionListComponentEditor.cs
- WebBrowserPermission.cs
- CalendarDateRange.cs
- Root.cs
- ExtenderControl.cs
- UIElement3D.cs
- Win32PrintDialog.cs
- TriggerActionCollection.cs
- SynchronousChannelMergeEnumerator.cs
- AuthenticodeSignatureInformation.cs
- UserInitiatedRoutedEventPermissionAttribute.cs
- Token.cs
- TypeDefinition.cs
- SHA256.cs
- CodeTypeDeclarationCollection.cs
- XmlSchemaDocumentation.cs
- ObjectDataSourceDesigner.cs
- SecurityTokenTypes.cs
- CookielessHelper.cs
- BehaviorEditorPart.cs
- NavigationEventArgs.cs
- DesignerCalendarAdapter.cs
- ConfigXmlAttribute.cs
- UpdateException.cs
- BuildResult.cs
- entityreference_tresulttype.cs
- DependencyPropertyHelper.cs
- ToolStripGripRenderEventArgs.cs
- ImageSource.cs
- StylusEventArgs.cs
- ControlBindingsCollection.cs
- StyleCollectionEditor.cs
- MetadataPropertyCollection.cs
- KnownIds.cs
- SpecialTypeDataContract.cs
- TextBoxAutomationPeer.cs
- BindingSource.cs
- RoleManagerSection.cs
- ListViewTableCell.cs
- ColumnHeaderConverter.cs
- SessionStateSection.cs
- ContentFilePart.cs
- NoResizeSelectionBorderGlyph.cs
- ExceptionList.cs
- HyperLinkStyle.cs
- ToggleButton.cs
- ValidationPropertyAttribute.cs
- FileVersionInfo.cs
- KnownColorTable.cs
- XmlNotation.cs
- IPipelineRuntime.cs
- TypeBuilder.cs
- EllipseGeometry.cs
- ErrorProvider.cs
- DataException.cs
- WebBrowserEvent.cs
- WebPartTracker.cs
- ExpressionCopier.cs
- DesignTimeTemplateParser.cs
- SurrogateDataContract.cs
- PackWebRequest.cs
- FormsIdentity.cs
- StandardRuntimeEnumValidator.cs
- TextOutput.cs
- OracleConnectionString.cs
- ResourceReferenceExpression.cs
- SmtpReplyReaderFactory.cs
- HttpListenerException.cs
- RawStylusSystemGestureInputReport.cs
- DefaultValidator.cs
- FixedPageStructure.cs
- SQLBoolean.cs
- InstanceDescriptor.cs
- DoubleCollectionConverter.cs
- MemberInfoSerializationHolder.cs
- Binding.cs
- MulticastDelegate.cs
- BypassElementCollection.cs
- AutoResetEvent.cs
- ComponentEditorPage.cs
- NullableFloatSumAggregationOperator.cs
- ClientConfigurationHost.cs
- GifBitmapDecoder.cs
- MenuItemCollection.cs
- ServiceThrottle.cs
- LinkLabelLinkClickedEvent.cs
- HttpApplicationFactory.cs