Click or drag to resize

Microsoft.CodeAnalysis.Simplification Namespace



 
Classes
  ClassDescription
Public classSimplificationOptions
Contains the options that needs to be drilled down to the Simplification Engine
Public classSimplifier
Expands and Reduces subtrees. Expansion: 1) Replaces names with fully qualified dotted names. 2) Adds parentheses around expressions 3) Adds explicit casts/conversions where implicit conversions exist 4) Adds escaping to identifiers 5) Rewrites extension method invocations with explicit calls on the class containing the extension method. Reduction: 1) Shortens dotted names to their minimally qualified form 2) Removes unnecessary parentheses 3) Removes unnecessary casts/conversions 4) Removes unnecessary escaping 5) Rewrites explicit calls to extension methods to use dot notation