Table of Contents

Method AddReference

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

AddReference(MetadataReference, ProjectId)

Adds metadata reference to the project

public virtual void AddReference(MetadataReference reference, ProjectId projectId = null)

Parameters

reference MetadataReference

Reference to add.

projectId ProjectId

Specifies project to add reference to.