19 references to Name
PresentationFramework (19)
System\Windows\Markup\BamlCollectionHolder.cs (2)
186_reader.ThrowException(nameof(SR.ParserCantGetProperty), PropertyDefinition.Name); 213_reader.ThrowException(nameof(SR.ParserReadOnlyNullProperty), PropertyDefinition.Name);
System\Windows\Markup\BamlRecordReader.cs (17)
1341ThrowException(nameof(SR.ParserCantSetContentProperty), propertyDefinition.Name, propertyDefinition.PropertyInfo.ReflectedType.Name); 2076CurrentContext.ElementNameOrPropertyName = propertyDefinition.Name; 2206valueObject = GetCustomValue(bamlPropertyRecord, propertyDefinition.PropertyType, propertyDefinition.Name); 2216string message = SR.Format(SR.ParserCannotConvertPropertyValue, propertyDefinition.Name, propertyDefinition.PropertyType.FullName); 2245ThrowException(nameof(SR.ParserCantSetAttribute), "property", propertyDefinition.Name, "set"); 2442object value = GetExtensionValue(bamlPropertyRecord, propertyDefinition.Name); 2495string message = SR.Format(SR.ParserCannotConvertPropertyValue, propertyDefinition.Name, propertyDefinition.PropertyType.FullName); 2563ThrowException(nameof(SR.ParserCantSetAttribute), "property", propertyDefinition.Name, "set"); 2668ThrowExceptionWithLine(SR.Format(SR.ParserCannotSetValue, element.GetType().FullName, propertyDefinition.Name, valueType.Name), e); 2747propertyDefinition.Name, 2768propertyDefinition.Name, 2790propertyDefinition.Name, 2891ThrowException(nameof(SR.ParserCantGetDPOrPi), propertyDefinition.Name); 3053ThrowException(nameof(SR.ParserReadOnlyProp), holder.PropertyDefinition.Name); 3147ThrowException(nameof(SR.ParserNullPropertyCollection), holder.PropertyDefinition.Name); 3168ThrowException(nameof(SR.ParserPropertyCollectionClosed), holder.PropertyDefinition.Name); 3388element.GetType().ToString(), holder.PropertyDefinition.Name), e);