4 references to WithSourceCodeKind
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
WorkspaceExtensions.cs (1)
19
var newSolution = oldSolution.AddDocument(id, name, initialText, folders).GetDocument(id)!.
WithSourceCodeKind
(sourceCodeKind).Project.Solution;
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
WorkspaceTests\AdhocWorkspaceTests.cs (1)
517
var changedDoc = originalDoc.
WithSourceCodeKind
(SourceCodeKind.Script);
WorkspaceTests\WorkspaceTests.cs (1)
93
var changedDoc = originalDoc.
WithSourceCodeKind
(SourceCodeKind.Script);
Roslyn.VisualStudio.Next.UnitTests (1)
Services\SolutionServiceTests.cs (1)
319
document = document.
WithSourceCodeKind
(SourceCodeKind.Script);