14 references to EnumConverter
PresentationBuildTasks (1)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (1)
1803converter = new EnumConverter(typeToConvertTo);
PresentationFramework (4)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (2)
1530converter = new EnumConverter(_context.CurrentFrame.XamlType.UnderlyingType); 1594converter = new EnumConverter(propertyType);
System\Windows\Markup\BamlMapTable.cs (2)
265tc = new System.ComponentModel.EnumConverter(type); 555tc = 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.Drawing.Common (1)
Special\NotSupported.cs (1)
391public FontUnitConverter() : base (default(System.Type)) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
System.Windows.Forms (2)
System\Windows\Forms\Controls\TextBox\TextBoxAutoCompleteSourceConverter.cs (1)
10public TextBoxAutoCompleteSourceConverter(Type type) : base(type)
System\Windows\Forms\Dialogs\CommonDialogs\SpecialFolderEnumConverter.cs (1)
13Type type) : base(type)
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)
351typeConverter = new System.ComponentModel.EnumConverter(type);
System\Xaml\Schema\XamlValueConverter.cs (1)
76return (TConverterBase)(object)new EnumConverter(TargetType.UnderlyingType);