Table of Contents

Method FindDocument

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

FindDocument(string, ProjectId)

When implemented by a class, gets Microsoft.CodeAnalysis.Document matches the given file path.

Document FindDocument(string fileName, ProjectId projectId = null)

Parameters

fileName string

Document file name.

projectId ProjectId

Specifies Project to search for the document.

Returns

Document

Found Microsoft.CodeAnalysis.Document object.