2 instantiations of Project
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
SyncedSource\FileBasedPrograms\FileLevelDirectiveHelpers.cs (2)
514return new Project(context.Info, directiveText); 537return new Project(Info, name)
11 references to Project
Microsoft.CodeAnalysis.CSharp.Workspaces (11)
SyncedSource\FileBasedPrograms\FileLevelDirectiveHelpers.cs (6)
319case "project": return Project.Parse(context); 505public static new Project? Parse(in ParseContext context) 525/// Change <see cref="Named.Name"/> and <see cref="Project.ProjectFilePath"/>. 535public Project WithName(string name, NameKind kind) 548public Project EnsureProjectFilePath(ErrorReporter errorReporter) 893if (directive is CSharpDirective.Project or CSharpDirective.Ref or CSharpDirective.IncludeOrExclude)
SyncedSource\FileBasedPrograms\VirtualProjectBuilder.cs (5)
218if (!directives.Any(static d => d is CSharpDirective.Project or CSharpDirective.IncludeOrExclude or CSharpDirective.Ref)) 231case CSharpDirective.Project projectDirective: 232projectDirective = projectDirective.WithName(await project.ExpandStringAsync(projectDirective.Name).ConfigureAwait(false), CSharpDirective.Project.NameKind.Expanded); 600var projectDirectives = directives.OfType<CSharpDirective.Project>(); 891foreach (var projectReference in projectDirectives)