20 references to ThrowExceptionWithLine
PresentationFramework (20)
System\Windows\Markup\BamlRecordReader.cs (20)
1546ThrowExceptionWithLine(SR.Format(SR.ParserFailedToCreateFromConstructor, info.DeclaringType.Name), e);
1642ThrowExceptionWithLine(
2161ThrowExceptionWithLine(message, innerException);
2213ThrowExceptionWithLine(message, e);
2492ThrowExceptionWithLine(message, e);
2664ThrowExceptionWithLine(SR.Format(SR.ParserCannotSetValue, element.GetType().FullName, propertyDefinition.Name, valueType.Name), e);
2906ThrowExceptionWithLine(SR.Format(SR.ParserCannotSetValue, element.GetType().FullName, propertyDefinition.AttributeInfo.Name, attribValue), e);
3377ThrowExceptionWithLine(SR.Format(SR.ParserKeyOnExplicitDictionary, attributeName,
3382ThrowExceptionWithLine(SR.Format(SR.ParserNoMatchingIDictionary, attributeName), e);
3721ThrowExceptionWithLine(SR.Format(SR.ParserCannotSetValue, currentTarget.GetType().FullName, attribInfo.Name, o), e);
3859ThrowExceptionWithLine(SR.Format(SR.ParserCannotSetValue, parentObject.GetType().FullName, memberInfo.Name, o), e);
4007ThrowExceptionWithLine( message, e );
4535ThrowExceptionWithLine( SR.ParserFailedEndInit, e );
4993ThrowExceptionWithLine(
5158ThrowExceptionWithLine(SR.GetResourceString(id), null);
5165ThrowExceptionWithLine(SR.Format(SR.GetResourceString(id), parameter), null);
5173ThrowExceptionWithLine(SR.Format(SR.GetResourceString(id), parameter1, parameter2), null);
5182ThrowExceptionWithLine(SR.Format(SR.GetResourceString(id), parameter1, parameter2, parameter3), null);
5296ThrowExceptionWithLine(SR.Format(SR.ParserNoDefaultConstructor, type.Name), e );
5311ThrowExceptionWithLine( SR.Format(SR.ParserErrorCreatingInstance, type.Name, type.Assembly.FullName), e);