10 writes to g
PresentationCore (10)
System\Windows\Media\Color.cs (10)
43c1.scRgbColor.g = 0.0f; 126c1.scRgbColor.g = sRgbToScRgb(c1.sRgbColor.g); 143c1.scRgbColor.g = g; 175c1.scRgbColor.g = sRgbToScRgb(g); 360scRgbColor.g = (scRgbColor.g < 0) ? 0 : (scRgbColor.g > 1.0f) ? 1.0f : scRgbColor.g; 470c1.scRgbColor.g = sRgbToScRgb(c1.sRgbColor.g); 589c1.scRgbColor.g = sRgbToScRgb(c1.sRgbColor.g); 852scRgbColor.g = sRgbToScRgb(value); 955scRgbColor.g = value; 1097this.scRgbColor.g = sRgbToScRgb((byte)((255.0f * scRGBValue[1]) + 0.5f));
19 references to g
PresentationCore (19)
System\Windows\Media\Color.cs (19)
97c1.sRgbColor.g = ScRgbTosRgb(c1.scRgbColor.g); 157c1.sRgbColor.g = ScRgbTosRgb(c1.scRgbColor.g); 180c1.sRgbColor.g = ScRgbTosRgb(c1.scRgbColor.g); 282separator, scRgbColor.a, scRgbColor.r, scRgbColor.g, scRgbColor.b); 340result = result && FloatUtil.AreClose(scRgbColor.g, color.scRgbColor.g); 360scRgbColor.g = (scRgbColor.g < 0) ? 0 : (scRgbColor.g > 1.0f) ? 1.0f : scRgbColor.g; 365sRgbColor.g = ScRgbTosRgb(scRgbColor.g); 405color1.scRgbColor.g + color2.scRgbColor.g, 519color1.scRgbColor.g - color2.scRgbColor.g, 632Color c1 = FromScRgb(color.scRgbColor.a * coefficient, color.scRgbColor.r * coefficient, color.scRgbColor.g * coefficient, color.scRgbColor.b * coefficient); 712if (color1.scRgbColor.g != color2.scRgbColor.g) 948return scRgbColor.g; 1143return a.GetHashCode() ^ r.GetHashCode() ^ g.GetHashCode() ^ b.GetHashCode();