16 references to ThrowException
PresentationFramework (16)
System\Windows\Markup\BamlRecordReader.cs (16)
1356ThrowException(nameof(SR.ParserCantSetContentProperty), propertyDefinition.Name, propertyDefinition.PropertyInfo.ReflectedType.Name); 1486ThrowException(nameof(SR.ParserNoDPOnOwner), paramString, ownerType.FullName); 1582ThrowException(nameof(SR.ParserBadConstructorParams), elementType.Name, paramCount.ToString(CultureInfo.CurrentCulture)); 2133ThrowException(nameof(SR.ParserCannotConvertPropertyValue), "Property", typeof(DependencyProperty).FullName); 2430ThrowException(nameof(SR.ParserCannotConvertPropertyValue), propertyName, valueTypeName); 2845ThrowException(nameof(SR.ParserCantCreateDelegate), reid.HandlerType.Name, attribValue); 2879ThrowException(nameof(SR.ParserCantCreateDelegate), ei.EventHandlerType.Name, attribValue); 3470ThrowException(nameof(SR.ParserCannotConvertString), bamlTextRecord.Value, 3500ThrowException(nameof(SR.ParserIAddChildText), 3535ThrowException(nameof(SR.ParserCantCreateTextComplexProp), 3559ThrowException(nameof(SR.ParserCantCreateTextComplexProp), 3994ThrowException(nameof(SR.ParserNullReturned), propertyName, attribValue); 4781ThrowException( nameof(SR.ParserCannotAddAnyChildren2), typeName, currentObject.GetType().FullName ); 4799ThrowException( nameof(SR.ParserCannotAddAnyChildren2), typeName, currentObject.GetType().FullName ); 4994ThrowException(nameof(SR.ParserCantSetContentProperty), pi.Name, pi.ReflectedType.Name); 5319ThrowException(nameof(SR.ParserNoDefaultPropConstructor),