MetalamaAPI documentationAspect APIMetalama.​Framework.​CodeCode­Display­Format
Open sandboxFocus

CodeDisplayFormat Class

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

Inheritance
System.Object
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.