24 references to ThrowException
PresentationBuildTasks (24)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (24)
1102ThrowException(nameof(SR.ParserDuplicateProperty1), usageProp.FullName); 1221ThrowException(nameof(SR.ParserEmptyComplexProp), XmlReader.Name); 1318ThrowException(nameof(SR.ParserUnknownXmlType), 2101ThrowException(nameof(SR.ParserEntityReference), XmlReader.Name); 2346ThrowException(nameof(SR.ParserUndeclaredNS), String.Empty); 2365ThrowException(nameof(SR.ParserMappingUriInvalid), mappingUri); 3012ThrowException(nameof(SR.ParserNoNameOnType), parentType.Name); 3088ThrowException(nameof(SR.ParserNoType), typeName); 3152ThrowException(nameof(SR.ParserDupDictionaryKey), attribValue); 3289ThrowException(nameof(SR.ParserNoNameOnType), parentType.Name); 3622ThrowException(nameof(SR.ParserXmlIslandMissing), GrandParentContext.ChildTagLocalName); 3625ThrowException(nameof(SR.ParserNoNamespace), localName); 3684ThrowException(nameof(SR.ParserNoEventTag), localName); 3733ThrowException(nameof(SR.ParserXmlIslandMissing), GrandParentContext.ChildTagLocalName); 3821ThrowException(nameof(SR.ParserEntityReference), localName); 3857ThrowException(nameof(SR.ParserXmlIslandUnexpected), GrandParentContext.ChildTagLocalName); 3915ThrowException(nameof(SR.ParserCantGetProperty), propName); 3961ThrowException(nameof(SR.ParserNestedComplexProp), complexPropName); 4064ThrowException(nameof(SR.ParserCantGetProperty), complexPropName); 4116ThrowException(nameof(SR.ParserEmptyComplexProp), complexPropName); 4132ThrowException(nameof(SR.ParserPropNoValue), dynamicObjectName); 4659ThrowException(nameof(SR.ParserCannotAddAnyChildren), parentType.FullName); 4686ThrowException(nameof(SR.ParserNoChildrenTag), ParentContext.ContextData.ToString()); 5246ThrowException(nameof(SR.ParserXmlReaderNoLineInfo),