10 writes to g
PresentationCore (10)
System\Windows\Media\Color.cs (10)
41c1.scRgbColor.g = 0.0f; 124c1.scRgbColor.g = sRgbToScRgb(c1.sRgbColor.g); 141c1.scRgbColor.g = g; 173c1.scRgbColor.g = sRgbToScRgb(g); 358scRgbColor.g = (scRgbColor.g < 0) ? 0 : (scRgbColor.g > 1.0f) ? 1.0f : scRgbColor.g; 466c1.scRgbColor.g = sRgbToScRgb(c1.sRgbColor.g); 583c1.scRgbColor.g = sRgbToScRgb(c1.sRgbColor.g); 843scRgbColor.g = sRgbToScRgb(value); 946scRgbColor.g = value; 1088this.scRgbColor.g = sRgbToScRgb((byte)((255.0f * scRGBValue[1]) + 0.5f));
19 references to g
PresentationCore (19)
System\Windows\Media\Color.cs (19)
95c1.sRgbColor.g = ScRgbTosRgb(c1.scRgbColor.g); 155c1.sRgbColor.g = ScRgbTosRgb(c1.scRgbColor.g); 178c1.sRgbColor.g = ScRgbTosRgb(c1.scRgbColor.g); 280separator, scRgbColor.a, scRgbColor.r, scRgbColor.g, scRgbColor.b); 338result = result && FloatUtil.AreClose(scRgbColor.g, color.scRgbColor.g); 358scRgbColor.g = (scRgbColor.g < 0) ? 0 : (scRgbColor.g > 1.0f) ? 1.0f : scRgbColor.g; 363sRgbColor.g = ScRgbTosRgb(scRgbColor.g); 403color1.scRgbColor.g + color2.scRgbColor.g, 515color1.scRgbColor.g - color2.scRgbColor.g, 626Color c1 = FromScRgb(color.scRgbColor.a * coefficient, color.scRgbColor.r * coefficient, color.scRgbColor.g * coefficient, color.scRgbColor.b * coefficient); 703if (color1.scRgbColor.g != color2.scRgbColor.g) 939return scRgbColor.g; 1134return a.GetHashCode() ^ r.GetHashCode() ^ g.GetHashCode() ^ b.GetHashCode();