6 references to ThrowException
PresentationFramework (6)
System\Windows\Markup\XamlTypeMapper.cs (6)
746ThrowException(nameof(SR.ParserNoDigitEnums), propName, attribValue);
1328ThrowException(nameof(SR.ParserEventDelegateTypeNotAccessible), ei.EventHandlerType.FullName, $"{objectType.Name}.{localName}");
1404ThrowException(nameof(SR.ParserAttachedPropInheritError),
1485ThrowException(nameof(SR.ParserEventDelegateTypeNotAccessible), ei.EventHandlerType.FullName, $"{owner.Name}.{localName}");
2361ThrowException(nameof(SR.ParserInvalidStaticMember), memberName, targetType.Name);
3045parserContext.XamlTypeMapper.ThrowException(nameof(SR.ParserPrefixNSProperty), nsPrefix, nameString);