83 instantiations of InstanceDescriptor
PresentationCore (22)
PresentationFramework (10)
System.ComponentModel.TypeConverter (22)
System.Data.Common (6)
System.Windows.Controls.Ribbon (1)
System.Windows.Forms (16)
System.Xaml (4)
WindowsBase.Tests (2)
363 references to InstanceDescriptor
netstandard (1)
PresentationBuildTasks (4)
PresentationCore (29)
PresentationCore.Tests (13)
System\Windows\TextDecorationCollectionConverter.Tests.cs (8)
17[InlineData(false, typeof(InstanceDescriptor))]
27[InlineData(true, typeof(InstanceDescriptor))]
193InstanceDescriptor? result = (InstanceDescriptor?)converter.ConvertTo(null, null, value, destinationType);
218typeof(InstanceDescriptor) };
223typeof(InstanceDescriptor) };
229new TextDecoration[3] { TextDecorations.Underline[0], TextDecorations.OverLine[0], TextDecorations.Baseline[0] }, typeof(InstanceDescriptor) };
233new List<TextDecoration> { TextDecorations.Underline[0], TextDecorations.OverLine[0], TextDecorations.Baseline[0] }, typeof(InstanceDescriptor) };
PresentationFramework (25)
System (1)
System.ComponentModel.TypeConverter (40)
System.Data.Common (10)
System.Drawing.Common.Tests (6)
System.Private.Windows.Core.TestUtilities (1)
System.Windows.Controls.Ribbon (2)
System.Windows.Forms (39)
System.Windows.Forms.Design (7)
System.Windows.Forms.Design.Tests (1)
System.Windows.Forms.Primitives (2)
System.Windows.Forms.Tests (93)
System.Xaml (13)
System.Xaml.Tests (38)
WindowsBase.Tests (38)
System\Windows\Input\KeyConverterTests.cs (11)
17yield return new object?[] { null, typeof(InstanceDescriptor), false };
22yield return new object?[] { new CustomTypeDescriptorContext(), typeof(InstanceDescriptor), false };
28yield return new object?[] { new CustomTypeDescriptorContext { Instance = new object() }, typeof(InstanceDescriptor), false };
33yield return new object?[] { new CustomTypeDescriptorContext { Instance = Key.None }, typeof(InstanceDescriptor), false };
38yield return new object?[] { new CustomTypeDescriptorContext { Instance = Key.Cancel }, typeof(InstanceDescriptor), false };
43yield return new object?[] { new CustomTypeDescriptorContext { Instance = Key.A }, typeof(InstanceDescriptor), false };
48yield return new object?[] { new CustomTypeDescriptorContext { Instance = Key.OemClear }, typeof(InstanceDescriptor), false };
53yield return new object?[] { new CustomTypeDescriptorContext { Instance = Key.DeadCharProcessed }, typeof(InstanceDescriptor), false };
58yield return new object?[] { new CustomTypeDescriptorContext { Instance = Key.None - 1 }, typeof(InstanceDescriptor), false };
63yield return new object?[] { new CustomTypeDescriptorContext { Instance = Key.DeadCharProcessed + 1 }, typeof(InstanceDescriptor), false };
232[InlineData(typeof(InstanceDescriptor), false)]
System\Windows\Input\ModifierKeysConverterTests.cs (9)
17yield return new object?[] { null, typeof(InstanceDescriptor), false };
23yield return new object?[] { new CustomTypeDescriptorContext(), typeof(InstanceDescriptor), false };
29yield return new object?[] { new CustomTypeDescriptorContext { Instance = new object() }, typeof(InstanceDescriptor), false };
35yield return new object?[] { new CustomTypeDescriptorContext { Instance = ModifierKeys.None }, typeof(InstanceDescriptor), false };
41yield return new object?[] { new CustomTypeDescriptorContext { Instance = ModifierKeys.Control }, typeof(InstanceDescriptor), false };
47yield return new object?[] { new CustomTypeDescriptorContext { Instance = ModifierKeys.Control | ModifierKeys.Alt | ModifierKeys.Windows | ModifierKeys.Shift }, typeof(InstanceDescriptor), false };
53yield return new object?[] { new CustomTypeDescriptorContext { Instance = (ModifierKeys)(-1) }, typeof(InstanceDescriptor), false };
59yield return new object?[] { new CustomTypeDescriptorContext { Instance = (ModifierKeys)0x10 }, typeof(InstanceDescriptor), false };
198[InlineData(typeof(InstanceDescriptor), false)]