16 references to ThrowException
PresentationFramework (16)
System\Windows\Markup\BamlRecordReader.cs (16)
1338ThrowException(nameof(SR.ParserCantSetContentProperty), propertyDefinition.Name, propertyDefinition.PropertyInfo.ReflectedType.Name);
1468ThrowException(nameof(SR.ParserNoDPOnOwner), paramString, ownerType.FullName);
1564ThrowException(nameof(SR.ParserBadConstructorParams), elementType.Name, paramCount.ToString(CultureInfo.CurrentCulture));
2115ThrowException(nameof(SR.ParserCannotConvertPropertyValue), "Property", typeof(DependencyProperty).FullName);
2414ThrowException(nameof(SR.ParserCannotConvertPropertyValue), propertyName, valueTypeName);
2829ThrowException(nameof(SR.ParserCantCreateDelegate), reid.HandlerType.Name, attribValue);
2863ThrowException(nameof(SR.ParserCantCreateDelegate), ei.EventHandlerType.Name, attribValue);
3453ThrowException(nameof(SR.ParserCannotConvertString), bamlTextRecord.Value,
3483ThrowException(nameof(SR.ParserIAddChildText),
3518ThrowException(nameof(SR.ParserCantCreateTextComplexProp),
3542ThrowException(nameof(SR.ParserCantCreateTextComplexProp),
3976ThrowException(nameof(SR.ParserNullReturned), propertyName, attribValue);
4760ThrowException( nameof(SR.ParserCannotAddAnyChildren2), typeName, currentObject.GetType().FullName );
4778ThrowException( nameof(SR.ParserCannotAddAnyChildren2), typeName, currentObject.GetType().FullName );
4973ThrowException(nameof(SR.ParserCantSetContentProperty), pi.Name, pi.ReflectedType.Name);
5298ThrowException(nameof(SR.ParserNoDefaultPropConstructor),