Gets or sets a Boolean value indicating whether the attribute of a type is to apply to the members of the type.
Assembly: mscorlib (in mscorlib.dll)
The value of this property is ignored when the attribute is applied to a member.
Applying this attribute does not automatically obfuscate the code entity to which you apply it. Applying the attribute is an alternative to creating a configuration file for the obfuscation tool. That is, it merely provides instructions for an obfuscation tool. Microsoft recommends that vendors of obfuscation tools follow the semantics described here. However, there is no guarantee that a particular tool follows Microsoft recommendations.
The following code example shows a type that is excluded from obfuscation, but the exclusion does not apply to its members because theproperty is false.
This code is part of a larger example that can be compiled and executed. See the ObfuscationAttribute class.
Available since 2.0