Open sandboxFocus

Class DocumentKeyExtensions

Extension methods to obtain a DocumentKey.

Inheritance
DocumentKeyExtensions
Namespace: Metalama.Framework.Engine.CodeModel
Assembly: Metalama.Framework.Sdk.dll
Syntax
public static class DocumentKeyExtensions

Methods

Name Description
GetDocumentKey(SyntaxTree)

Gets the key of the document a SyntaxTree belongs to.

TryGetSyntaxTreeByPath(IPartialCompilation, string, out SyntaxTree?)

Gets the syntax tree of an IPartialCompilation that represents the document at a given path.