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