24 references to ThrowException
PresentationBuildTasks (24)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (24)
1107ThrowException(nameof(SR.ParserDuplicateProperty1), usageProp.FullName); 1226ThrowException(nameof(SR.ParserEmptyComplexProp), XmlReader.Name); 1323ThrowException(nameof(SR.ParserUnknownXmlType), 2103ThrowException(nameof(SR.ParserEntityReference), XmlReader.Name); 2348ThrowException(nameof(SR.ParserUndeclaredNS), String.Empty); 2367ThrowException(nameof(SR.ParserMappingUriInvalid), mappingUri); 3011ThrowException(nameof(SR.ParserNoNameOnType), parentType.Name); 3087ThrowException(nameof(SR.ParserNoType), typeName); 3152ThrowException(nameof(SR.ParserDupDictionaryKey), attribValue); 3290ThrowException(nameof(SR.ParserNoNameOnType), parentType.Name); 3623ThrowException(nameof(SR.ParserXmlIslandMissing), GrandParentContext.ChildTagLocalName); 3626ThrowException(nameof(SR.ParserNoNamespace), localName); 3685ThrowException(nameof(SR.ParserNoEventTag), localName); 3734ThrowException(nameof(SR.ParserXmlIslandMissing), GrandParentContext.ChildTagLocalName); 3822ThrowException(nameof(SR.ParserEntityReference), localName); 3858ThrowException(nameof(SR.ParserXmlIslandUnexpected), GrandParentContext.ChildTagLocalName); 3916ThrowException(nameof(SR.ParserCantGetProperty), propName); 3963ThrowException(nameof(SR.ParserNestedComplexProp), complexPropName); 4066ThrowException(nameof(SR.ParserCantGetProperty), complexPropName); 4118ThrowException(nameof(SR.ParserEmptyComplexProp), complexPropName); 4134ThrowException(nameof(SR.ParserPropNoValue), dynamicObjectName); 4660ThrowException(nameof(SR.ParserCannotAddAnyChildren), parentType.FullName); 4687ThrowException(nameof(SR.ParserNoChildrenTag), ParentContext.ContextData.ToString()); 5247ThrowException(nameof(SR.ParserXmlReaderNoLineInfo),