10 writes to g
PresentationCore (10)
System\Windows\Media\Color.cs (10)
51c1.scRgbColor.g = 0.0f; 134c1.scRgbColor.g = sRgbToScRgb(c1.sRgbColor.g); 151c1.scRgbColor.g = g; 183c1.scRgbColor.g = sRgbToScRgb(g); 368scRgbColor.g = (scRgbColor.g < 0) ? 0 : (scRgbColor.g > 1.0f) ? 1.0f : scRgbColor.g; 478c1.scRgbColor.g = sRgbToScRgb(c1.sRgbColor.g); 597c1.scRgbColor.g = sRgbToScRgb(c1.sRgbColor.g); 860scRgbColor.g = sRgbToScRgb(value); 963scRgbColor.g = value; 1105this.scRgbColor.g = sRgbToScRgb((byte)((255.0f * scRGBValue[1]) + 0.5f));
19 references to g
PresentationCore (19)
System\Windows\Media\Color.cs (19)
105c1.sRgbColor.g = ScRgbTosRgb(c1.scRgbColor.g); 165c1.sRgbColor.g = ScRgbTosRgb(c1.scRgbColor.g); 188c1.sRgbColor.g = ScRgbTosRgb(c1.scRgbColor.g); 290separator, scRgbColor.a, scRgbColor.r, scRgbColor.g, scRgbColor.b); 348result = result && FloatUtil.AreClose(scRgbColor.g, color.scRgbColor.g); 368scRgbColor.g = (scRgbColor.g < 0) ? 0 : (scRgbColor.g > 1.0f) ? 1.0f : scRgbColor.g; 373sRgbColor.g = ScRgbTosRgb(scRgbColor.g); 413color1.scRgbColor.g + color2.scRgbColor.g, 527color1.scRgbColor.g - color2.scRgbColor.g, 640Color c1 = FromScRgb(color.scRgbColor.a * coefficient, color.scRgbColor.r * coefficient, color.scRgbColor.g * coefficient, color.scRgbColor.b * coefficient); 720if (color1.scRgbColor.g != color2.scRgbColor.g) 956return scRgbColor.g; 1156return a.GetHashCode() ^ r.GetHashCode() ^ g.GetHashCode() ^ b.GetHashCode();