10 writes to r
PresentationCore (10)
System\Windows\Media\Color.cs (10)
50c1.scRgbColor.r = 0.0f; 133c1.scRgbColor.r = sRgbToScRgb(c1.sRgbColor.r); // note that context is undefined and thus unloaded 150c1.scRgbColor.r = r; 182c1.scRgbColor.r = sRgbToScRgb(r); // note that context is undefined and thus unloaded 367scRgbColor.r = (scRgbColor.r < 0) ? 0 : (scRgbColor.r > 1.0f) ? 1.0f : scRgbColor.r; 477c1.scRgbColor.r = sRgbToScRgb(c1.sRgbColor.r); 596c1.scRgbColor.r = sRgbToScRgb(c1.sRgbColor.r); 836scRgbColor.r = sRgbToScRgb(value); 938scRgbColor.r = value; 1104this.scRgbColor.r = sRgbToScRgb((byte)((255.0f * scRGBValue[0]) + 0.5f));
19 references to r
PresentationCore (19)
System\Windows\Media\Color.cs (19)
104c1.sRgbColor.r = ScRgbTosRgb(c1.scRgbColor.r); 164c1.sRgbColor.r = ScRgbTosRgb(c1.scRgbColor.r); 187c1.sRgbColor.r = ScRgbTosRgb(c1.scRgbColor.r); 290separator, scRgbColor.a, scRgbColor.r, scRgbColor.g, scRgbColor.b); 347result = result && FloatUtil.AreClose(scRgbColor.r, color.scRgbColor.r); 367scRgbColor.r = (scRgbColor.r < 0) ? 0 : (scRgbColor.r > 1.0f) ? 1.0f : scRgbColor.r; 372sRgbColor.r = ScRgbTosRgb(scRgbColor.r); 412color1.scRgbColor.r + color2.scRgbColor.r, 526color1.scRgbColor.r - color2.scRgbColor.r, 640Color c1 = FromScRgb(color.scRgbColor.a * coefficient, color.scRgbColor.r * coefficient, color.scRgbColor.g * coefficient, color.scRgbColor.b * coefficient); 715if (color1.scRgbColor.r != color2.scRgbColor.r) 931return scRgbColor.r; 1151return a.GetHashCode() ^ r.GetHashCode() ^ g.GetHashCode() ^ b.GetHashCode();