4 writes to nativeColorValue
PresentationCore (4)
System\Windows\Media\Color.cs (4)
51c1.nativeColorValue = new float[c1.context.NumChannels]; 415c1.nativeColorValue = new float[c1.context.NumChannels]; 534c1.nativeColorValue = new float[c1.context.NumChannels]; 1104this.nativeColorValue = new float[numChannels];
34 references to nativeColorValue
PresentationCore (34)
System\Windows\Media\Color.cs (34)
52for (int i = 0; i < c1.nativeColorValue.Length; i++) 54c1.nativeColorValue[i] = 0.0f; 75if (values.Length != c1.nativeColorValue.Length) 82c1.nativeColorValue[numChannels] = values[numChannels]; 300for (int i = 0; i < nativeColorValue.Length; ++i ) 302sb.AppendFormat(provider,"{0:" + format + "}",nativeColorValue[i]); 303if (i < nativeColorValue.Length - 1) 337if (context == null || color.nativeColorValue == null) 345for (int i = 0; i < color.nativeColorValue.Length; i++) 346result = result && FloatUtil.AreClose(nativeColorValue[i], color.nativeColorValue[i]); 378return (float[])nativeColorValue.Clone(); 416for (int i = 0; i < c1.nativeColorValue.Length; i++) 418c1.nativeColorValue[i] = color1.nativeColorValue[i] + color2.nativeColorValue[i]; 428colorTransform.Translate(c1.nativeColorValue, sRGBValue); 535for (int i = 0; i < c1.nativeColorValue.Length; i++) 537c1.nativeColorValue[i] = color1.nativeColorValue[i] - color2.nativeColorValue[i]; 547colorTransform.Translate(c1.nativeColorValue, sRGBValue); 735if (color1.nativeColorValue == null && color2.nativeColorValue == null) 740if (color1.nativeColorValue == null || color2.nativeColorValue == null) 745if (color1.nativeColorValue.Length != color2.nativeColorValue.Length) 750for (int i = 0; i < color1.nativeColorValue.Length; i++) 752if (color1.nativeColorValue[i] != color2.nativeColorValue[i]) 1094colorTransform.Translate(this.nativeColorValue, scRGBValue); 1105if (this.nativeColorValue.Length > 0) 1110colorTransform.Translate(sRGBValue, this.nativeColorValue);