76 references to GetType
AssemblyStripper (1)
.packages\microsoft.dotnet.cilstrip.sources\9.0.0-beta.24312.1\contentFiles\cs\netstandard2.0\Mono.Cecil.Cil\SymbolStoreHelper.cs (1)
92 return Type.GetType ("Mono.Runtime") != null;
Diagnostics.EFCore.FunctionalTests (1)
Helpers\PlatformHelper.cs (1)
12return Type.GetType("Mono.Runtime") != null;
dotnet-svcutil-lib (5)
CommandProcessorOptions.cs (1)
958foundType = foundType ?? Type.GetType(collectionType);
FrameworkFork\Microsoft.CodeDom\Compiler\CompilerInfo.cs (2)
47_type = Type.GetType(_codeDomProviderTypeName); 64Type type = Type.GetType(_codeDomProviderTypeName);
FrameworkFork\Microsoft.Xml\Xml\schema\GenerateConverter.cs (2)
987Type type = Type.GetType("System." + name); 990type = Type.GetType("System.IO." + name);
illink (1)
ILLink.RoslynAnalyzer (1)
src\tools\illink\src\ILLink.Shared\TrimAnalysis\IntrinsicId.cs (1)
66 /// <item><see cref="System.Type.GetType(string)"/></item>
Microsoft.AspNetCore.Components.Server (1)
src\submodules\MessagePack-CSharp\src\MessagePack.UnityClient\Assets\Scripts\MessagePack\Utilities.cs (1)
20internal static readonly bool IsMono = Type.GetType("Mono.Runtime") is Type;
Microsoft.AspNetCore.InternalTesting (1)
TestPlatformHelper.cs (1)
12Type.GetType("Mono.Runtime") != null;
Microsoft.Build (6)
BackEnd\Components\Communications\TranslatorExtensions.cs (1)
73var type = Type.GetType(typeName);
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (2)
1038parameterType = Type.GetType( 1047parameterType = Type.GetType(parameter.PropertyType.AssemblyQualifiedName);
Instance\TaskRegistry.cs (3)
1704Type.GetType(expandedType); 1708paramType = Type.GetType(expandedType) ?? 1804Type propertyType = Type.GetType(propertyTypeName);
Microsoft.Build.Engine.UnitTests (2)
BackEnd\TaskRegistry_Tests.cs (1)
2113Type paramType = Type.GetType(type);
BackEnd\TaskThatThrows.cs (1)
26Type exceptionType = string.IsNullOrWhiteSpace(ExceptionType) ? typeof(Exception) : Type.GetType(ExceptionType) ?? typeof(Exception);
Microsoft.Build.Tasks.Core (1)
ManifestUtil\ManifestReader.cs (1)
235Type t = Type.GetType(tn);
Microsoft.Cci.Extensions (1)
Extensions\CustomAttributeProvider.cs (1)
21|| Type.GetType(type) == typeof(Type); // encountered as serialized to reflection notation
Microsoft.DotNet.XUnitExtensions (1)
DiscovererHelpers.cs (1)
15private static readonly Lazy<bool> s_isMonoRuntime = new Lazy<bool>(() => Type.GetType("Mono.RuntimeStructs") != null);
PresentationBuildTasks (2)
src\Microsoft.DotNet.Wpf\src\Common\src\System\AppContextDefaultValues.cs (1)
81Type tAppDomainSetup = Type.GetType("System.AppDomainSetup");
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\ReflectionHelper.cs (1)
95return Type.GetType(nameFrags[0]);
PresentationCore (1)
src\Microsoft.DotNet.Wpf\src\Common\src\System\AppContextDefaultValues.cs (1)
81Type tAppDomainSetup = Type.GetType("System.AppDomainSetup");
PresentationFramework (5)
MS\Internal\AppModel\ReturnEventSaver.cs (1)
131Type.GetType(_returnList[i]._delegateTypeName),
MS\Internal\Helper.cs (1)
1533static readonly Type NullableType = Type.GetType("System.Nullable`1");
MS\Internal\WindowsRuntime\Generated\WinRT\TypeExtensions.cs (2)
32return Type.GetType(helper) ?? Type.GetType(helperTypeName2);
src\Microsoft.DotNet.Wpf\src\Common\src\System\AppContextDefaultValues.cs (1)
81Type tAppDomainSetup = Type.GetType("System.AppDomainSetup");
System.CodeDom (2)
System\CodeDom\Compiler\CompilerInfo.cs (2)
33_type ??= Type.GetType(_codeDomProviderTypeName); 41public bool IsCodeDomProviderTypeValid => Type.GetType(_codeDomProviderTypeName) != null;
System.ComponentModel.TypeConverter (14)
System\ComponentModel\InstallerTypeAttribute.cs (1)
36public virtual Type? InstallerType => Type.GetType(_typeName!);
System\ComponentModel\LicenseProviderAttribute.cs (1)
61_licenseProviderType = Type.GetType(_licenseProviderName);
System\ComponentModel\PropertyDescriptor.cs (1)
386Type? typeFromGetType = Type.GetType(typeName);
System\ComponentModel\ReflectPropertyDescriptor.cs (1)
840Type? specificType = Type.GetType(sta.TypeName!);
System\ComponentModel\ReflectTypeDescriptionProvider.cs (4)
1069Type? t = Type.GetType(typeName); 1086t = Type.GetType(typeName.Substring(0, commaIndex)); 1479hashEntry = Type.GetType(typeString); 1513hashEntry = Type.GetType(typeString);
System\ComponentModel\ReflectTypeDescriptionProvider.ReflectedTypeData.cs (3)
420Type? attrEditorBaseType = Type.GetType(edAttr.EditorBaseTypeName!); 533t ??= Type.GetType(typeName); 545t = Type.GetType(typeName.Substring(0, commaIndex));
System\ComponentModel\TypeDescriptor.cs (3)
369Type? providerType = Type.GetType(pa.TypeName); 2546Type? type2 = Type.GetType(designerAttribute.DesignerBaseTypeName); 2559type = Type.GetType(designerAttribute.DesignerTypeName);
System.Configuration.ConfigurationManager (6)
System\Configuration\ApplicationSettingsBase.cs (2)
470Type providerType = Type.GetType(providerTypeName); 616Type providerType = Type.GetType(providerTypeName);
System\Configuration\TypeUtil.cs (1)
73Type type = Type.GetType($"{typeString}, {assembly}");
System\Diagnostics\FilterElement.cs (1)
23if (Type.GetType(TypeName) != filter.GetType() || InitDataChanged(filter))
System\Diagnostics\ListenerElementsCollection.cs (1)
335if (Type.GetType(className) != listener.GetType() || InitDataChanged(listener))
System\Diagnostics\TraceUtils.cs (1)
37objectType = Type.GetType(className);
System.Data.Common (7)
System\Data\Common\DataStorage.cs (1)
570Type? dataType = Type.GetType(value); // throwOnError=false, ignoreCase=fase
System\Data\Common\DbProviderFactories.cs (1)
196Type? providerType = Type.GetType(assemblyQualifiedName);
System\Data\Common\ObjectStorage.cs (2)
328return Type.GetType(s)!; 399retValue = Type.GetType(xmlReader.ReadString());
System\Data\Common\SqlUDTStorage.cs (1)
184Type type = (typeName == null) ? _dataType : Type.GetType(typeName)!;
System\Data\Filter\FunctionNode.cs (1)
299Type? dataType = Type.GetType(typeName);
System\Data\XMLSchema.cs (1)
303propValue = Type.GetType(value);
System.IO.Packaging (1)
System\IO\Packaging\InternalRelationshipCollection.cs (1)
34private static readonly UriKind DotNetRelativeOrAbsolute = Type.GetType("Mono.Runtime") == null ? UriKind.RelativeOrAbsolute : (UriKind)300;
System.Net.Requests (1)
System\Net\HttpWebRequest.cs (1)
1680FieldInfo? fi = Type.GetType("System.Net.Http.HttpConnectionSettings, System.Net.Http")?.GetField("_impersonationLevel", BindingFlags.NonPublic | BindingFlags.Instance);
System.ObjectModel (1)
System\Windows\Markup\ValueSerializerAttribute.cs (1)
52_valueSerializerType = Type.GetType(_valueSerializerTypeName);
System.Private.Xml (2)
System\Xml\Serialization\XmlSerializationWriter.cs (2)
4214Type? type = Type.GetType(mapping.TypeDesc!.Type!.FullName!); 4222Type? type = Type.GetType(mapping.TypeDesc!.Type!.FullName!);
System.Reflection.Metadata (1)
System\Reflection\Metadata\Decoding\ICustomAttributeTypeProvider.cs (1)
20/// The serialized type name is in so-called "reflection notation" (i.e. as understood by <see cref="Type.GetType(string)"/>.)
System.Security.Cryptography (3)
System\Security\Cryptography\XmlKeyHelper.cs (3)
273Type xDocument = Type.GetType("System.Xml.Linq.XDocument" + XmlLinqAssemblyString)!; 282Type xElement = Type.GetType("System.Xml.Linq.XElement" + XmlLinqAssemblyString)!; 291Type xName = Type.GetType("System.Xml.Linq.XName" + XmlLinqAssemblyString)!;
System.Security.Cryptography.Xml (1)
System\Security\Cryptography\Xml\SignedXml.cs (1)
1034Type ta = Type.GetType(signatureDescription.KeyAlgorithm!)!;
System.Xaml (5)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\ReflectionHelper.cs (1)
95return Type.GetType(nameFrags[0]);
System\Xaml\Schema\Reflector.cs (4)
214return Type.GetType(typeName); 255Type converterType = Type.GetType(tca.LoaderTypeName); 256Type contentType = Type.GetType(tca.ContentTypeName); 453return Type.GetType(typeName);
xunit.assert (2)
Sdk\AssertHelper.cs (2)
56 static readonly Lazy<TypeInfo?> fileSystemInfoTypeInfo = new Lazy<TypeInfo?>(() => Type.GetType(fileSystemInfoFqn)?.GetTypeInfo()); 57 static readonly Lazy<PropertyInfo?> fileSystemInfoFullNameProperty = new Lazy<PropertyInfo?>(() => Type.GetType(fileSystemInfoFqn)?.GetTypeInfo().GetDeclaredProperty("FullName"));