21 references to XmlInternalErrorDetails
dotnet-svcutil-lib (21)
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeIdentifier.cs (2)
100
if (!IsValid(c)) throw new ArgumentException(string.Format(ResXml.
XmlInternalErrorDetails
, "Invalid identifier character " + ((Int16)c).ToString()), "c");
153
throw new ArgumentException(string.Format(ResXml.
XmlInternalErrorDetails
, "Unhandled category " + uc), "c");
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapReflectionImporter.cs (2)
369
throw new InvalidOperationException(string.Format(ResXml.
XmlInternalErrorDetails
, "DeferredWorkItems.Count have changed"));
371
throw new InvalidOperationException(string.Format(ResXml.
XmlInternalErrorDetails
, "DeferredWorkItems.Top have changed"));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlCodeExporter.cs (2)
225
if (value.GetType() != typeof(string)) throw new InvalidOperationException(string.Format(ResXml.
XmlInternalErrorDetails
, "Invalid enumeration type " + value.GetType().Name));
505
if (value.GetType() != typeof(object[])) throw new InvalidOperationException(string.Format(ResXml.
XmlInternalErrorDetails
, "Default value for list should be object[], not " + value.GetType().Name));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlCustomFormatter.cs (1)
138
if (ids.Length != vals.Length) throw new InvalidOperationException(string.Format(ResXml.
XmlInternalErrorDetails
, "Invalid enum"));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (3)
778
throw new InvalidOperationException(string.Format(ResXml.
XmlInternalErrorDetails
, "DeferredWorkItems.Count have changed"));
780
throw new InvalidOperationException(string.Format(ResXml.
XmlInternalErrorDetails
, "DeferredWorkItems.Top have changed"));
2187
throw new InvalidOperationException(string.Format(ResXml.
XmlInternalErrorDetails
, "Bad accessor type " + accessor.GetType().FullName));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (4)
601
throw new InvalidOperationException(string.Format(ResXml.
XmlInternalErrorDetails
, "Unsuported anonymous mapping type: " + mapping.ToString()));
658
throw new InvalidOperationException(string.Format(ResXml.
XmlInternalErrorDetails
, "Type " + mapping.TypeName + " from namespace '" + ns + "' is an invalid array mapping"));
919
if (value.GetType() != typeof(string)) throw new InvalidOperationException(string.Format(ResXml.
XmlInternalErrorDetails
, string.Format(ResXml.XmlInvalidDefaultValue, value.ToString(), value.GetType().FullName)));
959
throw new InvalidOperationException(string.Format(ResXml.
XmlInternalErrorDetails
, "Mapping for " + pm.TypeDesc.Name + " missing type property"));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemas.cs (1)
366
throw new InvalidOperationException(string.Format(ResXml.
XmlInternalErrorDetails
, "XmlSchemas.Find: Invalid object type " + type.FullName));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriter.cs (4)
642
if (!_objectsInUse.ContainsKey(o)) throw new InvalidOperationException(string.Format(ResXml.
XmlInternalErrorDetails
, "missing stack object of type " + o.GetType().FullName));
1319
if (!typeof(IEnumerable).IsAssignableFrom(type)) throw new InvalidOperationException(string.Format(ResXml.
XmlInternalErrorDetails
, "not array like type " + type.FullName));
1727
if (defaultValue.GetType() != typeof(string)) throw new InvalidOperationException(string.Format(ResXml.
XmlInternalErrorDetails
, name + " has invalid default type " + defaultValue.GetType().Name));
2026
if (enumSource == null) throw new InvalidOperationException(string.Format(ResXml.
XmlInternalErrorDetails
, "Can not find " + member.ChoiceIdentifier.MemberName + " in the members mapping."));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriterILGen.cs (2)
204
if (defaultValue.GetType() != typeof(string)) throw new InvalidOperationException(string.Format(ResXml.
XmlInternalErrorDetails
, name + " has invalid default type " + defaultValue.GetType().Name));
530
if (enumSource == null) throw new InvalidOperationException(string.Format(ResXml.
XmlInternalErrorDetails
, "Can not find " + member.ChoiceIdentifier.MemberName + " in the members mapping."));