3 types derived from EnumConverter
Microsoft.Maui.Controls.DesignTools (1)
EnumConverter.cs (1)
8 internal class EnumConverter<T> : EnumConverter
System.Windows.Forms (2)
System\Windows\Forms\Controls\TextBox\TextBoxAutoCompleteSourceConverter.cs (1)
8internal class TextBoxAutoCompleteSourceConverter : EnumConverter
System\Windows\Forms\Dialogs\CommonDialogs\SpecialFolderEnumConverter.cs (1)
9internal partial class SpecialFolderEnumConverter : EnumConverter
11 instantiations of EnumConverter
PresentationBuildTasks (1)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (1)
1804converter = new EnumConverter(typeToConvertTo);
PresentationFramework (4)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (2)
1532converter = new EnumConverter(_context.CurrentFrame.XamlType.UnderlyingType); 1596converter = new EnumConverter(propertyType);
System\Windows\Markup\BamlMapTable.cs (2)
253tc = new System.ComponentModel.EnumConverter(type); 545tc = new System.ComponentModel.EnumConverter(propType);
System.ComponentModel.TypeConverter (1)
System\ComponentModel\ReflectTypeDescriptionProvider.cs (1)
185[typeof(Enum)] = new IntrinsicTypeConverterData((type) => new EnumConverter(type), cacheConverterInstance: false),
System.Windows.Forms.Design (1)
System\ComponentModel\Design\Serialization\EnumCodeDomSerializer.cs (1)
60TypeConverter enumConverter = new EnumConverter(enumValue.GetType());
System.Windows.Forms.Tests (2)
System\Windows\Forms\DataGridViewCellTests.cs (2)
6139yield return new object[] { typeof(int), typeof(CheckState), CheckState.Checked, new DataGridViewCellStyle(), new EnumConverter(typeof(CheckState)), null, 1 }; 6140yield return new object[] { typeof(int), typeof(CheckState), CheckState.Checked, new DataGridViewCellStyle(), null, new EnumConverter(typeof(CheckState)), 1 };
System.Xaml (2)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\TypeConverterHelper.cs (1)
339typeConverter = new System.ComponentModel.EnumConverter(type);
System\Xaml\Schema\XamlValueConverter.cs (1)
76return (TConverterBase)(object)new EnumConverter(TargetType.UnderlyingType);
18 references to EnumConverter
Microsoft.Maui.Controls.DesignTools (1)
EnumConverter.cs (1)
6 /// Generic version of the <see cref="EnumConverter"/> for reuse.
netstandard (1)
netstandard.cs (1)
314[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.EnumConverter))]
PresentationBuildTasks (2)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\KnownTypes.cs (1)
5512case KnownElements.EnumConverter: t = typeof(EnumConverter); break;
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\TypeConverterHelper.cs (1)
155converterType = typeof(EnumConverter);
PresentationFramework (4)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
289case 195: t = () => typeof(EnumConverter); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4443typeof(System.ComponentModel.EnumConverter),
System\Windows\Markup\Baml2006\WpfSharedBamlSchemaContext.cs (1)
256return base.GetValueConverter<TypeConverter>(typeof(EnumConverter), GetXamlType(converterType));
System\Windows\Markup\KnownTypes.cs (1)
5743case KnownElements.EnumConverter: t = typeof(System.ComponentModel.EnumConverter); break;
System (1)
src\libraries\shims\System\ref\System.cs (1)
300[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.EnumConverter))]
System.ComponentModel.TypeConverter (2)
System\ComponentModel\EnumConverter.cs (1)
21/// Initializes a new instance of the <see cref='System.ComponentModel.EnumConverter'/> class for the given
System\ComponentModel\ReflectTypeDescriptionProvider.cs (1)
115/// specifically <see cref="EnumConverter"/>, <see cref="NullableConverter"/>, and <see cref="ReferenceConverter"/>.
System.Xaml (2)
System\Xaml\Schema\XamlValueConverter.cs (1)
73if (ConverterType == typeof(EnumConverter) &&
System\Xaml\XamlType.cs (1)
1256return SchemaContext.GetValueConverter<TypeConverter>(typeof(EnumConverter), this);
System.Xaml.Tests (5)
System\Xaml\Schema\XamlValueConverterTests.cs (4)
69var converter = new XamlValueConverter<TypeConverter>(typeof(EnumConverter), type); 70EnumConverter instance = Assert.IsType<EnumConverter>(converter.ConverterInstance); 94var converter = new XamlValueConverter<string>(typeof(EnumConverter), type);
System\Xaml\XamlTypeTests.cs (1)
4222yield return new object?[] { new SubXamlType(typeof(ConsoleColor), new XamlSchemaContext()), new XamlValueConverter<TypeConverter>(typeof(EnumConverter), new XamlType(typeof(ConsoleColor), new XamlSchemaContext())) };