16 references to ThrowException
PresentationFramework (16)
System\Windows\Markup\BamlRecordReader.cs (16)
1337ThrowException(nameof(SR.ParserCantSetContentProperty), propertyDefinition.Name, propertyDefinition.PropertyInfo.ReflectedType.Name); 1467ThrowException(nameof(SR.ParserNoDPOnOwner), paramString, ownerType.FullName); 1563ThrowException(nameof(SR.ParserBadConstructorParams), elementType.Name, paramCount.ToString(CultureInfo.CurrentCulture)); 2114ThrowException(nameof(SR.ParserCannotConvertPropertyValue), "Property", typeof(DependencyProperty).FullName); 2413ThrowException(nameof(SR.ParserCannotConvertPropertyValue), propertyName, valueTypeName); 2828ThrowException(nameof(SR.ParserCantCreateDelegate), reid.HandlerType.Name, attribValue); 2862ThrowException(nameof(SR.ParserCantCreateDelegate), ei.EventHandlerType.Name, attribValue); 3446ThrowException(nameof(SR.ParserCannotConvertString), bamlTextRecord.Value, 3476ThrowException(nameof(SR.ParserIAddChildText), 3511ThrowException(nameof(SR.ParserCantCreateTextComplexProp), 3535ThrowException(nameof(SR.ParserCantCreateTextComplexProp), 3969ThrowException(nameof(SR.ParserNullReturned), propertyName, attribValue); 4753ThrowException( nameof(SR.ParserCannotAddAnyChildren2), typeName, currentObject.GetType().FullName ); 4771ThrowException( nameof(SR.ParserCannotAddAnyChildren2), typeName, currentObject.GetType().FullName ); 4966ThrowException(nameof(SR.ParserCantSetContentProperty), pi.Name, pi.ReflectedType.Name); 5291ThrowException(nameof(SR.ParserNoDefaultPropConstructor),