1 write to Info
dotnet (1)
Commands\Run\VirtualProjectBuildingCommand.cs (1)
1474
Info
= new()
12 references to Info
dotnet (12)
Commands\Run\VirtualProjectBuildingCommand.cs (12)
1720
var other => context.Diagnostics.AddError<Named>(context.SourceFile, context.
Info
.Span, string.Format(CliCommandStrings.UnrecognizedDirective, other)),
1732
return context.Diagnostics.AddError<(string, string?)?>(context.SourceFile, context.
Info
.Span, string.Format(CliCommandStrings.MissingDirectiveName, directiveKind));
1738
return context.Diagnostics.AddError<(string, string?)?>(context.SourceFile, context.
Info
.Span, string.Format(CliCommandStrings.InvalidDirectiveName, directiveKind, separator));
1779
return new Sdk(context.
Info
)
1805
return context.Diagnostics.AddError<Property?>(context.SourceFile, context.
Info
.Span, CliCommandStrings.PropertyDirectiveMissingParts);
1814
return context.Diagnostics.AddError<Property?>(context.SourceFile, context.
Info
.Span, string.Format(CliCommandStrings.PropertyDirectiveInvalidName, ex.Message), ex);
1820
context.Diagnostics.AddError(context.SourceFile, context.
Info
.Span, CliCommandStrings.StaticGraphRestoreNotSupported);
1823
return new Property(context.
Info
)
1847
return new Package(context.
Info
)
1868
return context.Diagnostics.AddError<Project?>(context.SourceFile, context.
Info
.Span, string.Format(CliCommandStrings.MissingDirectiveName, directiveKind));
1889
context.Diagnostics.AddError(context.SourceFile, context.
Info
.Span, string.Format(CliCommandStrings.InvalidProjectDirective, e.Message), e);
1892
return new Project(context.
Info
)