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