2 writes to _name
PresentationFramework (2)
MS\Internal\AppModel\ResourcePart.cs (2)
47
_name
= name;
144
_name
= newName;
7 references to _name
PresentationFramework (7)
MS\Internal\AppModel\ResourcePart.cs (7)
71
stream = _rmWrapper.GetStream(
_name
);
75
throw new IOException(SR.Format(SR.UnableToLocateResource,
_name
));
99
return MS.Internal.MimeTypeMapper.GetMimeTypeFromUri(new Uri(
_name
, UriKind.RelativeOrAbsolute)).ToString();
129
if (string.Equals(Path.GetExtension(
_name
), ResourceContainer.BamlExt, StringComparison.OrdinalIgnoreCase))
131
throw new IOException(SR.Format(SR.UnableToLocateResource,
_name
));
134
if (string.Equals(Path.GetExtension(
_name
), ResourceContainer.XamlExt, StringComparison.OrdinalIgnoreCase))
137
string newName = Path.ChangeExtension(
_name
, ResourceContainer.BamlExt);