Table of Contents

Method GetModel

Namespace
Alternet.Syntax.Parsers.Roslyn
Assembly
Alternet.Syntax.Parsers.Roslyn.v9.dll

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

model SemanticModel

Output parameter receives Microsoft.CodeAnalysis.SemanticModel object.

tree SyntaxTree

Output parameter receives Microsoft.CodeAnalysis.SyntaxTree object.

Returns

bool

True if succeed; otherwise false.