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