Document
SourceCodeKind
SupportsSemanticModel
SupportsSyntaxTree
GetLinkedDocumentIds()
GetOptionsAsync(CancellationToken)
GetSemanticModelAsync(CancellationToken)
GetSyntaxRootAsync(CancellationToken)
GetSyntaxTreeAsync(CancellationToken)
GetSyntaxVersionAsync(CancellationToken)
GetTextChangesAsync(Document, CancellationToken)
TryGetSemanticModel(SemanticModel)
TryGetSyntaxRoot(SyntaxNode)
TryGetSyntaxTree(SyntaxTree)
TryGetSyntaxVersion(VersionStamp)
WithFilePath(String)
WithFolders(IEnumerable<String>)
WithName(String)
WithSourceCodeKind(SourceCodeKind)
WithSyntaxRoot(SyntaxNode)
WithText(SourceText)
net10.0
namespace Microsoft.CodeAnalysis
{
[DebuggerDisplay("{GetDebuggerDisplay(),nq}")]
public class Document : TextDocument
{
public bool TryGetSyntaxVersion(out VersionStamp version);
}
}
| nuget.org | 0.0 % Reference this API |
|---|---|
| .NET | 8.09.010.0 |
Information specific to net10.0 | |
| Assembly | Microsoft.CodeAnalysis.Workspaces , Version=5.0.0.0, PublicKeyToken=31bf3856ad364e35 |
| Referencing | Your project needs a package reference to |
| Package | Microsoft.CodeAnalysis.Workspaces.Common (5.0.0) net9.0 |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API