2 instantiations of Project
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
SyncedSource\FileBasedPrograms\FileLevelDirectiveHelpers.cs (2)
1025return new Project(context.Info, firstToken.Text) { Metadata = metadata }; 1048return new Project(Info, name)
11 references to Project
Microsoft.CodeAnalysis.CSharp.Workspaces (11)
SyncedSource\FileBasedPrograms\FileLevelDirectiveHelpers.cs (6)
381case "project": return Project.Parse(context); 1007public static new Project? Parse(in ParseContext context) 1036/// Change <see cref="Named.Name"/> and <see cref="Project.ProjectFilePath"/>. 1046public Project WithName(string name, NameKind kind) 1060public Project EnsureProjectFilePath(ErrorReporter errorReporter) 1430if (directive is CSharpDirective.Project or CSharpDirective.Ref or CSharpDirective.IncludeOrExclude)
SyncedSource\FileBasedPrograms\VirtualProjectBuilder.cs (5)
226if (!directives.Any(static d => d is CSharpDirective.Project or CSharpDirective.IncludeOrExclude or CSharpDirective.Ref)) 239case CSharpDirective.Project projectDirective: 240projectDirective = projectDirective.WithName(await project.ExpandStringAsync(projectDirective.Name).ConfigureAwait(false), CSharpDirective.Project.NameKind.Expanded); 624var projectDirectives = directives.OfType<CSharpDirective.Project>(); 923foreach (var projectReference in projectDirectives)