Implemented interface member:
method
GetConstructor
System.Runtime.InteropServices._Type.GetConstructor(System.Type[])
282 references to GetConstructor
Microsoft.Activities.Build (1)
Microsoft\Activities\Build\Utilities.cs (1)
29ConstructorInfo defaultConstructor = type.GetConstructor(Type.EmptyTypes);
mscorlib (17)
system\reflection\assembly.cs (1)
1293ConstructorInfo ctor = invocableAttribute.GetConstructor(Type.EmptyTypes);
system\reflection\emit\constructorbuilder.cs (1)
125ConstructorInfo rci = GetTypeBuilder().GetConstructor(m_methodBuilder.m_parameterTypes);
system\reflection\emit\dynamicmethod.cs (2)
303ConstructorInfo transparencyCtor = typeof(SecurityTransparentAttribute).GetConstructor(Type.EmptyTypes); 317ConstructorInfo securityRulesCtor = typeof(SecurityRulesAttribute).GetConstructor(new Type[] { typeof(SecurityRuleSet) });
system\reflection\emit\ilgenerator.cs (1)
1173ConstructorInfo con = excType.GetConstructor(Type.EmptyTypes);
system\rttype.cs (3)
5396ConstructorInfo ctorInfo = typeof(CtorDelegate).GetConstructor(new Type[] {typeof(Object), typeof(IntPtr)}); 5735wrapperCons = wrapperType.GetConstructor(new Type[] {typeof(String)}); 5739wrapperCons = wrapperType.GetConstructor(new Type[] {typeof(Object)});
system\runtime\interopservices\tceadaptergen\tceadaptergenerator.cs (2)
48ConstructorInfo Cons = typeof(ClassInterfaceAttribute).GetConstructor(aConsParams); 78ConstructorInfo Cons = typeof(TypeLibTypeAttribute).GetConstructor(aConsParams);
system\runtime\interopservices\typelibconverter.cs (5)
262ConstructorInfo securityRulesCtor = typeof(SecurityRulesAttribute).GetConstructor(new Type[] { typeof(SecurityRuleSet) }); 371ConstructorInfo GuidAttrCons = typeof(GuidAttribute).GetConstructor(aConsParams); 386ConstructorInfo ImpFromComAttrCons = typeof(ImportedFromTypeLibAttribute).GetConstructor(aConsParams); 403ConstructorInfo TypeLibVerCons = typeof(TypeLibVersionAttribute).GetConstructor(aConsParams); 450ConstructorInfo PIAAttrCons = typeof(PrimaryInteropAssemblyAttribute).GetConstructor(aConsParams);
system\runtime\remoting\remotingservices.cs (2)
1948mb = t.GetConstructor(signature); 1950mb = rt.GetConstructor(signature);
PresentationBuildTasks (3)
Framework\System\Windows\Markup\XamlReaderHelper.cs (3)
3023parentType.GetConstructor(Type.EmptyTypes) == null || 3298parentType.GetConstructor(Type.EmptyTypes) == null || 4412ParentContext.ContextDataType.GetConstructor(Type.EmptyTypes) == null))
PresentationCore (12)
Core\CSharp\MS\Internal\TextFormatting\FullTextLine.cs (2)
446ConstructorInfo constructor = t.GetConstructor( 457constructor = t.GetConstructor(
Core\CSharp\System\Windows\DurationConverter.cs (1)
123mi = typeof(Duration).GetConstructor(new Type[] { typeof(TimeSpan) });
Core\CSharp\System\Windows\FontStyleConverter.cs (1)
117ConstructorInfo ci = typeof(FontStyle).GetConstructor(new Type[]{typeof(int)});
Core\CSharp\System\Windows\Ink\StrokeCollectionConverter.cs (1)
156ConstructorInfo ci = typeof(StrokeCollection).GetConstructor(new Type[] { typeof(Stream) });
Core\CSharp\System\Windows\Media\Animation\KeySplineConverter.cs (1)
119ConstructorInfo ci = typeof(KeySpline).GetConstructor(new Type[]
Core\CSharp\System\Windows\Media\Animation\RepeatBehaviorConverter.cs (2)
140mi = typeof(RepeatBehavior).GetConstructor(new Type[] { typeof(double) }); 146mi = typeof(RepeatBehavior).GetConstructor(new Type[] { typeof(TimeSpan) });
Core\CSharp\System\Windows\Media\PixelFormatConverter.cs (1)
127ConstructorInfo ci = typeof(PixelFormat).GetConstructor(new Type[]{typeof(string)});
Core\CSharp\System\Windows\Media\RequestCachePolicyConverter.cs (2)
136ConstructorInfo ci = typeof(HttpRequestCachePolicy).GetConstructor(new Type[] { typeof(HttpRequestCachePolicy) }); 151ConstructorInfo ci = typeof(RequestCachePolicy).GetConstructor(new Type[] { typeof(RequestCachePolicy) });
Core\CSharp\system\windows\TextDecorationCollectionConverter.cs (1)
192ConstructorInfo ci = typeof(TextDecorationCollection).GetConstructor(
PresentationFramework (16)
src\Framework\MS\Internal\Annotations\Serializer.cs (1)
63_ctor = type.GetConstructor(new Type[0]);
src\Framework\MS\Internal\WindowsRuntime\Windows\Data\Text\WordsSegmenter.cs (1)
48constructor = s_WinRTType.GetConstructor(new Type[] { typeof(string) });
src\Framework\System\Windows\Controls\DataGridLengthConverter.cs (1)
155ConstructorInfo ci = typeof(DataGridLength).GetConstructor(new Type[] { typeof(double), typeof(DataGridLengthUnitType) });
src\Framework\System\Windows\Controls\VirtualizationCacheLengthConverter.cs (1)
163ConstructorInfo ci = typeof(VirtualizationCacheLength).GetConstructor(new Type[] { typeof(double), typeof(VirtualizationCacheLengthUnit) });
src\Framework\System\Windows\CornerRadiusConverter.cs (1)
162ConstructorInfo ci = typeof(CornerRadius).GetConstructor(new Type[] { typeof(double), typeof(double), typeof(double), typeof(double) });
src\Framework\System\Windows\Data\ListCollectionView.cs (1)
707_itemConstructor = itemType.GetConstructor(Type.EmptyTypes);
src\Framework\System\Windows\DynamicResourceExtensionConverter.cs (1)
62return new InstanceDescriptor(typeof(DynamicResourceExtension).GetConstructor(new Type[] { typeof(object) }),
src\Framework\System\Windows\FigureLengthConverter.cs (1)
175ConstructorInfo ci = typeof(FigureLength).GetConstructor(new Type[] { typeof(double), typeof(FigureUnitType) });
src\Framework\System\Windows\GridLengthConverter.cs (1)
195ConstructorInfo ci = typeof(GridLength).GetConstructor(new Type[] { typeof(double), typeof(GridUnitType) });
src\Framework\System\Windows\LengthConverter.cs (1)
169ConstructorInfo ci = typeof(double).GetConstructor(new Type[] { typeof(double) });
src\Framework\System\Windows\Standard\ErrorCodes.cs (1)
492ConstructorInfo cons = e.GetType().GetConstructor(new[] { typeof(string) });
src\Framework\System\Windows\TemplateBindingExtensionConverter.cs (1)
65return new InstanceDescriptor(typeof(TemplateBindingExtension).GetConstructor(new Type[] { typeof(DependencyProperty) }),
src\Framework\System\Windows\ThicknessConverter.cs (1)
160ConstructorInfo ci = typeof(Thickness).GetConstructor(new Type[] { typeof(double), typeof(double), typeof(double), typeof(double) });
src\Shared\MS\Internal\WindowsRuntime\ReflectionHelper.cs (3)
309ConstructorInfo constructor = type.GetConstructor(Type.EmptyTypes); 334ConstructorInfo constructor = type.GetConstructor(new Type[] { typeof(TArg1) }); 361ConstructorInfo constructor = type.GetConstructor(new Type[] { typeof(TArg1), typeof(TArg2) });
System (23)
compmod\system\codedom\compiler\CompilerInfo.cs (2)
80ConstructorInfo ci = CodeDomProviderType.GetConstructor(new Type[] { typeof(IDictionary<string, string>) }); 94ConstructorInfo constructor = CodeDomProviderType.GetConstructor(new Type[] { typeof(IDictionary<string, string>) });
compmod\system\componentmodel\AttributeCollection.cs (1)
338ConstructorInfo ci = reflect.UnderlyingSystemType.GetConstructor(new Type[0]);
compmod\system\componentmodel\CultureInfoConverter.cs (1)
196ConstructorInfo ctor = typeof(CultureInfo).GetConstructor(new Type[] {typeof(string)});
compmod\system\componentmodel\DateTimeConverter.cs (2)
129ConstructorInfo ctr = typeof(DateTime).GetConstructor(new Type[] {typeof(Int64)}); 137ConstructorInfo ctor = typeof(DateTime).GetConstructor(new Type[] {
compmod\system\componentmodel\DateTimeOffsetConverter.cs (2)
145ConstructorInfo ctr = typeof(DateTimeOffset).GetConstructor(new Type[] {typeof(Int64)}); 153ConstructorInfo ctor = typeof(DateTimeOffset).GetConstructor(new Type[] {
compmod\system\componentmodel\DecimalConverter.cs (1)
73MemberInfo member = typeof(Decimal).GetConstructor(new Type[] {typeof(Int32[])});
compmod\system\componentmodel\GuidConverter.cs (1)
76ConstructorInfo ctor = typeof(Guid).GetConstructor(new Type[] {typeof(string)});
compmod\system\componentmodel\NullableConverter.cs (1)
106ConstructorInfo ci = nullableType.GetConstructor(new Type[] {simpleType});
compmod\system\componentmodel\PropertyDescriptor.cs (1)
217ConstructorInfo ctor = type.GetConstructor(typeArgs);
compmod\system\componentmodel\ReflectTypeDescriptionProvider.cs (1)
1423if (type.GetConstructor(_typeConstructor) == null)
compmod\system\diagnostics\traceutils.cs (2)
44ConstructorInfo ctorInfo = objectType.GetConstructor(new Type[] {}); 52ConstructorInfo ctorInfo = objectType.GetConstructor(new Type[] { typeof(string) });
regex\system\text\regularexpressions\RegexCompiler.cs (5)
3088ConstructorInfo transparencyCtor = typeof(SecurityTransparentAttribute).GetConstructor(Type.EmptyTypes); 3092ConstructorInfo securityRulesCtor = typeof(SecurityRulesAttribute).GetConstructor(new Type[] { typeof(SecurityRuleSet) }); 3228Newobj(factory.GetConstructor(noTypeArray)); 3319Newobj(typeof(Hashtable).GetConstructor(new Type[0])); 3361Newobj(newtype.GetConstructor(new Type[0]));
security\system\security\Authentication\ExtendedProtection\ExtendedProtectionPolicyTypeConverter.cs (1)
58ConstructorInfo constructor = typeof(ExtendedProtectionPolicy).GetConstructor(parameterTypes);
services\monitoring\system\diagnosticts\DiagnosticsConfigurationHandler.cs (2)
198ConstructorInfo ctorInfo = t.GetConstructor(new Type[] {}); 205ConstructorInfo ctorInfo = t.GetConstructor(new Type[] { typeof(string) });
System.Activities (4)
System\Activities\Debugger\StateManager.cs (2)
695typeof(SecurityTransparentAttribute).GetConstructor( 706ConstructorInfo constructorInfo = debuggableAttributeType.GetConstructor(new Type[] { typeof(DebuggableAttribute.DebuggingModes) });
System\Activities\Expressions\New.cs (1)
86constructorInfo = typeof(TResult).GetConstructor(types);
System\Activities\Expressions\NewArray.cs (1)
86this.constructorInfo = typeof(TResult).GetConstructor(types);
System.Activities.Core.Presentation (1)
System\ServiceModel\Activities\Presentation\TypeToTreeConverter.cs (1)
85else if (type.GetConstructor(new Type[0] { }) != null)
System.Activities.Presentation (16)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\DefaultValueAttributeInfo.cs (1)
29ConstructorInfo constructor = defaultValueAttributeType.GetConstructor(new Type[] { typeof(object) });
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\DesignerAttributeInfo.cs (1)
23ConstructorInfo constructor = designerAttributeType.GetConstructor(new Type[] { typeof(Type) });
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\EditorAttributeInfo.cs (1)
23ConstructorInfo constructor = editorAttributeType.GetConstructor(new Type[] { typeof(Type), typeof(Type) });
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ImportAttributeInfo.cs (4)
51return typeof(ImportAttribute).GetConstructor(Type.EmptyTypes); 60nameConstructor = typeof(ImportAttribute).GetConstructor(new Type[] { typeof(string) }); 72nameAndTypeConstructor = typeof(ImportAttribute).GetConstructor(new Type[] { typeof(string), typeof(Type) }); 84typeConstructor = typeof(ImportAttribute).GetConstructor(new Type[] { typeof(Type) });
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ImportManyAttributeInfo.cs (4)
54return typeof(ImportManyAttribute).GetConstructor(Type.EmptyTypes); 63nameConstructor = typeof(ImportManyAttribute).GetConstructor(new Type[] { typeof(string) }); 75nameAndTypeConstructor = typeof(ImportManyAttribute).GetConstructor(new Type[] { typeof(Type) }); 87typeConstructor = typeof(ImportManyAttribute).GetConstructor(new Type[] { typeof(string), typeof(Type) });
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\EditorUtilities.cs (1)
48ConstructorInfo defaultCtor = type.GetConstructor(Type.EmptyTypes);
System.Activities.Presentation\System\Activities\Presentation\Model\XamlUtilities.cs (1)
48ConstructorInfo ctor = type.GetConstructor(new Type[] { typeof(Type) });
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxItemWrapper.cs (1)
363ConstructorInfo ctor = toolType.GetConstructor(Type.EmptyTypes);
System.Activities.Presentation\System\Activities\Presentation\TypeUtilities.cs (1)
75return type.IsValueType || (!type.IsAbstract && type.GetConstructor(Type.EmptyTypes) != null);
System.Activities.Presentation\System\Activities\Presentation\View\ExpressionTextBox.xaml.cs (1)
648if (expressionEditorType.GetConstructor(System.Type.EmptyTypes) == null)
System.AddIn (2)
System\Addin\Hosting\ActivationWorker.cs (1)
131Object addIn = addinType.GetConstructor(new Type[0]).Invoke(new Object[0]);
System\Addin\Hosting\AddInActivator.cs (1)
329Object addIn = addinType.GetConstructor(new Type[0]).Invoke(new Object[0]);
System.Core (23)
Microsoft\Scripting\Actions\DynamicObject.cs (1)
522Expression.New(typeof(InvalidCastException).GetConstructor(new Type[]{typeof(string)}),
Microsoft\Scripting\Compiler\AssemblyGen.cs (1)
69new CustomAttributeBuilder(typeof(SecurityTransparentAttribute).GetConstructor(Type.EmptyTypes), new object[0])
Microsoft\Scripting\Compiler\CompilerScope.cs (3)
318lc.IL.Emit(OpCodes.Newobj, boxType.GetConstructor(new Type[] { v.Type })); 322lc.IL.Emit(OpCodes.Newobj, boxType.GetConstructor(new Type[] { v.Type })); 330lc.IL.Emit(OpCodes.Newobj, boxType.GetConstructor(Type.EmptyTypes));
Microsoft\Scripting\Compiler\ILGen.cs (7)
310ConstructorInfo ci = type.GetConstructor(paramTypes); 793ConstructorInfo ci = typeTo.GetConstructor(new Type[] { nnTypeTo }); 814ConstructorInfo ci = typeTo.GetConstructor(new Type[] { nnTypeTo }); 958il.EmitNew(typeof(Decimal).GetConstructor(new Type[] { typeof(int) })); 962il.EmitNew(typeof(Decimal).GetConstructor(new Type[] { typeof(long) })); 978il.EmitNew(typeof(decimal).GetConstructor(new Type[] { typeof(int), typeof(int), typeof(int), typeof(bool), typeof(byte) })); 1039il.Emit(OpCodes.Newobj, typeof(Decimal).GetConstructor(new Type[] { typeof(int) }));
Microsoft\Scripting\Compiler\LambdaCompiler.Binary.cs (3)
543ConstructorInfo ci = resultType.GetConstructor(new Type[] { TypeUtils.GetNonNullableType(resultType) }); 616ConstructorInfo ci = type.GetConstructor(new Type[] { typeof(bool) }); 688ConstructorInfo ci = type.GetConstructor(new Type[] { typeof(bool) });
Microsoft\Scripting\Compiler\LambdaCompiler.Expressions.cs (2)
978ConstructorInfo ci = resultType.GetConstructor(new Type[] { mc.Type }); 1069ConstructorInfo ci = resultType.GetConstructor(new Type[] { mc.Type });
Microsoft\Scripting\Compiler\LambdaCompiler.Lambda.cs (1)
79_ilg.EmitNew(typeof(Closure).GetConstructor(new Type[] { typeof(object[]), typeof(object[]) }));
Microsoft\Scripting\Compiler\LambdaCompiler.Logical.cs (2)
265ConstructorInfo ci = type.GetConstructor(new Type[] { typeof(bool) }); 381ConstructorInfo ci = type.GetConstructor(new Type[] { typeof(bool) });
Microsoft\Scripting\Compiler\LambdaCompiler.Statements.cs (1)
609typeof(Dictionary<string, int>).GetConstructor(new[] { typeof(int) }),
Microsoft\Scripting\Compiler\LambdaCompiler.Unary.cs (2)
129ConstructorInfo ci = resultType.GetConstructor(new Type[] { typeof(bool) }); 164ConstructorInfo ci = resultType.GetConstructor(new Type[] { nnOperandType });
System.Data (30)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\DefaultValueAttributeInfo.cs (1)
29ConstructorInfo constructor = defaultValueAttributeType.GetConstructor(new Type[] { typeof(object) });
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\DesignerAttributeInfo.cs (1)
23ConstructorInfo constructor = designerAttributeType.GetConstructor(new Type[] { typeof(Type) });
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\EditorAttributeInfo.cs (1)
23ConstructorInfo constructor = editorAttributeType.GetConstructor(new Type[] { typeof(Type), typeof(Type) });
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ImportAttributeInfo.cs (4)
51return typeof(ImportAttribute).GetConstructor(Type.EmptyTypes); 60nameConstructor = typeof(ImportAttribute).GetConstructor(new Type[] { typeof(string) }); 72nameAndTypeConstructor = typeof(ImportAttribute).GetConstructor(new Type[] { typeof(string), typeof(Type) }); 84typeConstructor = typeof(ImportAttribute).GetConstructor(new Type[] { typeof(Type) });
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ImportManyAttributeInfo.cs (4)
54return typeof(ImportManyAttribute).GetConstructor(Type.EmptyTypes); 63nameConstructor = typeof(ImportManyAttribute).GetConstructor(new Type[] { typeof(string) }); 75nameAndTypeConstructor = typeof(ImportManyAttribute).GetConstructor(new Type[] { typeof(Type) }); 87typeConstructor = typeof(ImportManyAttribute).GetConstructor(new Type[] { typeof(string), typeof(Type) });
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\EditorUtilities.cs (1)
48ConstructorInfo defaultCtor = type.GetConstructor(Type.EmptyTypes);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\XamlUtilities.cs (1)
48ConstructorInfo ctor = type.GetConstructor(new Type[] { typeof(Type) });
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxItemWrapper.cs (1)
363ConstructorInfo ctor = toolType.GetConstructor(Type.EmptyTypes);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\TypeUtilities.cs (1)
75return type.IsValueType || (!type.IsAbstract && type.GetConstructor(Type.EmptyTypes) != null);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ExpressionTextBox.xaml.cs (1)
648if (expressionEditorType.GetConstructor(System.Type.EmptyTypes) == null)
fx\src\data\System\Data\CodeGen\datacache.cs (2)
833System.Reflection.ConstructorInfo ctor = col.DataType.GetConstructor(new Type[] {typeof(string)}); 867System.Reflection.ConstructorInfo ctor = col.DataType.GetConstructor(new Type[] {typeof(string)});
fx\src\data\System\Data\Common\DataColumnMapping.cs (1)
200ConstructorInfo ctor = typeof(DataColumnMapping).GetConstructor(types);
fx\src\data\System\Data\Common\DataTableMapping.cs (1)
215ConstructorInfo ctor = typeof(DataTableMapping).GetConstructor(types);
fx\src\data\System\Data\ConstraintConverter.cs (2)
50System.Reflection.ConstructorInfo ctor = typeof(UniqueConstraint).GetConstructor(new Type[] { typeof(string), typeof(string[]), typeof(bool) } ); 56System.Reflection.ConstructorInfo ctor = typeof(ForeignKeyConstraint).GetConstructor(new Type[] { typeof(string), typeof(string), typeof(string[]),
fx\src\data\System\Data\Odbc\OdbcConnectionStringbuilder.cs (1)
329System.Reflection.ConstructorInfo ctor = typeof(OdbcConnectionStringBuilder).GetConstructor(ctorParams);
fx\src\data\System\Data\Odbc\OdbcParameter.cs (1)
1093System.Reflection.ConstructorInfo ctor = typeof(OdbcParameter).GetConstructor(ctorParams);
fx\src\data\System\Data\OleDb\OledbConnectionStringbuilder.cs (1)
768System.Reflection.ConstructorInfo ctor = typeof(OleDbConnectionStringBuilder).GetConstructor(ctorParams);
fx\src\data\System\Data\OleDb\OleDbParameter.cs (1)
640System.Reflection.ConstructorInfo ctor = typeof(OleDbParameter).GetConstructor(ctorParams);
fx\src\data\System\Data\RelationshipConverter.cs (2)
55ctor = typeof(DataRelation).GetConstructor(new Type[] { typeof(string) /*relationName*/, typeof(string) /*parentTableName*/, typeof(string) /*childTableName */, 61ctor = typeof(DataRelation).GetConstructor(new Type[] { typeof(string)/*relationName*/, typeof(string)/*parentTableName*/, typeof(string)/*parentTableNamespace*/,
fx\src\data\System\Data\SqlClient\SqlConnectionStringBuilder.cs (1)
1458System.Reflection.ConstructorInfo ctor = typeof(SqlConnectionStringBuilder).GetConstructor(ctorParams);
fx\src\data\System\Data\SqlClient\SqlParameter.cs (1)
1863System.Reflection.ConstructorInfo ctor = typeof(SqlParameter).GetConstructor(ctorParams);
System.Data.Entity (16)
System\Data\Common\Internal\Materialization\Translator.cs (5)
595private static readonly ConstructorInfo PocoPropertyAccessorStrategy_ctor = typeof(PocoPropertyAccessorStrategy).GetConstructor(new Type[] { typeof(object) }); 596private static readonly ConstructorInfo EntityWithChangeTrackerStrategy_ctor = typeof(EntityWithChangeTrackerStrategy).GetConstructor(new Type[] { typeof(IEntityWithChangeTracker) }); 597private static readonly ConstructorInfo EntityWithKeyStrategy_ctor = typeof(EntityWithKeyStrategy).GetConstructor(new Type[] { typeof(IEntityWithKey) }); 598private static readonly ConstructorInfo PocoEntityKeyStrategy_ctor = typeof(PocoEntityKeyStrategy).GetConstructor(new Type[0]); 1504ConstructorInfo typeDelegatePairConstructor = typeDelegatePairType.GetConstructor(new Type[] { typeof(EntityType), typeof(Func<Shaper, TElement>) });
System\Data\Metadata\Edm\LightweightCodeGenerator.cs (1)
372gen.Emit(OpCodes.Newobj, realType.GetConstructor(new Type[] { elementType }));
System\Data\Objects\Internal\EntityProxyFactory.cs (10)
74ConstructorInfo securityTransparentAttributeConstructor = typeof(SecurityTransparentAttribute).GetConstructor(Type.EmptyTypes); 78ConstructorInfo securityRulesAttributeConstructor = typeof(SecurityRulesAttribute).GetConstructor(new Type[] { typeof(SecurityRuleSet) }); 785private static readonly ConstructorInfo s_NonSerializedAttributeConstructor = typeof(NonSerializedAttribute).GetConstructor(Type.EmptyTypes); 786private static readonly ConstructorInfo s_IgnoreDataMemberAttributeConstructor = typeof(IgnoreDataMemberAttribute).GetConstructor(Type.EmptyTypes); 787private static readonly ConstructorInfo s_XmlIgnoreAttributeConstructor = typeof(System.Xml.Serialization.XmlIgnoreAttribute).GetConstructor(Type.EmptyTypes); 788private static readonly ConstructorInfo s_ScriptIgnoreAttributeConstructor = TryGetScriptIgnoreAttributeType().GetConstructor(Type.EmptyTypes); 980static readonly ConstructorInfo s_InvalidOperationConstructor = typeof(InvalidOperationException).GetConstructor(Type.EmptyTypes); 1059static readonly ConstructorInfo s_InvalidOperationConstructor = typeof(InvalidOperationException).GetConstructor(new Type[] { typeof(string) }); 1064private static readonly ConstructorInfo s_BrowsableAttributeConstructor = typeof(BrowsableAttribute).GetConstructor(new Type[] { typeof(bool) }); 1515private static readonly ConstructorInfo s_DataContractAttributeConstructor = typeof(DataContractAttribute).GetConstructor(Type.EmptyTypes);
System.Data.Linq (12)
EntitySetDataBindingList.cs (1)
34if (type.GetConstructor(System.Type.EmptyTypes) == null) {
SqlClient\Query\QueryConverter.cs (1)
2418ConstructorInfo cons = itemMetaType.Type.GetConstructor(Type.EmptyTypes);
SqlClient\Reader\ObjectReaderCompiler.cs (10)
956ConstructorInfo ci = sn.ClrType.GetConstructor(System.Type.EmptyTypes); 1194ConstructorInfo ci = memberType.GetConstructor(System.Type.EmptyTypes); 1256ConstructorInfo ci = memberType.GetConstructor(System.Type.EmptyTypes); 1478ConstructorInfo ci = listType.GetConstructor(new Type[] { typeof(int) }); 1623ConstructorInfo ci = expectedType.GetConstructor(new Type[] { actualType }); 1645ConstructorInfo ci = expectedType.GetConstructor(new Type[] { genExpectedTypeArgs[0] }); 1654ConstructorInfo ci = expectedType.GetConstructor(new Type[] { elemType }); 1717ConstructorInfo ci = expectedType.GetConstructor(System.Type.EmptyTypes); 1738ConstructorInfo ci = listType.GetConstructor(new Type[] { seqType }); 1755expectedType.GetConstructor(System.Type.EmptyTypes) != null &&
System.Data.Services (1)
System\Data\Services\WebUtil.cs (1)
582ConstructorInfo emptyConstructor = type.GetConstructor(Type.EmptyTypes);
System.Data.Services.Client (1)
System\Data\Services\Client\ProjectionPlanCompiler.cs (1)
850if (result.Arguments.Count == 1 && result.Constructor == nex.Type.GetConstructor(new[] { enumerable }) &&
System.Data.SqlXml (3)
System\Xml\Xsl\IlGen\GenerateHelper.cs (2)
141ConstructorInfo constrInfo = className.GetConstructor(new Type[] {}); 147ConstructorInfo constrInfo = className.GetConstructor(args);
System\Xml\Xsl\Runtime\EarlyBoundInfo.cs (1)
26this.constrInfo = ebType.GetConstructor(Type.EmptyTypes);
System.Drawing (6)
commonui\System\Drawing\Advanced\SizeFConverter.cs (1)
133ConstructorInfo ctor = typeof(SizeF).GetConstructor(new Type[] {typeof(float), typeof(float)});
commonui\System\Drawing\FontConverter.cs (1)
294MemberInfo ctor = typeof(Font).GetConstructor(types);
commonui\System\Drawing\PointConverter.cs (1)
135ConstructorInfo ctor = typeof(Point).GetConstructor(new Type[] {typeof(int), typeof(int)});
commonui\System\Drawing\Printing\MarginsConverter.cs (1)
135ConstructorInfo ctor = typeof(Margins).GetConstructor(new Type[] {
commonui\System\Drawing\RectangleConverter.cs (1)
137ConstructorInfo ctor = typeof(Rectangle).GetConstructor(new Type[] {
commonui\System\Drawing\SizeConverter.cs (1)
135ConstructorInfo ctor = typeof(Size).GetConstructor(new Type[] {typeof(int), typeof(int)});
System.Management (4)
managementpath.cs (1)
1106ConstructorInfo ctor = typeof(ManagementPath).GetConstructor(new Type[] {typeof(System.String)});
managementquery.cs (2)
3222 ConstructorInfo ctor = typeof(EventQuery).GetConstructor(new Type[] {typeof(System.String)}); 3232 ConstructorInfo ctor = typeof(ObjectQuery).GetConstructor(new Type[] {typeof(System.String)});
managementscope.cs (1)
1696ConstructorInfo ctor = typeof(ManagementScope).GetConstructor(new Type[] {typeof(System.String)});
System.Messaging (3)
System\Messaging\Design\MessageFormatterConverter.cs (3)
82ConstructorInfo ctor = typeof(XmlMessageFormatter).GetConstructor(new Type[] { typeof(string[]) }); 90ConstructorInfo ctor = typeof(ActiveXMessageFormatter).GetConstructor(new Type[0]); 99ConstructorInfo ctor = typeof(BinaryMessageFormatter).GetConstructor(new Type[] {
System.Runtime.Serialization (6)
System\Runtime\Serialization\Json\JsonFormatGeneratorStatics.cs (1)
365serializationExceptionCtor = typeof(SerializationException).GetConstructor(new Type[] { typeof(string) });
System\Runtime\Serialization\Json\JsonFormatReaderGenerator.cs (2)
635ilg.New(type.GetConstructor(new Type[] { innerType })); 638ilg.Call(outerType.GetConstructor(new Type[] { innerType }));
System\Runtime\Serialization\XmlFormatGeneratorStatics.cs (1)
233serializationExceptionCtor = typeof(SerializationException).GetConstructor(new Type[] { typeof(string) });
System\Runtime\Serialization\XmlFormatReaderGenerator.cs (2)
590ilg.New(type.GetConstructor(new Type[] { innerType })); 593ilg.Call(outerType.GetConstructor(new Type[] { innerType }));
System.ServiceModel (4)
System\ServiceModel\Channels\HttpMessageHandlerFactory.cs (1)
76ConstructorInfo ctorInfo = handler.GetConstructor(Type.EmptyTypes);
System\ServiceModel\ComIntegration\EmitterCache.cs (1)
81ConstructorInfo classCtorInfo = typeof(ClassInterfaceAttribute).GetConstructor(ctorParams);
System\ServiceModel\Description\ConfigLoader.cs (2)
329ConstructorInfo constructorInfo = wsdlImporterType.GetConstructor(emptyTypeArray); 358ConstructorInfo constructorInfo = policyImporterType.GetConstructor(emptyTypeArray);
System.ServiceModel.Activation (1)
System\ServiceModel\ServiceHostingEnvironment.cs (1)
1342ConstructorInfo ctor = compiledType.GetConstructor(new Type[] { });
System.Web (12)
Compilation\BaseCodeDomTreeGenerator.cs (1)
371if (Parser.BaseType.GetConstructor(Type.EmptyTypes) != null) {
Compilation\CompilationUtil.cs (1)
515ConstructorInfo ci = codeDomProviderType.GetConstructor(new Type[] { typeof(IDictionary<string, string>) });
ModelBinding\DataAnnotationsModelValidatorProvider.cs (2)
167ConstructorInfo constructor = adapterType.GetConstructor(new[] { typeof(ModelMetadata), typeof(ModelBindingExecutionContext), attributeType }); 297ConstructorInfo constructor = adapterType.GetConstructor(new[] { typeof(ModelMetadata), typeof(ModelBindingExecutionContext) });
UI\WebControls\FontUnitConverter.cs (1)
130member = typeof(FontUnit).GetConstructor(new Type[] { typeof(Unit) });
UI\WebControls\Menu.cs (1)
1927ConstructorInfo constructor = _designTimeTextWriterType.GetConstructor(new Type[] { typeof(TextWriter) });
UI\WebControls\unitconverter.cs (1)
98member = typeof(Unit).GetConstructor(new Type[] { typeof(double), typeof(UnitType) });
UI\WebParts\WebPartUtil.cs (1)
53ConstructorInfo constructor = connectionPointType.GetConstructor(constructorTypes);
Util\FactoryGenerator.cs (2)
101ConstructorInfo constructor = type.GetConstructor(Type.EmptyTypes); 163ConstructorInfo cons = type.GetConstructor(Type.EmptyTypes);
Util\FastDelegateCreator.cs (1)
37ConstructorInfo delegateCtor = typeof(TDelegate).GetConstructor(new Type[] { typeof(object), typeof(IntPtr) });
Util\FastPropertyAccessor.cs (1)
150ConstructorInfo cons = typeof(InvalidOperationException).GetConstructor(Type.EmptyTypes);
System.Web.DataVisualization (3)
Common\General\Chart.cs (1)
448ConstructorInfo ci = selectArgsType.GetConstructor(new Type[] { });
Common\Utilities\XmlSerializer.cs (2)
842ci = itemType.GetConstructor(Type.EmptyTypes); 846ci = pi.PropertyType.GetConstructor(Type.EmptyTypes);
System.Web.Extensions (1)
UI\WebControls\Dynamic.cs (1)
267ConstructorInfo securityRulesConstructor = typeof(SecurityRulesAttribute).GetConstructor(new Type[] { typeof(SecurityRuleSet) });
System.Web.Mobile (1)
UI\MobileControls\FactoryGenerator.cs (1)
178ConstructorInfo cons = type.GetConstructor(_emptyParameterList);
System.Windows.Forms (38)
winforms\Managed\System\WinForms\ColumnHeaderConverter.cs (3)
61ctor = t.GetConstructor(new Type[]{typeof(int)}); 69ctor = t.GetConstructor(new Type[]{typeof(string)}); 76ctor = t.GetConstructor(new Type[0]);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (1)
711ConstructorInfo ctor = t.GetConstructor(new Type[]{typeof(Com2PropertyDescriptor)});
winforms\Managed\System\WinForms\DataGridViewCellConverter.cs (1)
35ConstructorInfo ctor = cell.GetType().GetConstructor(new Type[0]);
winforms\Managed\System\WinForms\DataGridViewCellStyleConverter.cs (1)
53ConstructorInfo ctor = value.GetType().GetConstructor(new Type[0]);
winforms\Managed\System\WinForms\DataGridViewColumnConverter.cs (2)
51ctor = dataGridViewColumn.GetType().GetConstructor(new Type[] { typeof(Type) }); 59ctor = dataGridViewColumn.GetType().GetConstructor(new Type[0]);
winforms\Managed\System\WinForms\DataGridViewRowConverter.cs (1)
48ConstructorInfo ctor = dataGridViewRow.GetType().GetConstructor(new Type[0]);
winforms\Managed\System\WinForms\LinkArea.cs (1)
203ConstructorInfo ctor = typeof(LinkArea).GetConstructor(new Type[] {typeof(int), typeof(int)});
winforms\Managed\System\WinForms\LinkConverter.cs (2)
131info = typeof(LinkLabel.Link).GetConstructor(new Type[] {typeof(int), typeof(int)}); 137info = typeof(LinkLabel.Link).GetConstructor(new Type[] {typeof(int), typeof(int), typeof(object)});
winforms\Managed\System\WinForms\ListBindingConverter.cs (2)
155ConstructorInfo ctor = typeof(Binding).GetConstructor(ctorParams); 159ctor = typeof(Binding).GetConstructor(new Type[] {
winforms\Managed\System\WinForms\ListItemConverter.cs (11)
65ctor = typeof(ListViewItem).GetConstructor(new Type[] { typeof(ListViewItem.ListViewSubItem[]), typeof(string)}); 75ctor = typeof(ListViewItem).GetConstructor(new Type[] { typeof(ListViewItem.ListViewSubItem[]), typeof(int)}); 99ctor = typeof(ListViewItem).GetConstructor(new Type[] { 115ctor = typeof(ListViewItem).GetConstructor(new Type[] { 136ctor = typeof(ListViewItem).GetConstructor(new Type[] {typeof(string)}); 146ctor = typeof(ListViewItem).GetConstructor(new Type[] { 153ctor = typeof(ListViewItem).GetConstructor(new Type[] { 165ctor = typeof(ListViewItem).GetConstructor(new Type[] { 172ctor = typeof(ListViewItem).GetConstructor(new Type[] { 206ctor = typeof(ListViewItem.ListViewSubItem).GetConstructor(new Type[] { 224ctor = typeof(ListViewItem.ListViewSubItem).GetConstructor(new Type[] {typeof(ListViewItem), typeof(string)});
winforms\Managed\System\WinForms\ListViewGroupConverter.cs (1)
106ctor = typeof(ListViewGroup).GetConstructor(new Type[] {typeof(string), typeof(HorizontalAlignment)});
winforms\Managed\System\WinForms\Padding.cs (2)
372typeof(Padding).GetConstructor(new Type[] {typeof(int)}), 377typeof(Padding).GetConstructor(new Type[] {typeof(int), typeof(int), typeof(int), typeof(int)}),
winforms\Managed\System\WinForms\PropertyGrid.cs (2)
2028ConstructorInfo constructor = tabType.GetConstructor(new Type[] {typeof(IServiceProvider)}); 2033constructor = tabType.GetConstructor(new Type[] {typeof(IDesignerHost)});
winforms\Managed\System\WinForms\SelectionRangeConverter.cs (1)
129ConstructorInfo ctor = typeof(SelectionRange).GetConstructor(new Type[] {
winforms\Managed\System\WinForms\TableLayoutPanelCellPosition.cs (1)
144typeof(TableLayoutPanelCellPosition).GetConstructor(new Type[] {typeof(int), typeof(int)}),
winforms\Managed\System\WinForms\TableLayoutSettings.cs (2)
690style.GetType().GetConstructor(new Type[] {}), 695style.GetType().GetConstructor(new Type[] {typeof(SizeType), typeof(int)}),
winforms\Managed\System\WinForms\TreeNodeConverter.cs (4)
63info = typeof(TreeNode).GetConstructor(new Type[] {typeof(string)}); 67info = typeof(TreeNode).GetConstructor(new Type[] {typeof(string), typeof(TreeNode[])}); 77info = typeof(TreeNode).GetConstructor(new Type[] { 87info = typeof(TreeNode).GetConstructor(new Type[] {
System.Windows.Forms.DataVisualization (3)
Common\General\Chart.cs (1)
448ConstructorInfo ci = selectArgsType.GetConstructor(new Type[] { });
Common\Utilities\XmlSerializer.cs (2)
842ci = itemType.GetConstructor(Type.EmptyTypes); 846ci = pi.PropertyType.GetConstructor(Type.EmptyTypes);
System.Workflow.ComponentModel (11)
AuthoringOM\Compiler\CodeGeneration\CodeGeneratorAttribute.cs (1)
17if (codeGeneratorType.GetConstructor(new Type[0] { }) == null)
AuthoringOM\Compiler\XomlCompilerHelpers.cs (1)
91ConstructorInfo ctorMethod = type.GetConstructor(Type.EmptyTypes);
AuthoringOM\Fault.cs (1)
74ConstructorInfo cInfo = this.FaultType.GetConstructor(new Type[] { });
AuthoringOM\Serializer\BindMarkupExtensionSerializer.cs (1)
21return new InstanceDescriptor(typeof(ActivityBind).GetConstructor(new Type[] { typeof(string) }),
AuthoringOM\Serializer\DictionarySurrogate.cs (1)
79this.dictionary = dictionaryType.GetConstructor(Type.EmptyTypes).Invoke(null);
AuthoringOM\Serializer\GenericQueueSurrogate.cs (1)
56this.queue = queueType.GetConstructor(Type.EmptyTypes).Invoke(null);
AuthoringOM\Serializer\ListSurrogate.cs (1)
57this.list = listType.GetConstructor(Type.EmptyTypes).Invoke(null);
AuthoringOM\Serializer\MarkupExtensionSerializer.cs (1)
178return new InstanceDescriptor(markupExtension.GetType().GetConstructor(new Type[0]), null);
AuthoringOM\Serializer\SerializableTypeCodeDomSerializer.cs (1)
45if (value.GetType().GetConstructor(new Type[0]) != null)
AuthoringOM\Serializer\TypeExtensionSerializer.cs (2)
22return new InstanceDescriptor(typeof(TypeExtension).GetConstructor(new Type[] { typeof(System.Type) }), 24return new InstanceDescriptor(typeof(TypeExtension).GetConstructor(new Type[] { typeof(string) }),
System.Workflow.Runtime (3)
Hosting\DefaultWorkflowLoaderService.cs (1)
35if (workflowType.GetConstructor(System.Type.EmptyTypes) == null)
System\Activities\Statements\Interop.cs (2)
94&& value.GetConstructor(Type.EmptyTypes) != null) 301if (this.ActivityType.GetConstructor(Type.EmptyTypes) == null)
System.WorkflowServices (2)
System\ServiceModel\Configuration\PersistenceProviderElement.cs (2)
81ConstructorInfo cInfo = providerType.GetConstructor(new Type[] { typeof(NameValueCollection) }); 89cInfo = providerType.GetConstructor(new Type[] { });
System.Xml (2)
System\Xml\Serialization\XmlSerializationReaderILGen.cs (1)
2797ilg.Call(varType.GetConstructor(varType.GetGenericArguments()));
System\Xml\Xslt\XslCompiledTransform.cs (1)
241GeneratedCodeCtor = typeof(GeneratedCodeAttribute).GetConstructor(new Type[] { typeof(string), typeof(string) });
WindowsBase (1)
Base\MS\Internal\Interop\ErrorCodes.cs (1)
464ConstructorInfo cons = e.GetType().GetConstructor(new[] { typeof(string) });