2 implementations of GetType
System.Windows.Forms.Design (2)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.PassThroughSerializationManager.cs (1)
88Type? IDesignerSerializationManager.GetType(string typeName)
System\ComponentModel\Design\Serialization\DesignerSerializationManager.cs (1)
854Type? IDesignerSerializationManager.GetType(string typeName)
24 references to GetType
System.Windows.Forms.Design (18)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.ComponentListCodeDomSerializer.cs (1)
296Type? type = manager.GetType(typeName);
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.PassThroughSerializationManager.cs (1)
90return ((IDesignerSerializationManager)Manager).GetType(typeName);
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (12)
62Type? t = manager.GetType(typeref.BaseType); 699result = manager.GetType(GetTypeNameFromCodeTypeReference(manager, typeReferenceEx.Type)); 705Type? type = manager.GetType(GetTypeNameFromCodeTypeReference(manager, objectCreateEx.CreateType)); 884Type? castType = manager.GetType(GetTypeNameFromCodeTypeReference(manager, castExpr.TargetType)); 934Type? targetType = manager.GetType(GetTypeNameFromCodeTypeReference(manager, castEx.TargetType)); 953Type? arrayType = manager.GetType(GetTypeNameFromCodeTypeReference(manager, arrayCreateEx.CreateType)); 1135result = manager.GetType(GetTypeNameFromCodeTypeReference(manager, parameterDeclaration.Type)); 1147result = manager.GetType(type); 1776: manager.GetType(da.SerializerBaseTypeName!); 1796: manager.GetType(da.SerializerBaseTypeName!); 1817: manager.GetType(valueSerializerTypeName); 2797type = manager.GetType(typeName);
System\ComponentModel\Design\Serialization\ComponentCodeDomSerializer.cs (2)
317supportInitialize = manager.GetType(fullName) is not null; 337persistSettings = manager.GetType(fullName) is not null;
System\ComponentModel\Design\Serialization\TypeCodeDomSerializer.cs (2)
60Type? t = manager.GetType(GetTypeNameFromCodeTypeReference(manager, typeRef)); 277Type? type = manager.GetType(typeName);
System.Windows.Forms.Design.Tests (6)
System\ComponentModel\Design\Serialization\DesignerSerializationManagerTests.cs (6)
1590Assert.Same(expected, iManager.GetType(typeName)); 1598Assert.Same(expected, iManager.GetType(typeName)); 1613Assert.Equal(typeof(int), iManager.GetType(typeof(int).FullName)); 1623Assert.Same(expected, iManager.GetType(typeName)); 1631Assert.Throws<InvalidOperationException>(() => iManager.GetType(typeName)); 1640Assert.Throws<ArgumentNullException>("typeName", () => iManager.GetType(null));