19 references to Name
PresentationFramework (19)
System\Windows\Markup\BamlCollectionHolder.cs (2)
187
_reader.ThrowException(nameof(SR.ParserCantGetProperty), PropertyDefinition.
Name
);
214
_reader.ThrowException(nameof(SR.ParserReadOnlyNullProperty), PropertyDefinition.
Name
);
System\Windows\Markup\BamlRecordReader.cs (17)
1356
ThrowException(nameof(SR.ParserCantSetContentProperty), propertyDefinition.
Name
, propertyDefinition.PropertyInfo.ReflectedType.Name);
2091
CurrentContext.ElementNameOrPropertyName = propertyDefinition.
Name
;
2221
valueObject = GetCustomValue(bamlPropertyRecord, propertyDefinition.PropertyType, propertyDefinition.
Name
);
2231
string message = SR.Format(SR.ParserCannotConvertPropertyValue, propertyDefinition.
Name
, propertyDefinition.PropertyType.FullName);
2260
ThrowException(nameof(SR.ParserCantSetAttribute), "property", propertyDefinition.
Name
, "set");
2455
object value = GetExtensionValue(bamlPropertyRecord, propertyDefinition.
Name
);
2508
string message = SR.Format(SR.ParserCannotConvertPropertyValue, propertyDefinition.
Name
, propertyDefinition.PropertyType.FullName);
2576
ThrowException(nameof(SR.ParserCantSetAttribute), "property", propertyDefinition.
Name
, "set");
2681
ThrowExceptionWithLine(SR.Format(SR.ParserCannotSetValue, element.GetType().FullName, propertyDefinition.
Name
, valueType.Name), e);
2760
propertyDefinition.
Name
,
2781
propertyDefinition.
Name
,
2803
propertyDefinition.
Name
,
2904
ThrowException(nameof(SR.ParserCantGetDPOrPi), propertyDefinition.
Name
);
3066
ThrowException(nameof(SR.ParserReadOnlyProp), holder.PropertyDefinition.
Name
);
3158
ThrowException(nameof(SR.ParserNullPropertyCollection), holder.PropertyDefinition.
Name
);
3179
ThrowException(nameof(SR.ParserPropertyCollectionClosed), holder.PropertyDefinition.
Name
);
3399
element.GetType().ToString(), holder.PropertyDefinition.
Name
), e);