13 references to SR
Microsoft.Extensions.Configuration.Xml (13)
XmlConfigurationExtensions.cs (1)
80
throw new ArgumentException(
SR
.Error_InvalidFilePath, nameof(path));
XmlStreamConfigurationProvider.cs (12)
166
throw new FormatException(
SR
.Format(
SR
.Error_UnsupportedNodeType, reader.NodeType, GetLineInfo(reader)));
196
SR
.Format(
SR
.Msg_LineInfo, lineInfo.LineNumber, lineInfo.LinePosition);
218
throw new FormatException(
SR
.Format(
SR
.Error_NamespaceIsNotSupported, GetLineInfo(reader)));
242
throw new FormatException(
SR
.Format(
SR
.Error_NamespaceIsNotSupported, GetLineInfo(reader)));
404
:
SR
.Format(
SR
.Msg_LineInfo, lineNumber.Value, linePosition.Value);
405
throw new FormatException(
SR
.Format(
SR
.Error_KeyIsDuplicated, key, lineInfo));