TryFindProject(Compilation, out Workspace?, out Project?, out bool)
Finds the Workspace and Project that defines a given Roslyn Compilation in the current WorkspaceCollection.
Declaration
public bool TryFindProject(Compilation compilation, out Workspace? workspace, out Project? project, out bool isMetalamaOutput)
Parameters
Type | Name | Description |
---|---|---|
Compilation | compilation | |
Workspace | workspace | |
Project | project | |
bool | isMetalamaOutput |
Returns
Type | Description |
---|---|
bool |