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