Open sandboxFocus

Class CodeDisplayFormat

Defines the formatting options of ToDisplayString(CodeDisplayFormat?, CodeDisplayContext?). Only well-known instances of this classes, exposed as properties, are currently supported.

Inheritance
CodeDisplayFormat
Namespace: Metalama.Framework.Code
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public sealed class CodeDisplayFormat

Properties

Name Description
DiagnosticMessage

Formats code references as in a C# error message.

FullyQualified

Emits fully-qualified code references, including namespaces and aliases.

MinimallyQualified

Emits minimally-qualified code references.

ShortDiagnosticMessage

Formats code references as in a C# short error message.

Methods

Name Description
ToString()

Extension Methods