9 references to AddWarning
dotnet-svcutil-lib (9)
CommandProcessorOptions.cs (7)
166
fileOptions.
AddWarning
(string.Format(SR.WrnExtraParamsOnInputFileParamIgnoredFormat, disallowedSwitchesOnParamsFilesProvided.Select(s => $"'{s.Name}'").Aggregate((msg, n) => $"{msg}, '{n}'")), 0);
295
this.
AddWarning
(string.Format(SR.WrnUnexpectedArgumentFormat, cmdSwitch.Name), 0);
306
this.
AddWarning
(string.Format(SR.WrnUnexpectedInputsFormat, this.Inputs.Select(i => $"{i}''").Aggregate((msg, i) => $"{msg}, {i}")));
313
this.
AddWarning
(string.Format(SR.WrnUnexpectedArgumentFormat, option.Name));
453
this.
AddWarning
(string.Format(CultureInfo.CurrentCulture, SR.WrnSpecifiedFilePathNotUndeProjectDirFormat, Switches.OutputFile.Name, outputFile, this.Project.DirectoryPath));
673
this.Project.EndOfLifeTargetFrameworks?.ToList().ForEach(tfx => this.
AddWarning
(string.Format(CultureInfo.CurrentCulture, SR.WrnOutOfSupportTargetFrameworkFormat, tfx)));
679
this.
AddWarning
(string.Format(CultureInfo.CurrentCulture, SR.WrnOutOfSupportTargetFrameworkFormat, this.TargetFramework.FullName));
Shared\Options\OptionsSerializer.cs (2)
82
options.
AddWarning
(string.Format(CultureInfo.CurrentCulture, Shared.Resources.WarningUnrecognizedOptionFormat, jPropInfo.Key));
114
options.
AddWarning
(string.Format(CultureInfo.CurrentCulture, Shared.Resources.WarningUnrecognizedOptionFormat, jProperty.Key));