16 references to ThrowException
PresentationFramework (16)
System\Windows\Markup\BamlRecordReader.cs (16)
1347ThrowException(nameof(SR.ParserCantSetContentProperty), propertyDefinition.Name, propertyDefinition.PropertyInfo.ReflectedType.Name);
1477ThrowException(nameof(SR.ParserNoDPOnOwner), paramString, ownerType.FullName);
1573ThrowException(nameof(SR.ParserBadConstructorParams), elementType.Name, paramCount.ToString(CultureInfo.CurrentCulture));
2124ThrowException(nameof(SR.ParserCannotConvertPropertyValue), "Property", typeof(DependencyProperty).FullName);
2421ThrowException(nameof(SR.ParserCannotConvertPropertyValue), propertyName, valueTypeName);
2836ThrowException(nameof(SR.ParserCantCreateDelegate), reid.HandlerType.Name, attribValue);
2870ThrowException(nameof(SR.ParserCantCreateDelegate), ei.EventHandlerType.Name, attribValue);
3461ThrowException(nameof(SR.ParserCannotConvertString), bamlTextRecord.Value,
3491ThrowException(nameof(SR.ParserIAddChildText),
3526ThrowException(nameof(SR.ParserCantCreateTextComplexProp),
3550ThrowException(nameof(SR.ParserCantCreateTextComplexProp),
3985ThrowException(nameof(SR.ParserNullReturned), propertyName, attribValue);
4772ThrowException( nameof(SR.ParserCannotAddAnyChildren2), typeName, currentObject.GetType().FullName );
4790ThrowException( nameof(SR.ParserCannotAddAnyChildren2), typeName, currentObject.GetType().FullName );
4985ThrowException(nameof(SR.ParserCantSetContentProperty), pi.Name, pi.ReflectedType.Name);
5310ThrowException(nameof(SR.ParserNoDefaultPropConstructor),