Table of Contents

Method UnregisterCode

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

UnregisterCode(string, ProjectId)

Removes types declared in given source file from being accessible for code analysis.

public void UnregisterCode(string fileName, ProjectId projectId = null)

Parameters

fileName string

File name of the source code.

projectId ProjectId

A Microsoft.CodeAnalysis.ProjectId that contains source code.