Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Code / Code­Display­Format

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 : Object

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.