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
- contentDescriptor.cs
- InternalSafeNativeMethods.cs
- DataTableReaderListener.cs
- ColorMap.cs
- ResourceFallbackManager.cs
- IChannel.cs
- MediaContextNotificationWindow.cs
- AllMembershipCondition.cs
- ControlLocalizer.cs
- Attributes.cs
- InternalDuplexChannelListener.cs
- StateFinalizationDesigner.cs
- XmlSerializerVersionAttribute.cs
- FieldDescriptor.cs
- MsmqInputSessionChannel.cs
- FormView.cs
- EdmType.cs
- ListBase.cs
- XmlSerializationGeneratedCode.cs
- ExceptionRoutedEventArgs.cs
- ProtocolReflector.cs
- BitmapDownload.cs
- CreateInstanceBinder.cs
- baseshape.cs
- AnnotationAdorner.cs
- OdbcUtils.cs
- PointCollectionValueSerializer.cs
- RequestNavigateEventArgs.cs
- Table.cs
- OleDbConnectionInternal.cs
- DesignerSerializationVisibilityAttribute.cs
- PeerMaintainer.cs
- ArcSegment.cs
- DropShadowBitmapEffect.cs
- ChannelTraceRecord.cs
- SecurityContext.cs
- DoubleLink.cs
- SplineKeyFrames.cs
- BuildDependencySet.cs
- WSHttpBindingBaseElement.cs
- AppDomainUnloadedException.cs
- TextBounds.cs
- WebPartPersonalization.cs
- SqlDataSourceCommandEventArgs.cs
- _Semaphore.cs
- KeyEventArgs.cs
- OrderedEnumerableRowCollection.cs
- QilLiteral.cs
- SerializationObjectManager.cs
- AutoResizedEvent.cs
- Base64Stream.cs
- LexicalChunk.cs
- DataGridCell.cs
- InertiaRotationBehavior.cs
- EndpointAddressMessageFilter.cs
- MSG.cs
- IncomingWebResponseContext.cs
- CommonRemoteMemoryBlock.cs
- SignatureDescription.cs
- EllipseGeometry.cs
- XmlSchemaObjectCollection.cs
- ZipIOBlockManager.cs
- BamlMapTable.cs
- MTConfigUtil.cs
- JapaneseLunisolarCalendar.cs
- WebPartHelpVerb.cs
- WebPartTransformer.cs
- InvokePatternIdentifiers.cs
- ListBox.cs
- AddInContractAttribute.cs
- DesignerActionPropertyItem.cs
- DynamicHyperLink.cs
- WinEventQueueItem.cs
- GridViewRowCollection.cs
- AssemblyResourceLoader.cs
- Formatter.cs
- DataGridHelper.cs
- VarInfo.cs
- VisualBrush.cs
- TableDetailsCollection.cs
- PrintingPermission.cs
- EventLogPermission.cs
- LineServicesRun.cs
- URLAttribute.cs
- StreamGeometry.cs
- PersonalizationStateQuery.cs
- BufferedReadStream.cs
- unitconverter.cs
- HtmlControlPersistable.cs
- Maps.cs
- DivideByZeroException.cs
- TextModifier.cs
- SchemaObjectWriter.cs
- ClientCultureInfo.cs
- MarkupCompiler.cs
- SystemThemeKey.cs
- CustomError.cs
- MessageQueue.cs
- SqlUdtInfo.cs
- Cursor.cs