5 references to AddError
dotnet (5)
Commands\Run\VirtualProjectBuildingCommand.cs (5)
1491diagnostics.AddError(sourceFile, directive.Info.Span, string.Format(CliCommandStrings.DuplicateDirective, typeAndName)); 1541diagnostics.AddError(sourceFile, trivia.Span, CliCommandStrings.CannotConvertDirective); 1820context.Diagnostics.AddError(context.SourceFile, context.Info.Span, CliCommandStrings.StaticGraphRestoreNotSupported); 1889context.Diagnostics.AddError(context.SourceFile, context.Info.Span, string.Format(CliCommandStrings.InvalidProjectDirective, e.Message), e); 1978AddError(sourceFile, span, message, inner);