12 references to The_solution_does_not_contain_the_specified_document
Microsoft.CodeAnalysis.Workspaces (12)
Rename\Renamer.RenameDocumentActionSet.cs (1)
142
?? throw new InvalidOperationException(WorkspaceExtensionsResources.
The_solution_does_not_contain_the_specified_document
);
Shared\Extensions\ISolutionExtensions.cs (1)
71
throw new InvalidOperationException(WorkspaceExtensionsResources.
The_solution_does_not_contain_the_specified_document
);
Shared\Extensions\ProjectExtensions.cs (6)
35
=> project.GetDocument(documentId) ?? throw new InvalidOperationException(WorkspaceExtensionsResources.
The_solution_does_not_contain_the_specified_document
);
38
=> project.GetDocument(tree) ?? throw new InvalidOperationException(WorkspaceExtensionsResources.
The_solution_does_not_contain_the_specified_document
);
41
=> project.GetAdditionalDocument(documentId) ?? throw new InvalidOperationException(WorkspaceExtensionsResources.
The_solution_does_not_contain_the_specified_document
);
44
=> project.GetAnalyzerConfigDocument(documentId) ?? throw new InvalidOperationException(WorkspaceExtensionsResources.
The_solution_does_not_contain_the_specified_document
);
47
=> project.GetTextDocument(documentId) ?? throw new InvalidOperationException(WorkspaceExtensionsResources.
The_solution_does_not_contain_the_specified_document
);
52
return document ?? throw new InvalidOperationException(WorkspaceExtensionsResources.
The_solution_does_not_contain_the_specified_document
);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\ISolutionExtensions.cs (1)
83
=> new InvalidOperationException(WorkspaceExtensionsResources.
The_solution_does_not_contain_the_specified_document
);
Workspace\Solution\Solution.cs (3)
1746
throw new InvalidOperationException(WorkspaceExtensionsResources.
The_solution_does_not_contain_the_specified_document
);
1772
throw new InvalidOperationException(WorkspaceExtensionsResources.
The_solution_does_not_contain_the_specified_document
);
1798
throw new InvalidOperationException(WorkspaceExtensionsResources.
The_solution_does_not_contain_the_specified_document
);