Method GetModel
GetModel(out SemanticModel, out SyntaxTree)
When implemented by a class, gets the current semantic model and syntax tree for this document.
bool GetModel(out SemanticModel model, out SyntaxTree tree)
Parameters
modelSemanticModelOutput parameter receives
Microsoft.CodeAnalysis.SemanticModelobject.treeSyntaxTreeOutput parameter receives
Microsoft.CodeAnalysis.SyntaxTreeobject.
Returns
- bool
True if succeed; otherwise false.