Click or drag to resize

SimplificationOptions Class



Contains the options that needs to be drilled down to the Simplification Engine
Inheritance Hierarchy
SystemObject
  Microsoft.CodeAnalysis.SimplificationSimplificationOptions

Namespace:  Microsoft.CodeAnalysis.Simplification
Assembly:  Microsoft.CodeAnalysis.Workspaces (in Microsoft.CodeAnalysis.Workspaces.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public static class SimplificationOptions

The SimplificationOptions type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberAllowSimplificationToBaseType
This option says if we should simplify from Derived types to Base types in Static Member Accesses
Public propertyStatic memberAllowSimplificationToGenericType
This option says if we should simplify to NonGeneric Name rather than GenericName
Public propertyStatic memberPreferAliasToQualification
This option tells the simplification engine if the Qualified Name should be replaced by Alias if the user had initially not used the Alias
Public propertyStatic memberPreferImplicitTypeInference
This option says that if we should simplify the Generic Name which has the type argument inferred
Public propertyStatic memberPreferImplicitTypeInLocalDeclaration
This option says if we should simplify the Explicit Type in Local Declarations
Public propertyStatic memberPreferIntrinsicPredefinedTypeKeywordInDeclaration Obsolete.
This option says if we should prefer keyword for Intrinsic Predefined Types in Declarations
Public propertyStatic memberPreferIntrinsicPredefinedTypeKeywordInMemberAccess Obsolete.
This option says if we should prefer keyword for Intrinsic Predefined Types in Member Access Expression
Public propertyStatic memberPreferOmittingModuleNamesInQualification
This option influences the name reduction of members of a module in VB. If set to true, the name reducer will e.g. reduce Namespace.Module.Member to Namespace.Member.
Public propertyStatic memberQualifyEventAccess Obsolete.
This option says if we should simplify away the this. or Me. in event access expressions.
Public propertyStatic memberQualifyFieldAccess Obsolete.
This option says if we should simplify away the this. or Me. in field access expressions.
Public propertyStatic memberQualifyMemberAccessWithThisOrMe Obsolete.
This option says if we should simplify away the this or Me in member access expressions.
Public propertyStatic memberQualifyMethodAccess Obsolete.
This option says if we should simplify away the this. or Me. in method access expressions.
Public propertyStatic memberQualifyPropertyAccess Obsolete.
This option says if we should simplify away the this. or Me. in property access expressions.
Top
See Also