8 references to s_knownSolidColorBrushStringCache
PresentationCore (8)
System\Windows\Media\SolidColorBrush.cs (8)
79
lock (
s_knownSolidColorBrushStringCache
)
81
if (
s_knownSolidColorBrushStringCache
.ContainsValue(stringValue))
137
lock (
s_knownSolidColorBrushStringCache
)
139
if (!
s_knownSolidColorBrushStringCache
.ContainsKey(scp))
142
s_knownSolidColorBrushStringCache
[scp] = strColor;
210
lock (
s_knownSolidColorBrushStringCache
)
213
if (
s_knownSolidColorBrushStringCache
.TryGetValue(this, out strCachedBrush))
219
s_knownSolidColorBrushStringCache
[this] = strBrush;