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)
1341
ThrowException(nameof(SR.ParserCantSetContentProperty), propertyDefinition.
Name
, propertyDefinition.PropertyInfo.ReflectedType.Name);
2076
CurrentContext.ElementNameOrPropertyName = propertyDefinition.
Name
;
2206
valueObject = GetCustomValue(bamlPropertyRecord, propertyDefinition.PropertyType, propertyDefinition.
Name
);
2216
string message = SR.Format(SR.ParserCannotConvertPropertyValue, propertyDefinition.
Name
, propertyDefinition.PropertyType.FullName);
2245
ThrowException(nameof(SR.ParserCantSetAttribute), "property", propertyDefinition.
Name
, "set");
2442
object value = GetExtensionValue(bamlPropertyRecord, propertyDefinition.
Name
);
2495
string message = SR.Format(SR.ParserCannotConvertPropertyValue, propertyDefinition.
Name
, propertyDefinition.PropertyType.FullName);
2563
ThrowException(nameof(SR.ParserCantSetAttribute), "property", propertyDefinition.
Name
, "set");
2668
ThrowExceptionWithLine(SR.Format(SR.ParserCannotSetValue, element.GetType().FullName, propertyDefinition.
Name
, valueType.Name), e);
2747
propertyDefinition.
Name
,
2768
propertyDefinition.
Name
,
2790
propertyDefinition.
Name
,
2891
ThrowException(nameof(SR.ParserCantGetDPOrPi), propertyDefinition.
Name
);
3053
ThrowException(nameof(SR.ParserReadOnlyProp), holder.PropertyDefinition.
Name
);
3147
ThrowException(nameof(SR.ParserNullPropertyCollection), holder.PropertyDefinition.
Name
);
3168
ThrowException(nameof(SR.ParserPropertyCollectionClosed), holder.PropertyDefinition.
Name
);
3388
element.GetType().ToString(), holder.PropertyDefinition.
Name
), e);