11 references to AddAnalyzerConfigDocument
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
Formatting\CodeCleanupTests.cs (1)
805project = project.AddAnalyzerConfigDocument(".editorconfig", SourceText.From(editorconfigText), filePath: @"z:\\.editorconfig").Project;
Workspaces\WorkspaceTests_EditorFeatures.cs (1)
1337var doc = project.AddAnalyzerConfigDocument("app.config", SourceText.From("text"));
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (4)
CodeRefactorings\CodeRefactoringServiceTest.cs (2)
206.AddAnalyzerConfigDocument(".editorconfig", SourceText.From(""), filePath: "c:\\.editorconfig").Project 207.AddAnalyzerConfigDocument(".globalconfig", SourceText.From("is_global = true"), filePath: "c:\\.globalconfig").Project;
Diagnostics\DiagnosticAnalyzerServiceTests.cs (2)
173project = project.AddAnalyzerConfigDocument(".editorconfig", filePath: "z:\\.editorconfig", text: SourceText.From(editorconfigText)).Project; 359project = project.AddAnalyzerConfigDocument(
Microsoft.CodeAnalysis.Features.Test.Utilities (1)
Snippets\AbstractSnippetProviderTests.cs (1)
44var editorConfigDoc = document.Project.AddAnalyzerConfigDocument(".editorconfig", SourceText.From(editorconfig), filePath: "/.editorconfig");
Microsoft.CodeAnalysis.Workspaces.UnitTests (3)
GeneratedCodeRecognitionTests.cs (2)
59var projectWithUserConfiguredGeneratedCodeTrue = project.AddAnalyzerConfigDocument(".editorconfig", 65var projectWithUserConfiguredGeneratedCodeFalse = project.AddAnalyzerConfigDocument(".editorconfig",
SolutionTests\TryApplyChangesTests.cs (1)
166Assert.True(workspace.TryApplyChanges(project.AddAnalyzerConfigDocument(".editorconfig", SourceText.From("")).Project.Solution));
Microsoft.VisualStudio.LanguageServices (1)
ProjectSystem\VisualStudioWorkspaceImpl.AddAnalyzerConfigDocumentUndoUnit.cs (1)
23=> fromProject.AddAnalyzerConfigDocument(DocumentInfo.Name, Text, DocumentInfo.Folders, DocumentInfo.FilePath).Project;