24 references to ThrowException
PresentationBuildTasks (24)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (24)
1113ThrowException(nameof(SR.ParserDuplicateProperty1), usageProp.FullName); 1232ThrowException(nameof(SR.ParserEmptyComplexProp), XmlReader.Name); 1329ThrowException(nameof(SR.ParserUnknownXmlType), 2109ThrowException(nameof(SR.ParserEntityReference), XmlReader.Name); 2354ThrowException(nameof(SR.ParserUndeclaredNS), String.Empty); 2373ThrowException(nameof(SR.ParserMappingUriInvalid), mappingUri); 3017ThrowException(nameof(SR.ParserNoNameOnType), parentType.Name); 3093ThrowException(nameof(SR.ParserNoType), typeName); 3158ThrowException(nameof(SR.ParserDupDictionaryKey), attribValue); 3296ThrowException(nameof(SR.ParserNoNameOnType), parentType.Name); 3629ThrowException(nameof(SR.ParserXmlIslandMissing), GrandParentContext.ChildTagLocalName); 3632ThrowException(nameof(SR.ParserNoNamespace), localName); 3691ThrowException(nameof(SR.ParserNoEventTag), localName); 3740ThrowException(nameof(SR.ParserXmlIslandMissing), GrandParentContext.ChildTagLocalName); 3828ThrowException(nameof(SR.ParserEntityReference), localName); 3864ThrowException(nameof(SR.ParserXmlIslandUnexpected), GrandParentContext.ChildTagLocalName); 3922ThrowException(nameof(SR.ParserCantGetProperty), propName); 3969ThrowException(nameof(SR.ParserNestedComplexProp), complexPropName); 4072ThrowException(nameof(SR.ParserCantGetProperty), complexPropName); 4124ThrowException(nameof(SR.ParserEmptyComplexProp), complexPropName); 4140ThrowException(nameof(SR.ParserPropNoValue), dynamicObjectName); 4666ThrowException(nameof(SR.ParserCannotAddAnyChildren), parentType.FullName); 4693ThrowException(nameof(SR.ParserNoChildrenTag), ParentContext.ContextData.ToString()); 5253ThrowException(nameof(SR.ParserXmlReaderNoLineInfo),