Table of Contents

Method AddReference

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

AddReference(MetadataReference, ProjectId)

When implemented by a class, adds metadata reference to the project

void AddReference(MetadataReference reference, ProjectId projectId = null)

Parameters

reference MetadataReference

Reference to add.

projectId ProjectId

Specifies project to add reference to.