private void ResolvePropertyName (string longName)
{
XamlPropertyName propName = XamlPropertyName.Parse(longName);
if (propName == null) {
throw new ArgumentException(SR.Get("MalformedPropertyName"));
}
XamlMember member = null;
XamlType currentType = this._context.CurrentType;
string currentTypeNamespace = this._context.CurrentTypeNamespace;
if (propName.IsDotted) {
member = this._context.GetDottedProperty(currentType, currentTypeNamespace, propName, false);
}
else {
string attributeNamespace = this._context.GetAttributeNamespace(propName, this._tokenNamespace);
XamlType tagType = this._context.CurrentType;
member = this._context.GetNoDotAttributeProperty(tagType, propName, this._tokenNamespace, attributeNamespace, false);
}
this._tokenProperty = member;
}