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