Method GetModel
- Namespace
- Alternet.Syntax.Parsers.Roslyn.CodeCompletion
- Assembly
- Alternet.Syntax.Parsers.Roslyn.v9.dll
GetModel(out SemanticModel, out SyntaxTree)
Gets the semantic model and syntax tree for this document.
public virtual bool GetModel(out SemanticModel model, out SyntaxTree tree)
Parameters
model
SemanticModelOutput parameter receives
Microsoft.CodeAnalysis.SemanticModel
object.tree
SyntaxTreeOutput parameter receives
Microsoft.CodeAnalysis.SyntaxTree
object.
Returns
- bool
True if succeed; otherwise false.