22 references to Project
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (5)
CodeActions\SyncNamespace\CSharpSyncNamespaceTestsBase.cs (1)
144var project = workspace.Documents.Single(doc => !doc.SelectedSpans.IsEmpty()).Project;
Formatting\FormattingEngineTests.cs (1)
2616workspace.GlobalOptions.SetEditorOptions(textView.Options.GlobalOptions, subjectDocument.Project.Language);
SplitStringLiteral\SplitStringLiteralCommandHandlerTests.cs (1)
79workspace.GlobalOptions.SetGlobalOption(IndentationOptionsStorage.SmartIndent, document.Project.Language, indentStyle);
Squiggles\ErrorSquiggleProducerTests.cs (2)
321new object(), workspace, workspace.CurrentSolution, document.Project.Id, document.Id, 365new LiveId(), workspace, workspace.CurrentSolution, document.Project.Id, document.Id,
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (6)
AutomaticCompletion\AbstractAutomaticBraceCompletionTests.cs (1)
162workspace.GlobalOptions.SetEditorOptions(textView.Options.GlobalOptions, document.Project.Language);
Diagnostics\GenerateType\GenerateTypeTestState.cs (2)
39TriggeredProject = Workspace.CurrentSolution.GetProject(_testDocument.Project.Id); 44ProjectToBeModified = Workspace.CurrentSolution.GetProject(_testDocument.Project.Id);
Formatting\CoreFormatterTestsBase.cs (1)
88workspace.GlobalOptions.SetGlobalOption(IndentationOptionsStorage.SmartIndent, document.Project.Language, indentStyle);
Squiggles\TestDiagnosticTagProducer.cs (2)
70projectId: document.Project.Id, 74language: document.Project.Language);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
InheritanceMargin\InheritanceMarginTests.cs (2)
212var testHostDocument1 = testWorkspace.Documents.Single(doc => doc.Project.AssemblyName.Equals("Assembly1")); 213var testHostDocument2 = testWorkspace.Documents.Single(doc => doc.Project.AssemblyName.Equals("Assembly2"));
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (6)
Diagnostics\AbstractCrossLanguageUserDiagnosticTest.vb (1)
154Dim providerAndFixer = CreateDiagnosticProviderAndFixer(workspace, hostDocument.Project.Language)
Diagnostics\DiagnosticProviderTests.vb (2)
335Where doc.Project.AssemblyName.Equals(projectName) 336Select doc.Project.Id).Single()
FindReferences\FindReferencesTests.vb (1)
516Return $"{hostDocument.Project.Name}: {hostDocument.FilePath}"
PasteTracking\PasteTrackingTestState.vb (1)
32Dim hostDocument = Workspace.Documents.FirstOrDefault(Function(document) document.Project.Name = projectName AndAlso document.Name = fileName)
ReferenceHighlighting\AbstractReferenceHighlightingTests.vb (1)
41globalOptions.SetGlobalOption(ReferenceHighlightingOptionsStorage.ReferenceHighlighting, hostDocument.Project.Language, optionIsEnabled)
Microsoft.VisualStudio.LanguageServices.UnitTests (3)
ExtractInterface\ExtractInterfaceViewModelTests.vb (1)
316languageName:=doc.Project.Language)
Preview\PreviewChangesTests.vb (2)
273Dim documentId1 = workspace.Documents.Where(Function(d) d.Project.Name = "VBProj1").Single().Id 276Dim documentId2 = workspace.Documents.Where(Function(d) d.Project.Name = "VBProj2").Single().Id