2 instantiations of Project
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
SyncedSource\FileBasedPrograms\FileLevelDirectiveHelpers.cs (2)
1034return new Project(context.Info, firstToken.Text) { Metadata = metadata }; 1057return new Project(Info, name)
11 references to Project
Microsoft.CodeAnalysis.CSharp.Workspaces (11)
SyncedSource\FileBasedPrograms\FileLevelDirectiveHelpers.cs (6)
381case "project": return Project.Parse(context); 1016public static new Project? Parse(in ParseContext context) 1045/// Change <see cref="Named.Name"/> and <see cref="Project.ProjectFilePath"/>. 1055public Project WithName(string name, NameKind kind) 1069public Project EnsureProjectFilePath(ErrorReporter errorReporter) 1466if (directive is CSharpDirective.Project or CSharpDirective.Ref or CSharpDirective.IncludeOrExclude)
SyncedSource\FileBasedPrograms\VirtualProjectBuilder.cs (5)
231if (!directives.Any(static d => d is CSharpDirective.Project or CSharpDirective.IncludeOrExclude or CSharpDirective.Ref)) 244case CSharpDirective.Project projectDirective: 245projectDirective = projectDirective.WithName(await project.ExpandStringAsync(projectDirective.Name).ConfigureAwait(false), CSharpDirective.Project.NameKind.Expanded); 598var projectDirectives = directives.OfType<CSharpDirective.Project>(); 900foreach (var projectReference in projectDirectives)