20 references to ThrowExceptionWithLine
PresentationFramework (20)
System\Windows\Markup\BamlRecordReader.cs (20)
1556ThrowExceptionWithLine(SR.Format(SR.ParserFailedToCreateFromConstructor, info.DeclaringType.Name), e); 1652ThrowExceptionWithLine( 2171ThrowExceptionWithLine(message, innerException); 2223ThrowExceptionWithLine(message, e); 2500ThrowExceptionWithLine(message, e); 2672ThrowExceptionWithLine(SR.Format(SR.ParserCannotSetValue, element.GetType().FullName, propertyDefinition.Name, valueType.Name), e); 2914ThrowExceptionWithLine(SR.Format(SR.ParserCannotSetValue, element.GetType().FullName, propertyDefinition.AttributeInfo.Name, attribValue), e); 3389ThrowExceptionWithLine(SR.Format(SR.ParserKeyOnExplicitDictionary, attributeName, 3394ThrowExceptionWithLine(SR.Format(SR.ParserNoMatchingIDictionary, attributeName), e); 3736ThrowExceptionWithLine(SR.Format(SR.ParserCannotSetValue, currentTarget.GetType().FullName, attribInfo.Name, o), e); 3875ThrowExceptionWithLine(SR.Format(SR.ParserCannotSetValue, parentObject.GetType().FullName, memberInfo.Name, o), e); 4023ThrowExceptionWithLine( message, e ); 4554ThrowExceptionWithLine( SR.ParserFailedEndInit, e ); 5012ThrowExceptionWithLine( 5177ThrowExceptionWithLine(SR.GetResourceString(id), null); 5184ThrowExceptionWithLine(SR.Format(SR.GetResourceString(id), parameter), null); 5192ThrowExceptionWithLine(SR.Format(SR.GetResourceString(id), parameter1, parameter2), null); 5201ThrowExceptionWithLine(SR.Format(SR.GetResourceString(id), parameter1, parameter2, parameter3), null); 5315ThrowExceptionWithLine(SR.Format(SR.ParserNoDefaultConstructor, type.Name), e ); 5330ThrowExceptionWithLine( SR.Format(SR.ParserErrorCreatingInstance, type.Name, type.Assembly.FullName), e);