20 references to ThrowExceptionWithLine
PresentationFramework (20)
System\Windows\Markup\BamlRecordReader.cs (20)
1565ThrowExceptionWithLine(SR.Format(SR.ParserFailedToCreateFromConstructor, info.DeclaringType.Name), e); 1661ThrowExceptionWithLine( 2180ThrowExceptionWithLine(message, innerException); 2232ThrowExceptionWithLine(message, e); 2509ThrowExceptionWithLine(message, e); 2681ThrowExceptionWithLine(SR.Format(SR.ParserCannotSetValue, element.GetType().FullName, propertyDefinition.Name, valueType.Name), e); 2923ThrowExceptionWithLine(SR.Format(SR.ParserCannotSetValue, element.GetType().FullName, propertyDefinition.AttributeInfo.Name, attribValue), e); 3398ThrowExceptionWithLine(SR.Format(SR.ParserKeyOnExplicitDictionary, attributeName, 3403ThrowExceptionWithLine(SR.Format(SR.ParserNoMatchingIDictionary, attributeName), e); 3745ThrowExceptionWithLine(SR.Format(SR.ParserCannotSetValue, currentTarget.GetType().FullName, attribInfo.Name, o), e); 3884ThrowExceptionWithLine(SR.Format(SR.ParserCannotSetValue, parentObject.GetType().FullName, memberInfo.Name, o), e); 4032ThrowExceptionWithLine( message, e ); 4563ThrowExceptionWithLine( SR.ParserFailedEndInit, e ); 5021ThrowExceptionWithLine( 5186ThrowExceptionWithLine(SR.GetResourceString(id), null); 5193ThrowExceptionWithLine(SR.Format(SR.GetResourceString(id), parameter), null); 5201ThrowExceptionWithLine(SR.Format(SR.GetResourceString(id), parameter1, parameter2), null); 5210ThrowExceptionWithLine(SR.Format(SR.GetResourceString(id), parameter1, parameter2, parameter3), null); 5324ThrowExceptionWithLine(SR.Format(SR.ParserNoDefaultConstructor, type.Name), e ); 5339ThrowExceptionWithLine( SR.Format(SR.ParserErrorCreatingInstance, type.Name, type.Assembly.FullName), e);