4 writes to nativeColorValue
PresentationCore (4)
System\Windows\Media\Color.cs (4)
59c1.nativeColorValue = new float[c1.context.NumChannels]; 423c1.nativeColorValue = new float[c1.context.NumChannels]; 542c1.nativeColorValue = new float[c1.context.NumChannels]; 1112this.nativeColorValue = new float[numChannels];
34 references to nativeColorValue
PresentationCore (34)
System\Windows\Media\Color.cs (34)
60for (int i = 0; i < c1.nativeColorValue.Length; i++) 62c1.nativeColorValue[i] = 0.0f; 83if (values.Length != c1.nativeColorValue.Length) 90c1.nativeColorValue[numChannels] = values[numChannels]; 308for (int i = 0; i < nativeColorValue.Length; ++i ) 310sb.AppendFormat(provider,"{0:" + format + "}",nativeColorValue[i]); 311if (i < nativeColorValue.Length - 1) 345if (context == null || color.nativeColorValue == null) 353for (int i = 0; i < color.nativeColorValue.Length; i++) 354result = result && FloatUtil.AreClose(nativeColorValue[i], color.nativeColorValue[i]); 386return (float[])nativeColorValue.Clone(); 424for (int i = 0; i < c1.nativeColorValue.Length; i++) 426c1.nativeColorValue[i] = color1.nativeColorValue[i] + color2.nativeColorValue[i]; 436colorTransform.Translate(c1.nativeColorValue, sRGBValue); 543for (int i = 0; i < c1.nativeColorValue.Length; i++) 545c1.nativeColorValue[i] = color1.nativeColorValue[i] - color2.nativeColorValue[i]; 555colorTransform.Translate(c1.nativeColorValue, sRGBValue); 743if (color1.nativeColorValue == null && color2.nativeColorValue == null) 748if (color1.nativeColorValue == null || color2.nativeColorValue == null) 753if (color1.nativeColorValue.Length != color2.nativeColorValue.Length) 758for (int i = 0; i < color1.nativeColorValue.Length; i++) 760if (color1.nativeColorValue[i] != color2.nativeColorValue[i]) 1102colorTransform.Translate(this.nativeColorValue, scRGBValue); 1113if (this.nativeColorValue.Length > 0) 1118colorTransform.Translate(sRGBValue, this.nativeColorValue);