4 references to Type
UIAutomationClient (4)
System\Windows\Automation\Text\TextRange.cs (4)
187
if (value.GetType() != ai.
Type
)
189
throw new ArgumentException(SR.Format(SR.TextAttributeValueWrongType, attribute, ai.
Type
.Name, value.GetType().Name), "value");
245
if (ai.
Type
.IsEnum && obj is int)
248
obj = Enum.ToObject(ai.
Type
, (int)obj);