Enum ConversionFlags
- Namespace
- ICSharpCode.Decompiler.Output
- Assembly
- ICSharpCode.Decompiler.dll
[Flags]
public enum ConversionFlags
Fields
All = ShowDeclaringType | UseFullyQualifiedTypeNames | UseFullyQualifiedEntityNames | PlaceReturnTypeAfterParameterList | StandardConversionFlags | SupportInitAccessors | SupportRecordClasses | SupportRecordStructs | SupportUnsignedRightShift | SupportOperatorChecked
None = 0
Convert only the name.
PlaceReturnTypeAfterParameterList = 2048
Instead of placing the return type before the entity name, append it after the parameter list, preceeded by a colon.
ShowAccessibility = 4
Show the accessibility (private, public, etc.)
ShowBody = 512
For fields, events and methods: adds a semicolon at the end. For properties: shows "{ get; }" or similar.
ShowDeclaringType = 16
Show the declaring type for the type or member
ShowDefinitionKeyword = 8
Show the definition key word (class, struct, Sub, Function, etc.)
ShowModifiers = 32
Show modifiers (virtual, override, etc.)
ShowParameterDefaultValues = 16384
Show default values of parameters.
ShowParameterList = 1
Show the parameter list
ShowParameterModifiers = 8192
Show modifiers of parameters, e.g. 'this', 'params', 'ref', 'out' and 'in'.
ShowParameterNames = 2
Show names for parameters
ShowReturnType = 64
Show the return type
ShowTypeParameterList = 256
Show the list of type parameters on method and class declarations. Type arguments for parameter/return types are always shown.
ShowTypeParameterVarianceModifier = 4096
Show the variance modifier of the type parameter. If active, shows 'Func<in T, out TResult>' instead of 'Func<T, TResult>'.
StandardConversionFlags = ShowParameterList | ShowParameterNames | ShowAccessibility | ShowDefinitionKeyword | ShowModifiers | ShowReturnType | ShowTypeParameterList | ShowBody | ShowTypeParameterVarianceModifier | ShowParameterModifiers | ShowParameterDefaultValues | UseNullableSpecifierForValueTypes
SupportInitAccessors = 65536
Support
init
accessors.SupportOperatorChecked = 1048576
Support C# 11
operator checked
.SupportRecordClasses = 131072
Support
record
classes.SupportRecordStructs = 262144
Support
record
structs.SupportUnsignedRightShift = 524288
Support
>>>
as unsigned right shift operator.UseFullyQualifiedEntityNames = 1024
Use fully qualified names for members.
UseFullyQualifiedTypeNames = 128
Use fully qualified names for types.
UseNullableSpecifierForValueTypes = 32768
Use
T?
instead ofNullable<T>
.