Share via


Workspace.CheckProjectHasProjectReference(ProjectId, ProjectReference) Method

Definition

Throws an exception if a project does not have a specific project reference.

protected:
 void CheckProjectHasProjectReference(Microsoft::CodeAnalysis::ProjectId ^ fromProjectId, Microsoft::CodeAnalysis::ProjectReference ^ projectReference);
protected void CheckProjectHasProjectReference (Microsoft.CodeAnalysis.ProjectId fromProjectId, Microsoft.CodeAnalysis.ProjectReference projectReference);
member this.CheckProjectHasProjectReference : Microsoft.CodeAnalysis.ProjectId * Microsoft.CodeAnalysis.ProjectReference -> unit
Protected Sub CheckProjectHasProjectReference (fromProjectId As ProjectId, projectReference As ProjectReference)

Parameters

fromProjectId
ProjectId
projectReference
ProjectReference

Applies to