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