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);
3380ThrowExceptionWithLine(SR.Format(SR.ParserKeyOnExplicitDictionary, attributeName,
3385ThrowExceptionWithLine(SR.Format(SR.ParserNoMatchingIDictionary, attributeName), e);
3727ThrowExceptionWithLine(SR.Format(SR.ParserCannotSetValue, currentTarget.GetType().FullName, attribInfo.Name, o), e);
3865ThrowExceptionWithLine(SR.Format(SR.ParserCannotSetValue, parentObject.GetType().FullName, memberInfo.Name, o), e);
4013ThrowExceptionWithLine( message, e );
4541ThrowExceptionWithLine( SR.ParserFailedEndInit, e );
4999ThrowExceptionWithLine(
5164ThrowExceptionWithLine(SR.GetResourceString(id), null);
5171ThrowExceptionWithLine(SR.Format(SR.GetResourceString(id), parameter), null);
5179ThrowExceptionWithLine(SR.Format(SR.GetResourceString(id), parameter1, parameter2), null);
5188ThrowExceptionWithLine(SR.Format(SR.GetResourceString(id), parameter1, parameter2, parameter3), null);
5302ThrowExceptionWithLine(SR.Format(SR.ParserNoDefaultConstructor, type.Name), e );
5317ThrowExceptionWithLine( SR.Format(SR.ParserErrorCreatingInstance, type.Name, type.Assembly.FullName), e);