1 instantiation of TemporaryCSharpProject
Microsoft.DotNet.Open.Api.Tools.Tests (1)
src\Tools\Shared\TestHelpers\TemporaryDirectory.cs (1)
41var project = new TemporaryCSharpProject(name, this, sdk);
20 references to TemporaryCSharpProject
Microsoft.DotNet.Open.Api.Tools.Tests (20)
OpenApiAddProjectTests.cs (3)
25var project1 = refProj1.WithCSharpProject("refProj"); 31var project2 = refProj2.WithCSharpProject("refProj2"); 59var csproj = refProj.WithCSharpProject(refProjName);
OpenApiTestBase.cs (3)
59var project = _tempDir 190public TemporaryNSwagProject(TemporaryCSharpProject project, string jsonFile) 196public TemporaryCSharpProject Project { get; set; }
src\Tools\Shared\TestHelpers\TemporaryCSharpProject.cs (7)
45public TemporaryCSharpProject WithTargetFrameworks(params string[] tfms) 59public TemporaryCSharpProject WithProperty(string name, string value) 62public TemporaryCSharpProject WithProperty(PropertySpec property) 72public TemporaryCSharpProject WithItem(string itemName, string include, string condition = null) 75public TemporaryCSharpProject WithItem(ItemSpec item) 113public TemporaryCSharpProject WithProjectReference(TemporaryCSharpProject reference, bool watch = true)
src\Tools\Shared\TestHelpers\TemporaryDirectory.cs (7)
14private readonly List<TemporaryCSharpProject> _projects = new List<TemporaryCSharpProject>(); 39public TemporaryCSharpProject WithCSharpProject(string name, string sdk = "Microsoft.NET.Sdk") 41var project = new TemporaryCSharpProject(name, this, sdk); 45public TemporaryCSharpProject WithCSharpProject(TemporaryCSharpProject project) 85foreach (var project in _projects)