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); 3452ThrowException(nameof(SR.ParserCannotConvertString), bamlTextRecord.Value, 3482ThrowException(nameof(SR.ParserIAddChildText), 3517ThrowException(nameof(SR.ParserCantCreateTextComplexProp), 3541ThrowException(nameof(SR.ParserCantCreateTextComplexProp), 3975ThrowException(nameof(SR.ParserNullReturned), propertyName, attribValue); 4759ThrowException( nameof(SR.ParserCannotAddAnyChildren2), typeName, currentObject.GetType().FullName ); 4777ThrowException( nameof(SR.ParserCannotAddAnyChildren2), typeName, currentObject.GetType().FullName ); 4972ThrowException(nameof(SR.ParserCantSetContentProperty), pi.Name, pi.ReflectedType.Name); 5297ThrowException(nameof(SR.ParserNoDefaultPropConstructor),