7 references to AddWarning
dotnet-svcutil-lib (7)
CommandProcessorOptions.cs (5)
165
fileOptions.
AddWarning
(string.Format(SR.WrnExtraParamsOnInputFileParamIgnoredFormat, disallowedSwitchesOnParamsFilesProvided.Select(s => $"'{s.Name}'").Aggregate((msg, n) => $"{msg}, '{n}'")), 0);
294
this.
AddWarning
(string.Format(SR.WrnUnexpectedArgumentFormat, cmdSwitch.Name), 0);
305
this.
AddWarning
(string.Format(SR.WrnUnexpectedInputsFormat, this.Inputs.Select(i => $"{i}''").Aggregate((msg, i) => $"{msg}, {i}")));
312
this.
AddWarning
(string.Format(SR.WrnUnexpectedArgumentFormat, option.Name));
452
this.
AddWarning
(string.Format(CultureInfo.CurrentCulture, SR.WrnSpecifiedFilePathNotUndeProjectDirFormat, Switches.OutputFile.Name, outputFile, this.Project.DirectoryPath));
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));