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 | The Roslyn compilation to search for. |
| Workspace | workspace | When this method returns |
| Project | project | When this method returns |
| bool | isMetalamaOutput | When this method returns |
Returns
| Type | Description |
|---|---|
| bool |
|