4 writes to nativeColorValue
PresentationCore (4)
System\Windows\Media\Color.cs (4)
49c1.nativeColorValue = new float[c1.context.NumChannels]; 411c1.nativeColorValue = new float[c1.context.NumChannels]; 528c1.nativeColorValue = new float[c1.context.NumChannels]; 1095this.nativeColorValue = new float[numChannels];
34 references to nativeColorValue
PresentationCore (34)
System\Windows\Media\Color.cs (34)
50for (int i = 0; i < c1.nativeColorValue.Length; i++) 52c1.nativeColorValue[i] = 0.0f; 73if (values.Length != c1.nativeColorValue.Length) 80c1.nativeColorValue[numChannels] = values[numChannels]; 298for (int i = 0; i < nativeColorValue.Length; ++i ) 300sb.AppendFormat(provider,"{0:" + format + "}",nativeColorValue[i]); 301if (i < nativeColorValue.Length - 1) 335if (context == null || color.nativeColorValue == null) 343for (int i = 0; i < color.nativeColorValue.Length; i++) 344result = result && FloatUtil.AreClose(nativeColorValue[i], color.nativeColorValue[i]); 376return (float[])nativeColorValue.Clone(); 412for (int i = 0; i < c1.nativeColorValue.Length; i++) 414c1.nativeColorValue[i] = color1.nativeColorValue[i] + color2.nativeColorValue[i]; 424colorTransform.Translate(c1.nativeColorValue, sRGBValue); 529for (int i = 0; i < c1.nativeColorValue.Length; i++) 531c1.nativeColorValue[i] = color1.nativeColorValue[i] - color2.nativeColorValue[i]; 541colorTransform.Translate(c1.nativeColorValue, sRGBValue); 726if (color1.nativeColorValue == null && color2.nativeColorValue == null) 731if (color1.nativeColorValue == null || color2.nativeColorValue == null) 736if (color1.nativeColorValue.Length != color2.nativeColorValue.Length) 741for (int i = 0; i < color1.nativeColorValue.Length; i++) 743if (color1.nativeColorValue[i] != color2.nativeColorValue[i]) 1085colorTransform.Translate(this.nativeColorValue, scRGBValue); 1096if (this.nativeColorValue.Length > 0) 1101colorTransform.Translate(sRGBValue, this.nativeColorValue);