40 references to MiscellaneousFiles
Microsoft.CodeAnalysis.CSharp.Features (5)
CodeRefactorings\ConvertLocalFunctionToMethod\CSharpConvertLocalFunctionToMethodCodeRefactoringProvider.cs (1)
36if (document.Project.Solution.WorkspaceKind == WorkspaceKind.MiscellaneousFiles)
CodeRefactorings\InlineTemporary\InlineTemporaryCodeRefactoringProvider.cs (1)
44if (document.Project.Solution.WorkspaceKind == WorkspaceKind.MiscellaneousFiles)
CodeRefactorings\SyncNamespace\CSharpChangeNamespaceService.cs (1)
44if (document.Project.Solution.WorkspaceKind == WorkspaceKind.MiscellaneousFiles
CodeRefactorings\UseExplicitOrImplicitType\AbstractUseTypeCodeRefactoringProvider.cs (1)
30if (document.Project.Solution.WorkspaceKind == WorkspaceKind.MiscellaneousFiles)
CodeRefactorings\UseRecursivePatterns\UseRecursivePatternsCodeRefactoringProvider.cs (1)
49if (document.Project.Solution.WorkspaceKind == WorkspaceKind.MiscellaneousFiles)
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (1)
ExtractClass\ExtractClassTests.cs (1)
139WorkspaceKind = WorkspaceKind.MiscellaneousFiles
Microsoft.CodeAnalysis.EditorFeatures (1)
Organizing\OrganizeDocumentCommandHandler.cs (1)
83if (workspace.Kind == WorkspaceKind.MiscellaneousFiles)
Microsoft.CodeAnalysis.Features (12)
AddConstructorParametersFromMembers\AddConstructorParametersFromMembersCodeRefactoringProvider.cs (1)
40if (document.Project.Solution.WorkspaceKind == WorkspaceKind.MiscellaneousFiles)
CodeRefactorings\ExtractMethod\AbstractExtractMethodCodeRefactoringProvider.cs (1)
40if (solution.WorkspaceKind == WorkspaceKind.MiscellaneousFiles)
CodeRefactorings\MoveType\MoveTypeCodeRefactoringProvider.cs (1)
25if (document.Project.Solution.WorkspaceKind == WorkspaceKind.MiscellaneousFiles)
CodeRefactorings\SyncNamespace\AbstractSyncNamespaceCodeRefactoringProvider.cs (1)
23if (document.Project.Solution.WorkspaceKind == WorkspaceKind.MiscellaneousFiles ||
ConvertIfToSwitch\AbstractConvertIfToSwitchCodeRefactoringProvider.cs (1)
37if (document.Project.Solution.WorkspaceKind == WorkspaceKind.MiscellaneousFiles)
DocumentHighlighting\AbstractDocumentHighlightsService.cs (1)
243Debug.Assert(solution.WorkspaceKind is WorkspaceKind.Interactive or WorkspaceKind.MiscellaneousFiles);
GenerateDefaultConstructors\GenerateDefaultConstructorsCodeRefactoringProvider.cs (1)
44if (document.Project.Solution.WorkspaceKind == WorkspaceKind.MiscellaneousFiles)
GenerateEqualsAndGetHashCodeFromMembers\GenerateEqualsAndGetHashCodeFromMembersCodeRefactoringProvider.cs (1)
54if (document.Project.Solution.WorkspaceKind == WorkspaceKind.MiscellaneousFiles)
IntroduceParameter\AbstractIntroduceParameterCodeRefactoringProvider.cs (1)
52if (document.Project.Solution.WorkspaceKind == WorkspaceKind.MiscellaneousFiles)
IntroduceVariable\IntroduceVariableCodeRefactoringProvider.cs (1)
26if (document.Project.Solution.WorkspaceKind == WorkspaceKind.MiscellaneousFiles)
NameTupleElement\AbstractNameTupleElementCodeRefactoringProvider.cs (1)
43if (document.Project.Solution.WorkspaceKind == WorkspaceKind.MiscellaneousFiles)
UseNamedArguments\AbstractUseNamedArgumentsCodeRefactoringProvider.cs (1)
201if (document.Project.Solution.WorkspaceKind == WorkspaceKind.MiscellaneousFiles)
Microsoft.CodeAnalysis.LanguageServer.Protocol (6)
Extensions\ProtocolConversions.cs (1)
819IsMiscellaneous = project.Solution.WorkspaceKind == WorkspaceKind.MiscellaneousFiles,
Features\Options\ClientFallbackAnalyzerConfigOptionsProvider.cs (1)
20[WorkspaceKind.Host, WorkspaceKind.Interactive, WorkspaceKind.SemanticSearch, WorkspaceKind.MetadataAsSource, WorkspaceKind.MiscellaneousFiles, WorkspaceKind.Debugger, WorkspaceKind.Preview])]
Features\Options\SolutionAnalyzerConfigOptionsUpdater.cs (1)
27[WorkspaceKind.Host, WorkspaceKind.Interactive, WorkspaceKind.SemanticSearch, WorkspaceKind.MetadataAsSource, WorkspaceKind.MiscellaneousFiles, WorkspaceKind.Debugger, WorkspaceKind.Preview]), Shared]
Workspaces\LspWorkspaceManager.cs (2)
333.Where(workspace => workspace.Kind != WorkspaceKind.MiscellaneousFiles) 334.Concat(registeredWorkspaces.Where(workspace => workspace.Kind == WorkspaceKind.MiscellaneousFiles))
Workspaces\LspWorkspaceRegistrationEventListener.cs (1)
15WorkspaceKind.MiscellaneousFiles,
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (8)
UriTests.cs (5)
187Assert.Equal(WorkspaceKind.MiscellaneousFiles, workspace?.Kind); 199Assert.Equal(WorkspaceKind.MiscellaneousFiles, workspace?.Kind); 239Assert.Equal(WorkspaceKind.MiscellaneousFiles, workspace?.Kind); 247Assert.Equal(WorkspaceKind.MiscellaneousFiles, workspace?.Kind); 287Assert.Equal(WorkspaceKind.MiscellaneousFiles, workspace?.Kind);
Workspaces\LspWorkspaceManagerTests.cs (3)
333await using var testLspServer = await CreateXmlTestLspServerAsync(firstWorkspaceXml, mutatingLspWorkspace, workspaceKind: WorkspaceKind.MiscellaneousFiles); 550Assert.Equal(WorkspaceKind.MiscellaneousFiles, workspace1?.Kind); 587Assert.Equal(WorkspaceKind.MiscellaneousFiles, workspace1?.Kind);
Microsoft.CodeAnalysis.VisualBasic.Features (1)
CodeRefactorings\InlineTemporary\VisualBasicInlineTemporaryCodeRefactoringProvider.vb (1)
33If document.Project.Solution.WorkspaceKind = WorkspaceKind.MiscellaneousFiles Then
Microsoft.CodeAnalysis.Workspaces (3)
FindSymbols\SymbolFinder.cs (1)
262Debug.Assert(solution.WorkspaceKind is WorkspaceKind.Interactive or WorkspaceKind.MiscellaneousFiles);
Workspace\Host\Mef\ExportWorkspaceServiceFactoryAttribute.cs (1)
18/// <param name="layer">The layer or workspace kind that the service is specified for; <see cref="ServiceLayer.Default" />, <see cref="WorkspaceKind.MiscellaneousFiles" />etc.</param>
Workspace\WorkspaceKind.cs (1)
16public const string MiscellaneousFiles = nameof(MiscellaneousFiles);
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Workspaces\TestWorkspace`1.cs (1)
385WorkspaceKind.MiscellaneousFiles => false,
Microsoft.VisualStudio.LanguageServices (2)
ProjectSystem\MiscellaneousFilesWorkspace.cs (2)
65: base(visualStudioWorkspace.Services.HostServices, WorkspaceKind.MiscellaneousFiles) 262return registration.Workspace != null && registration.Workspace.Kind != WorkspaceKind.MetadataAsSource && registration.Workspace.Kind != WorkspaceKind.MiscellaneousFiles;