3 instantiations of Project
dotnet (1)
Commands\Run\VirtualProjectBuildingCommand.cs (1)
1892return new Project(context.Info)
dotnet.Tests (2)
CommandTests\Run\RunTelemetryTests.cs (2)
117new CSharpDirective.Project(default) { Name = "../lib/Library.csproj" }, 118new CSharpDirective.Project(default) { Name = "../common/Common.csproj" }
7 references to Project
dotnet (7)
Commands\Run\RunTelemetry.cs (1)
184return directives.OfType<CSharpDirective.Project>().Count();
Commands\Run\VirtualProjectBuildingCommand.cs (6)
457if (Directives.Any(static d => d is CSharpDirective.Project)) 1148var projectDirectives = directives.OfType<CSharpDirective.Project>(); 1328foreach (var projectReference in projectDirectives) 1719"project" => Project.Parse(context), 1862public static new Project? Parse(in ParseContext context) 1868return context.Diagnostics.AddError<Project?>(context.SourceFile, context.Info.Span, string.Format(CliCommandStrings.MissingDirectiveName, directiveKind));