20 references to ThrowExceptionWithLine
PresentationFramework (20)
System\Windows\Markup\BamlRecordReader.cs (20)
1547ThrowExceptionWithLine(SR.Format(SR.ParserFailedToCreateFromConstructor, info.DeclaringType.Name), e);
1643ThrowExceptionWithLine(
2162ThrowExceptionWithLine(message, innerException);
2214ThrowExceptionWithLine(message, e);
2493ThrowExceptionWithLine(message, e);
2665ThrowExceptionWithLine(SR.Format(SR.ParserCannotSetValue, element.GetType().FullName, propertyDefinition.Name, valueType.Name), e);
2907ThrowExceptionWithLine(SR.Format(SR.ParserCannotSetValue, element.GetType().FullName, propertyDefinition.AttributeInfo.Name, attribValue), e);
3381ThrowExceptionWithLine(SR.Format(SR.ParserKeyOnExplicitDictionary, attributeName,
3386ThrowExceptionWithLine(SR.Format(SR.ParserNoMatchingIDictionary, attributeName), e);
3728ThrowExceptionWithLine(SR.Format(SR.ParserCannotSetValue, currentTarget.GetType().FullName, attribInfo.Name, o), e);
3866ThrowExceptionWithLine(SR.Format(SR.ParserCannotSetValue, parentObject.GetType().FullName, memberInfo.Name, o), e);
4014ThrowExceptionWithLine( message, e );
4542ThrowExceptionWithLine( SR.ParserFailedEndInit, e );
5000ThrowExceptionWithLine(
5165ThrowExceptionWithLine(SR.GetResourceString(id), null);
5172ThrowExceptionWithLine(SR.Format(SR.GetResourceString(id), parameter), null);
5180ThrowExceptionWithLine(SR.Format(SR.GetResourceString(id), parameter1, parameter2), null);
5189ThrowExceptionWithLine(SR.Format(SR.GetResourceString(id), parameter1, parameter2, parameter3), null);
5303ThrowExceptionWithLine(SR.Format(SR.ParserNoDefaultConstructor, type.Name), e );
5318ThrowExceptionWithLine( SR.Format(SR.ParserErrorCreatingInstance, type.Name, type.Assembly.FullName), e);