Click or drag to resize

SymbolDisplayFormat Class



Describes the formatting rules that should be used when displaying symbols.
Inheritance Hierarchy
SystemObject
  Microsoft.CodeAnalysisSymbolDisplayFormat

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

The SymbolDisplayFormat type exposes the following members.

Constructors
  NameDescription
Public methodSymbolDisplayFormat
Constructs a new instance of SymbolDisplayFormat accepting a variety of optional parameters.
Top
Properties
  NameDescription
Public propertyStatic memberCSharpErrorMessageFormat
Formats a symbol description as in a C# compiler error message.
Public propertyStatic memberCSharpShortErrorMessageFormat
Formats a symbol description as in a C# compiler short error message.
Public propertyDelegateStyle
Determines how delegates are displayed (e.g. name vs full signature).
Public propertyExtensionMethodStyle
Determines how extension methods are displayed.
Public propertyStatic memberFullyQualifiedFormat
Formats the names of all types and namespaces in a fully qualified style (including the global alias).
Public propertyGenericsOptions
Determines how generics (on types and methods) should be described (i.e. the level of detail).
Public propertyGlobalNamespaceStyle
Determines how the global namespace is displayed.
Public propertyKindOptions
Determines which kind keywords should be included when displaying symbols.
Public propertyLocalOptions
Determines how local variables are displayed.
Public propertyMemberOptions
Determines how fields, properties, events, and methods are displayed.
Public propertyStatic memberMinimallyQualifiedFormat
Formats a symbol description in a form that suits ToMinimalDisplayString(SemanticModel, Int32, SymbolDisplayFormat).
Public propertyMiscellaneousOptions
Determines other characteristics of how symbols are displayed.
Public propertyParameterOptions
Determines how parameters (of methods, properties/indexers, and delegates) are displayed.
Public propertyPropertyStyle
Determines how properties are displayed. For example, "Prop" vs "Prop { get; set; }" in C# or "Prop" vs. "ReadOnly Prop" in Visual Basic.
Public propertyTypeQualificationStyle
Determines how types are qualified (e.g. Nested vs Containing.Nested vs Namespace.Containing.Nested).
Public propertyStatic memberVisualBasicErrorMessageFormat
Formats a symbol description as in a Visual Basic compiler error message.
Public propertyStatic memberVisualBasicShortErrorMessageFormat
Formats a symbol description as in a Visual Basic compiler short error message.
Top
Methods
  NameDescription
Public methodAddGenericsOptions
Creates a copy of the SymbolDisplayFormat but with an additional set of .
Public methodAddKindOptions
Creates a copy of the SymbolDisplayFormat but with an additional set of .
Public methodAddLocalOptions
Creates a copy of the SymbolDisplayFormat but with an additional set of .
Public methodAddMemberOptions
Creates a copy of the SymbolDisplayFormat but with an additional set of .
Public methodAddMiscellaneousOptions
Creates a copy of the SymbolDisplayFormat but with an additional set of .
Public methodAddParameterOptions
Creates a copy of the SymbolDisplayFormat but with an additional set of .
Public methodRemoveGenericsOptions
Creates a copy of the SymbolDisplayFormat but with a set of stripped away from the original object.
Public methodRemoveKindOptions
Creates a copy of the SymbolDisplayFormat but with a set of stripped away from the original object.
Public methodRemoveLocalOptions
Creates a copy of the SymbolDisplayFormat but with a set of stripped away from the original object.
Public methodRemoveMemberOptions
Creates a copy of the SymbolDisplayFormat but with a set of stripped away from the original object.
Public methodRemoveMiscellaneousOptions
Creates a copy of the SymbolDisplayFormat without the specified .
Public methodRemoveParameterOptions
Creates a copy of the SymbolDisplayFormat but with a set of stripped away from the original object.
Public methodWithGenericsOptions
Creates a copy of the SymbolDisplayFormat but with replaced set of .
Public methodWithGlobalNamespaceStyle
Creates a copy of the SymbolDisplayFormat but with replaced .
Public methodWithKindOptions
Creates a copy of the SymbolDisplayFormat but with replaced set of .
Public methodWithLocalOptions
Creates a copy of the SymbolDisplayFormat but with replaced set of .
Public methodWithMemberOptions
Creates a copy of the SymbolDisplayFormat but with replaced set of .
Public methodWithMiscellaneousOptions
Creates a copy of the SymbolDisplayFormat but with replaced set of .
Public methodWithParameterOptions
Creates a copy of the SymbolDisplayFormat but with replaced set of .
Top
See Also