45 references to GetConstructors
Microsoft.AspNetCore.Components (1)
src\Http\Routing\src\ParameterPolicyActivator.cs (1)
101var constructors = parameterPolicyType.GetConstructors();
Microsoft.AspNetCore.Components.Endpoints (1)
FormMapping\Metadata\FormDataMetadataFactory.cs (1)
123var constructors = type.GetConstructors();
Microsoft.AspNetCore.Connections.Abstractions (1)
src\Shared\ActivatorUtilities\ActivatorUtilities.cs (1)
35foreach (var constructor in instanceType.GetConstructors())
Microsoft.AspNetCore.Http.Extensions (1)
src\Components\Endpoints\src\FormMapping\Metadata\FormDataMetadataFactory.cs (1)
123var constructors = type.GetConstructors();
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Metadata\DefaultBindingMetadataProvider.cs (1)
87var constructors = type.GetConstructors();
Microsoft.AspNetCore.Mvc.Core.Test (6)
ModelBinding\Metadata\DefaultModelMetadataTest.cs (6)
1331var constructor = modelType.GetConstructors().Single(); 1375var constructor = modelType.GetConstructors().Single(); 1420var constructor = modelType.GetConstructors().Single(); 1465var constructor = modelType.GetConstructors().Single(); 1510var constructor = modelType.GetConstructors().Single(); 1555var constructor = modelType.GetConstructors().Single();
Microsoft.AspNetCore.Routing (1)
ParameterPolicyActivator.cs (1)
101var constructors = parameterPolicyType.GetConstructors();
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\ActivatorUtilities\ActivatorUtilities.cs (1)
35foreach (var constructor in instanceType.GetConstructors())
Microsoft.AspNetCore.SignalR.Core (1)
Internal\TypedClientBuilder.cs (1)
21private static readonly ConstructorInfo ObjectConstructor = typeof(object).GetConstructors().Single();
Microsoft.Build.Tasks.Core (2)
StateFileBase.cs (1)
99var constructors = typeof(T).GetConstructors();
WriteCodeFragment.cs (1)
480.GetConstructors()
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\SymbolTable.cs (1)
1309foreach (ConstructorInfo c in t.GetConstructors())
Microsoft.Extensions.DependencyInjection (2)
ServiceLookup\CallSiteFactory.cs (1)
467ConstructorInfo[] constructors = implementationType.GetConstructors();
ServiceLookup\ILEmit\ILEmitResolverBuilder.cs (1)
37private static readonly ConstructorInfo CacheKeyCtor = typeof(ServiceCacheKey).GetConstructors()[0];
Microsoft.Extensions.DependencyInjection.Abstractions (2)
ActivatorUtilities.cs (2)
254ConstructorInfo[] constructors = type.GetConstructors(); 610foreach (ConstructorInfo? constructor in instanceType.GetConstructors())
PresentationFramework (1)
System\Windows\Data\ObjectDataProvider.cs (1)
393ConstructorInfo[] ciAry = _objectType.GetConstructors();
System.ComponentModel.Composition.Registration (2)
System\ComponentModel\Composition\Registration\PartBuilder.cs (2)
364ConstructorInfo[] constructors = type.GetConstructors(); 405ConstructorInfo[] constructors = type.GetConstructors();
System.Configuration.ConfigurationManager (1)
System\Diagnostics\TraceUtils.cs (1)
92ConstructorInfo[] ctorInfos = objectType.GetConstructors();
System.Private.Xml (1)
System\Xml\Serialization\Compiler.cs (1)
44ConstructorInfo[] ctors = type.GetConstructors();
System.Reflection.TypeExtensions (1)
System\Reflection\TypeExtensions.cs (1)
28return type.GetConstructors();
System.Windows.Forms (1)
System\Windows\Forms\ComponentModel\COM2Interop\COM2IManagedPerPropertyBrowsingHandler.cs (1)
155foreach (var constructor in type.GetConstructors())
System.Windows.Forms.Tests (1)
System\Windows\Forms\PropertyGridInternal\PropertyGridView.GridViewListBoxTests.cs (1)
30ConstructorInfo constructorInfo = gridViewListBoxAccessibleObjectType.GetConstructors()[0];
System.Xaml (1)
System\Xaml\XamlType.cs (1)
655return UnderlyingType.GetConstructors();
System.Xaml.Tests (15)
System\Xaml\XamlSchemaContextTests.cs (3)
191typeof(XmlnsPrefixAttribute).GetConstructors()[0], 206ConstructorInfo constructor = typeof(XmlnsPrefixAttribute).GetConstructors()[0]; 324ConstructorResult = typeof(XmlnsPrefixAttribute).GetConstructors()[0],
System\Xaml\XamlTypeTests.cs (12)
273ConstructorResult = typeof(XmlnsDefinitionAttribute).GetConstructors()[0], 352ConstructorResult = typeof(XmlnsDefinitionAttribute).GetConstructors()[0], 695ConstructorResult = typeof(XmlLangPropertyAttribute).GetConstructors()[0], 1508ConstructorResult = typeof(ContentWrapperAttribute).GetConstructors()[0], 2103ConstructorResult = typeof(ContentPropertyAttribute).GetConstructors()[0], 2287ConstructorResult = typeof(ContentWrapperAttribute).GetConstructors()[0], 2466ConstructorResult = typeof(XamlDeferLoadAttribute).GetConstructors()[0], 3867ConstructorResult = typeof(XamlSetMarkupExtensionAttribute).GetConstructors()[0], 4066ConstructorResult = typeof(XamlSetTypeConverterAttribute).GetConstructors()[0], 4365ConstructorResult = typeof(TypeConverterAttribute).GetConstructors()[0], 4606ConstructorResult = typeof(UsableDuringInitializationAttribute).GetConstructors()[0], 4773ConstructorResult = typeof(ValueSerializerAttribute).GetConstructors()[0],