5 types derived from ConstructorInfo
mscorlib (3)
system\reflection\ConstructorInfo.cs (1)
162
internal sealed class RuntimeConstructorInfo :
ConstructorInfo
, ISerializable, IRuntimeMethodInfo
system\reflection\emit\constructorbuilder.cs (1)
25
public sealed class ConstructorBuilder :
ConstructorInfo
, _ConstructorBuilder
system\reflection\emit\xxxontypebuilderinstantiation.cs (1)
110
internal sealed class ConstructorOnTypeBuilderInstantiation :
ConstructorInfo
System.Workflow.ComponentModel (2)
AuthoringOM\Compiler\TypeSystem\MethodInfo.cs (1)
18
internal sealed class DesignTimeConstructorInfo :
ConstructorInfo
AuthoringOM\Compiler\TypeSystem\RTTypeWrapper.cs (1)
798
private class RTConstructorInfoWrapper :
ConstructorInfo
652 references to ConstructorInfo
Microsoft.Activities.Build (1)
Microsoft\Activities\Build\Utilities.cs (1)
29
ConstructorInfo
defaultConstructor = type.GetConstructor(Type.EmptyTypes);
mscorlib (130)
system\__filters.cs (1)
59
attr = ((
ConstructorInfo
) m).Attributes;
system\exception.cs (1)
481
if (methBase is
ConstructorInfo
) {
system\reflection\assembly.cs (1)
1293
ConstructorInfo
ctor = invocableAttribute.GetConstructor(Type.EmptyTypes);
system\reflection\cominterfaces.cs (7)
61
ConstructorInfo
[] GetConstructors(BindingFlags bindingAttr);
96
ConstructorInfo
GetConstructor(BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers);
97
ConstructorInfo
GetConstructor(BindingFlags bindingAttr, Binder binder, Type[] types, ParameterModifier[] modifiers);
98
ConstructorInfo
GetConstructor(Type[] types);
99
ConstructorInfo
[] GetConstructors();
100
ConstructorInfo
TypeInitializer
409
[TypeLibImportClassAttribute(typeof(System.Reflection.
ConstructorInfo
))]
system\reflection\ConstructorInfo.cs (4)
52
public static bool operator ==(
ConstructorInfo
left,
ConstructorInfo
right)
65
public static bool operator !=(
ConstructorInfo
left,
ConstructorInfo
right)
system\reflection\customattribute.cs (2)
355
private
ConstructorInfo
m_ctor;
528
public virtual
ConstructorInfo
Constructor { get { return m_ctor; } }
system\reflection\emit\assemblybuilder.cs (2)
1657
public void SetCustomAttribute(
ConstructorInfo
con, byte[] binaryAttribute)
1672
private void SetCustomAttributeNoLock(
ConstructorInfo
con, byte[] binaryAttribute)
system\reflection\emit\assemblybuilderdata.cs (5)
95
internal void AddCustomAttribute(
ConstructorInfo
con, byte[] binaryAttribute)
102
m_CACons = new
ConstructorInfo
[m_iInitialSize];
108
ConstructorInfo
[] tempCon = new
ConstructorInfo
[m_iCAs * 2];
491
internal
ConstructorInfo
[] m_CACons;
system\reflection\emit\constructorbuilder.cs (2)
125
ConstructorInfo
rci = GetTypeBuilder().GetConstructor(m_methodBuilder.m_parameterTypes);
291
public void SetCustomAttribute(
ConstructorInfo
con, byte[] binaryAttribute)
system\reflection\emit\customattributebuilder.cs (6)
37
public CustomAttributeBuilder(
ConstructorInfo
con, Object[] constructorArgs)
46
public CustomAttributeBuilder(
ConstructorInfo
con, Object[] constructorArgs,
55
public CustomAttributeBuilder(
ConstructorInfo
con, Object[] constructorArgs,
64
public CustomAttributeBuilder(
ConstructorInfo
con, Object[] constructorArgs,
103
internal void InitCustomAttributeBuilder(
ConstructorInfo
con, Object[] constructorArgs,
580
internal
ConstructorInfo
m_con;
system\reflection\emit\dynamicilgenerator.cs (1)
150
public override void Emit(OpCode opcode,
ConstructorInfo
con)
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\enumbuilder.cs (3)
136
protected override
ConstructorInfo
GetConstructorImpl(BindingFlags bindingAttr,Binder binder,
144
public override
ConstructorInfo
[] GetConstructors(BindingFlags bindingAttr)
322
public void SetCustomAttribute(
ConstructorInfo
con, byte[] binaryAttribute)
system\reflection\emit\eventbuilder.cs (1)
112
public void SetCustomAttribute(
ConstructorInfo
con, byte[] binaryAttribute)
system\reflection\emit\fieldbuilder.cs (1)
228
public void SetCustomAttribute(
ConstructorInfo
con, byte[] binaryAttribute)
system\reflection\emit\generictypeparameterbuilder.cs (3)
121
protected override
ConstructorInfo
GetConstructorImpl(BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers) { throw new NotSupportedException(); }
124
public override
ConstructorInfo
[] GetConstructors(BindingFlags bindingAttr) { throw new NotSupportedException(); }
220
public void SetCustomAttribute(
ConstructorInfo
con, byte[] binaryAttribute)
system\reflection\emit\ilgenerator.cs (2)
681
public virtual void Emit(OpCode opcode,
ConstructorInfo
con)
1173
ConstructorInfo
con = excType.GetConstructor(Type.EmptyTypes);
system\reflection\emit\methodbuilder.cs (5)
360
ConstructorInfo
ci = null;
366
else if ( (ci = method as
ConstructorInfo
) != null)
1177
public void SetCustomAttribute(
ConstructorInfo
con, byte[] binaryAttribute)
1213
private bool IsKnownCA(
ConstructorInfo
con)
1221
private void ParseCA(
ConstructorInfo
con, byte[] blob)
system\reflection\emit\modulebuilder.cs (6)
514
internal MethodToken InternalGetConstructorToken(
ConstructorInfo
con, bool usingRef)
758
tkParent = GetConstructorToken(method as
ConstructorInfo
).Token;
1932
public MethodToken GetConstructorToken(
ConstructorInfo
constructor, IEnumerable<Type> optionalParameterTypes)
2023
tk = GetConstructorToken(method as
ConstructorInfo
).Token;
2100
public MethodToken GetConstructorToken(
ConstructorInfo
con)
2260
public void SetCustomAttribute(
ConstructorInfo
con, byte[] binaryAttribute)
system\reflection\emit\parameterbuilder.cs (1)
67
public void SetCustomAttribute(
ConstructorInfo
con, byte[] binaryAttribute)
system\reflection\emit\propertybuilder.cs (1)
152
public void SetCustomAttribute(
ConstructorInfo
con, byte[] binaryAttribute)
system\reflection\emit\symboltype.cs (2)
420
protected override
ConstructorInfo
GetConstructorImpl(BindingFlags bindingAttr,Binder binder,
427
public override
ConstructorInfo
[] GetConstructors(BindingFlags bindingAttr)
system\reflection\emit\typebuilder.cs (13)
54
private
ConstructorInfo
m_con;
58
public CustAttr(
ConstructorInfo
con, byte[] binaryAttribute)
130
public static
ConstructorInfo
GetConstructor(Type type,
ConstructorInfo
constructor)
995
internal void SetGenParamCustomAttribute(
ConstructorInfo
con, byte[] binaryAttribute)
1125
protected override
ConstructorInfo
GetConstructorImpl(BindingFlags bindingAttr,Binder binder,
1136
public override
ConstructorInfo
[] GetConstructors(BindingFlags bindingAttr)
1739
if ((method.Attributes & MethodAttributes.SpecialName) != 0 && method.Name.Equals(
ConstructorInfo
.ConstructorName))
1772
ConstructorInfo
.TypeConstructorName, attr, CallingConventions.Standard, null, m_module, this);
1801
ConstructorInfo
con = null;
1881
name =
ConstructorInfo
.ConstructorName;
1885
name =
ConstructorInfo
.TypeConstructorName;
2596
public void SetCustomAttribute(
ConstructorInfo
con, byte[] binaryAttribute)
system\reflection\emit\typebuilderinstantiation.cs (2)
171
protected override
ConstructorInfo
GetConstructorImpl(BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers) { throw new NotSupportedException(); }
174
public override
ConstructorInfo
[] GetConstructors(BindingFlags bindingAttr) { throw new NotSupportedException(); }
system\reflection\emit\xxxontypebuilderinstantiation.cs (4)
113
internal static
ConstructorInfo
GetConstructor(
ConstructorInfo
Constructor, TypeBuilderInstantiation type)
120
internal
ConstructorInfo
m_ctor;
125
internal ConstructorOnTypeBuilderInstantiation(
ConstructorInfo
constructor, TypeBuilderInstantiation type)
system\reflection\memberinfoserializationholder.cs (2)
173
ConstructorInfo
[] constructors = m_reflectedType.GetMember(m_memberName, MemberTypes.Constructor, bindingFlags) as
ConstructorInfo
[];
system\reflection\methodbase.cs (4)
110
ConstructorInfo
constructor1, constructor2;
114
else if ((constructor1 = left as
ConstructorInfo
) != null && (constructor2 = right as
ConstructorInfo
) != null)
244
return (this is
ConstructorInfo
&&
system\reflection\typedelegator.cs (2)
88
protected override
ConstructorInfo
GetConstructorImpl(BindingFlags bindingAttr,Binder binder,
95
public override
ConstructorInfo
[] GetConstructors(BindingFlags bindingAttr)
system\reflection\typeinfo.cs (1)
126
public virtual IEnumerable<
ConstructorInfo
> DeclaredConstructors
system\rttype.cs (22)
2827
private ListBuilder<
ConstructorInfo
> GetConstructorCandidates(
2837
ListBuilder<
ConstructorInfo
> candidates = new ListBuilder<
ConstructorInfo
>(cache.Length);
3040
private class ConstructorInfoComparer : IComparer<
ConstructorInfo
>
3044
public Int32 Compare(
ConstructorInfo
x,
ConstructorInfo
y)
3058
public override
ConstructorInfo
[] GetConstructors(BindingFlags bindingAttr)
3060
ConstructorInfo
[] constructors = GetConstructorCandidates(null, bindingAttr, CallingConventions.Any, null, false).ToArray();
3080
ArraySortHelper<
ConstructorInfo
>.IntrospectiveSort(constructors, 0, constructors.Length, ConstructorInfoComparer.SortByMetadataToken);
3121
ListBuilder<
ConstructorInfo
> constructors = GetConstructorCandidates(null, bindingAttr, CallingConventions.Any, null, false);
3250
protected override
ConstructorInfo
GetConstructorImpl(
3254
ListBuilder<
ConstructorInfo
> candidates = GetConstructorCandidates(null, bindingAttr, CallingConventions.Any, types, false);
3261
ConstructorInfo
firstCandidate = candidates[0];
3271
return System.DefaultBinder.ExactBinding(candidates.ToArray(), types, modifiers) as
ConstructorInfo
;
3276
return binder.SelectMethod(bindingAttr, candidates.ToArray(), types, modifiers) as
ConstructorInfo
;
3463
ListBuilder<
ConstructorInfo
> constructors = new ListBuilder<
ConstructorInfo
>();
5219
ConstructorInfo
[] candidates = GetConstructors(bindingAttr);
5325
server = ((
ConstructorInfo
)invokeMethod).Invoke(bindingAttr, binder, args, culture);
5384
volatile
ConstructorInfo
delegateCtorInfo;
5396
ConstructorInfo
ctorInfo = typeof(CtorDelegate).GetConstructor(new Type[] {typeof(Object), typeof(IntPtr)});
5732
ConstructorInfo
wrapperCons;
system\runtime\interopservices\tceadaptergen\eventproviderwriter.cs (4)
107
ConstructorInfo
SinkHelperCons = SinkHelperClass.GetConstructor(EventProviderWriter.DefaultLookup | BindingFlags.NonPublic, null, new Type[0], null );
466
ConstructorInfo
DefaultArrayListCons = typeof(ArrayList).GetConstructor(EventProviderWriter.DefaultLookup, null, new Type[0], null );
475
ConstructorInfo
ByteArrayGUIDCons = typeof(Guid).GetConstructor(EventProviderWriter.DefaultLookup, null, aParamTypes, null );
556
ConstructorInfo
DefaultBaseClsCons = typeof(Object).GetConstructor(BindingFlags.Instance | BindingFlags.Public, null, new Type[0], null );
system\runtime\interopservices\tceadaptergen\eventsinkhelperwriter.cs (1)
257
ConstructorInfo
DefaultBaseClsCons = typeof(Object).GetConstructor(BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public, null, new Type[0], null );
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 (1)
1925
ConstructorInfo
[] ci;
system\type.cs (8)
405
public
ConstructorInfo
GetConstructor(BindingFlags bindingAttr,
422
public
ConstructorInfo
GetConstructor(BindingFlags bindingAttr, Binder binder, Type[] types, ParameterModifier[] modifiers)
434
public
ConstructorInfo
GetConstructor(Type[] types)
440
abstract protected
ConstructorInfo
GetConstructorImpl(BindingFlags bindingAttr,
451
public
ConstructorInfo
[] GetConstructors() {
456
abstract public
ConstructorInfo
[] GetConstructors(BindingFlags bindingAttr);
459
public
ConstructorInfo
TypeInitializer {
795
ConstructorInfo
[] c = null;
PresentationBuildTasks (9)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (3)
1808
else if (desc.MemberInfo is
ConstructorInfo
) // instance ctor invoke
1810
ConstructorInfo
ci = (
ConstructorInfo
)desc.MemberInfo;
Framework\System\Windows\Markup\MarkupExtensionParser.cs (4)
1224
ConstructorInfo
[] constructors = extensionType.GetConstructors(BindingFlags.Public | BindingFlags.Instance);
1226
foreach (
ConstructorInfo
ctor in constructors)
1327
ConstructorInfo
[] infos = data.TargetType.GetConstructors(BindingFlags.Public | BindingFlags.Instance);
1330
ConstructorInfo
info = infos[i];
Framework\System\Windows\Markup\XmlnsCache.cs (1)
238
ConstructorInfo
cinfo = data.Constructor;
Shared\System\Windows\Markup\ReflectionHelper.cs (1)
297
ConstructorInfo
cinfo = cad.Constructor;
PresentationCore (8)
Core\CSharp\MS\Internal\TextFormatting\FullTextLine.cs (1)
446
ConstructorInfo
constructor = t.GetConstructor(
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\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 (24)
src\Framework\MS\Internal\Annotations\Serializer.cs (1)
113
private
ConstructorInfo
_ctor;
src\Framework\MS\Internal\WindowsRuntime\Windows\Data\Text\WordsSegmenter.cs (1)
40
ConstructorInfo
constructor = null;
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)
3363
private
ConstructorInfo
_itemConstructor;
src\Framework\System\Windows\Data\ObjectDataProvider.cs (1)
400
ConstructorInfo
[] ciAry = _objectType.GetConstructors();
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\Markup\BamlRecordReader.cs (2)
1530
ConstructorInfo
[] infos = data.Constructors;
1533
ConstructorInfo
info = infos[i];
src\Framework\System\Windows\Markup\MarkupExtensionParser.cs (2)
1224
ConstructorInfo
[] constructors = extensionType.GetConstructors(BindingFlags.Public | BindingFlags.Instance);
1226
foreach (
ConstructorInfo
ctor in constructors)
src\Framework\System\Windows\Markup\Primitives\ElementMarkupObject.cs (2)
404
ConstructorInfo
ctorInfo = instanceDescriptor.MemberInfo as
ConstructorInfo
;
src\Framework\System\Windows\Markup\XamlTypeMapper.cs (3)
3889
internal ConstructorData(
ConstructorInfo
[] constructors)
3925
internal
ConstructorInfo
[] Constructors
3934
private
ConstructorInfo
[] _constructors;
src\Framework\System\Windows\Standard\ErrorCodes.cs (1)
492
ConstructorInfo
cons = e.GetType().GetConstructor(new[] { typeof(string) });
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 (28)
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\design\serialization\InstanceDescriptor.cs (5)
58
else if (member is
ConstructorInfo
) {
59
ConstructorInfo
ci = (
ConstructorInfo
)member;
137
if (member is
ConstructorInfo
) {
138
return ((
ConstructorInfo
)member).Invoke(translatedArguments);
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\diagnostics\traceutils.cs (3)
44
ConstructorInfo
ctorInfo = objectType.GetConstructor(new Type[] {});
52
ConstructorInfo
ctorInfo = objectType.GetConstructor(new Type[] { typeof(string) });
73
ConstructorInfo
[] ctorInfos = objectType.GetConstructors();
misc\SecurityUtils.cs (2)
176
ConstructorInfo
ctor = type.GetConstructor(flags, null, argTypes, null);
234
internal static object ConstructorInfoInvoke(
ConstructorInfo
ctor, object[] args) {
net\System\_UriTypeConverter.cs (1)
86
ConstructorInfo
ci = typeof(Uri).GetConstructor(BindingFlags.Public | BindingFlags.Instance, null, new Type[]{typeof(string), typeof(UriKind)}, null);
regex\system\text\regularexpressions\RegexCompiler.cs (3)
554
internal void Newobj(
ConstructorInfo
ct) {
3088
ConstructorInfo
transparencyCtor = typeof(SecurityTransparentAttribute).GetConstructor(Type.EmptyTypes);
3092
ConstructorInfo
securityRulesCtor = typeof(SecurityRulesAttribute).GetConstructor(new Type[] { typeof(SecurityRuleSet) });
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 (11)
System\Activities\Debugger\StateManager.cs (2)
694
ConstructorInfo
transparentCtor =
706
ConstructorInfo
constructorInfo = debuggableAttributeType.GetConstructor(new Type[] { typeof(DebuggableAttribute.DebuggingModes) });
System\Activities\Expressions\MethodCallExpressionHelper.cs (4)
175
static Expression ComposeLinqExpression<TResult>(
ConstructorInfo
constructorInfo, ParameterExpression objectArray)
217
static Func<object[], TResult> GetFunc<TResult>(CodeActivityMetadata metadata,
ConstructorInfo
constructorInfo)
289
internal static Func<object[], TResult> GetFunc<TResult>(CodeActivityMetadata metadata,
ConstructorInfo
constructorInfo,
290
MruCache<
ConstructorInfo
, Func<object[], TResult>> cache, ReaderWriterLockSlim locker)
System\Activities\Expressions\New.cs (4)
28
ConstructorInfo
constructorInfo;
29
static MruCache<
ConstructorInfo
, Func<object[], TResult>> funcCache =
30
new MruCache<
ConstructorInfo
, Func<object[], TResult>>(MethodCallExpressionHelper.FuncCacheCapacity);
60
ConstructorInfo
oldConstructorInfo = this.constructorInfo;
System\Activities\Expressions\NewArray.cs (1)
17
ConstructorInfo
constructorInfo;
System.Activities.Presentation (36)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\AttributeConverter.cs (3)
19
private static
ConstructorInfo
attributeConstructor = null;
22
private
ConstructorInfo
Constructor
63
ConstructorInfo
constructor = this.Constructor;
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\AttributeInfo.cs (2)
32
public abstract
ConstructorInfo
GetConstructor();
34
public abstract ICollection GetConstructorArguments(TAttribute attribute, ref
ConstructorInfo
constructor);
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\DefaultValueAttributeInfo.cs (3)
21
public override ICollection GetConstructorArguments(DefaultValueAttribute attribute, ref
ConstructorInfo
constructor)
26
public override
ConstructorInfo
GetConstructor()
29
ConstructorInfo
constructor = defaultValueAttributeType.GetConstructor(new Type[] { typeof(object) });
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\DesignerAttributeInfo.cs (3)
15
public override ICollection GetConstructorArguments(DesignerAttribute attribute, ref
ConstructorInfo
constructor)
20
public override
ConstructorInfo
GetConstructor()
23
ConstructorInfo
constructor = designerAttributeType.GetConstructor(new Type[] { typeof(Type) });
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\EditorAttributeInfo.cs (3)
15
public override ICollection GetConstructorArguments(EditorAttribute attribute, ref
ConstructorInfo
constructor)
20
public override
ConstructorInfo
GetConstructor()
23
ConstructorInfo
constructor = editorAttributeType.GetConstructor(new Type[] { typeof(Type), typeof(Type) });
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ImportAttributeInfo.cs (8)
14
static
ConstructorInfo
nameConstructor;
15
static
ConstructorInfo
typeConstructor;
16
static
ConstructorInfo
nameAndTypeConstructor;
23
public override ICollection GetConstructorArguments(ImportAttribute attribute, ref
ConstructorInfo
constructor)
49
public override
ConstructorInfo
GetConstructor()
54
static
ConstructorInfo
NameConstructor
66
static
ConstructorInfo
NameAndTypeConstructor
78
static
ConstructorInfo
TypeConstructor
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ImportManyAttributeInfo.cs (8)
14
static
ConstructorInfo
nameConstructor;
15
static
ConstructorInfo
typeConstructor;
16
static
ConstructorInfo
nameAndTypeConstructor;
26
public override ICollection GetConstructorArguments(ImportManyAttribute attribute, ref
ConstructorInfo
constructor)
52
public override
ConstructorInfo
GetConstructor()
57
static
ConstructorInfo
NameConstructor
69
static
ConstructorInfo
NameAndTypeConstructor
81
static
ConstructorInfo
TypeConstructor
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\Base\Core\Metadata\MetadataStore.cs (2)
1079
protected override
ConstructorInfo
GetConstructorImpl(BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers) { return _baseReflectionType.GetConstructor(bindingAttr, binder, callConvention, types, modifiers); }
1080
public override
ConstructorInfo
[] GetConstructors(BindingFlags bindingAttr) { return _baseReflectionType.GetConstructors(bindingAttr); }
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\newitemfactory.cs (1)
81
ConstructorInfo
ctor = type.GetConstructor(
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.AddIn (5)
System\Addin\Hosting\AddInActivator.cs (2)
448
ConstructorInfo
havCtor = targetType.GetConstructor(
464
private static DynamicMethod AssertAndCreateInvoker(Type targetType, Type argType, Type[] methodArgs,
ConstructorInfo
havCtor)
System\Addin\Hosting\Store\AddInAdapter.cs (1)
80
foreach (
ConstructorInfo
ctor in type.GetConstructors(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance))
System\Addin\MiniReflection\TypeInfo.cs (2)
1005
System.Reflection.
ConstructorInfo
[] ctors = caReflectedType.GetConstructors(visibility);
1009
System.Reflection.
ConstructorInfo
ctor = ctors[0];
System.Configuration (13)
System\Configuration\MgmtConfigurationRecord.cs (9)
137
ConstructorInfo
ctor = TypeUtil.GetConstructorWithReflectionPermission(type, typeof(ConfigurationSection), true);
147
ConstructorInfo
ctor = (
ConstructorInfo
) factoryRecord.Factory;
175
private
ConstructorInfo
CreateSectionGroupFactory(FactoryRecord factoryRecord) {
185
ConstructorInfo
ctor = TypeUtil.GetConstructorWithReflectionPermission(type, typeof(ConfigurationSectionGroup), true);
193
private
ConstructorInfo
EnsureSectionGroupFactory(FactoryRecord factoryRecord) {
194
ConstructorInfo
factory = (
ConstructorInfo
) factoryRecord.Factory;
327
ConstructorInfo
ctor = EnsureSectionGroupFactory(factoryRecord);
System\Configuration\RuntimeConfigurationRecord.cs (1)
134
ConstructorInfo
_sectionCtor;
System\Configuration\TypeUtil.cs (3)
204
static internal
ConstructorInfo
GetConstructorWithReflectionPermission(Type type, Type baseType, bool throwOnError) {
212
ConstructorInfo
ctor = type.GetConstructor(bindingFlags, null, CallingConventions.HasThis, Type.EmptyTypes, null);
222
static internal object InvokeCtorWithReflectionPermission(
ConstructorInfo
ctor) {
System.Core (32)
Microsoft\Scripting\Ast\Expression.DebuggerProxy.cs (1)
339
public
ConstructorInfo
Constructor { get { return _node.Constructor; } }
Microsoft\Scripting\Ast\NewExpression.cs (15)
41
private readonly
ConstructorInfo
_constructor;
45
internal NewExpression(
ConstructorInfo
constructor, IList<Expression> arguments, ReadOnlyCollection<MemberInfo> members) {
70
public
ConstructorInfo
Constructor {
141
/// <param name="constructor">The <see cref="
ConstructorInfo
"/> to set the <see cref="P:Constructor"/> property equal to.</param>
143
public static NewExpression New(
ConstructorInfo
constructor) {
151
/// <param name="constructor">The <see cref="
ConstructorInfo
"/> to set the <see cref="P:Constructor"/> property equal to.</param>
154
public static NewExpression New(
ConstructorInfo
constructor, params Expression[] arguments) {
162
/// <param name="constructor">The <see cref="
ConstructorInfo
"/> to set the <see cref="P:Constructor"/> property equal to.</param>
165
public static NewExpression New(
ConstructorInfo
constructor, IEnumerable<Expression> arguments) {
179
/// <param name="constructor">The <see cref="
ConstructorInfo
"/> to set the <see cref="P:Constructor"/> property equal to.</param>
183
public static NewExpression New(
ConstructorInfo
constructor, IEnumerable<Expression> arguments, IEnumerable<MemberInfo> members) {
195
/// <param name="constructor">The <see cref="
ConstructorInfo
"/> to set the <see cref="P:Constructor"/> property equal to.</param>
199
public static NewExpression New(
ConstructorInfo
constructor, IEnumerable<Expression> arguments, params MemberInfo[] members) {
214
ConstructorInfo
ci = null;
228
private static void ValidateNewArgs(
ConstructorInfo
constructor, ref ReadOnlyCollection<Expression> arguments, ref ReadOnlyCollection<MemberInfo> members) {
Microsoft\Scripting\Compiler\ILGen.cs (6)
40
Debug.Assert(methodBase is MethodInfo || methodBase is
ConstructorInfo
);
43
il.Emit(opcode, (
ConstructorInfo
)methodBase);
295
internal static void EmitNew(this ILGenerator il,
ConstructorInfo
ci) {
310
ConstructorInfo
ci = type.GetConstructor(paramTypes);
793
ConstructorInfo
ci = typeTo.GetConstructor(new Type[] { nnTypeTo });
814
ConstructorInfo
ci = typeTo.GetConstructor(new Type[] { nnTypeTo });
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)
111
_ilg.Emit(OpCodes.Newobj, (
ConstructorInfo
)(delegateType.GetMember(".ctor")[0]));
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.Unary.cs (2)
129
ConstructorInfo
ci = resultType.GetConstructor(new Type[] { typeof(bool) });
164
ConstructorInfo
ci = resultType.GetConstructor(new Type[] { nnOperandType });
System.Data (49)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\AttributeConverter.cs (3)
19
private static
ConstructorInfo
attributeConstructor = null;
22
private
ConstructorInfo
Constructor
63
ConstructorInfo
constructor = this.Constructor;
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\AttributeInfo.cs (2)
32
public abstract
ConstructorInfo
GetConstructor();
34
public abstract ICollection GetConstructorArguments(TAttribute attribute, ref
ConstructorInfo
constructor);
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\DefaultValueAttributeInfo.cs (3)
21
public override ICollection GetConstructorArguments(DefaultValueAttribute attribute, ref
ConstructorInfo
constructor)
26
public override
ConstructorInfo
GetConstructor()
29
ConstructorInfo
constructor = defaultValueAttributeType.GetConstructor(new Type[] { typeof(object) });
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\DesignerAttributeInfo.cs (3)
15
public override ICollection GetConstructorArguments(DesignerAttribute attribute, ref
ConstructorInfo
constructor)
20
public override
ConstructorInfo
GetConstructor()
23
ConstructorInfo
constructor = designerAttributeType.GetConstructor(new Type[] { typeof(Type) });
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\EditorAttributeInfo.cs (3)
15
public override ICollection GetConstructorArguments(EditorAttribute attribute, ref
ConstructorInfo
constructor)
20
public override
ConstructorInfo
GetConstructor()
23
ConstructorInfo
constructor = editorAttributeType.GetConstructor(new Type[] { typeof(Type), typeof(Type) });
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ImportAttributeInfo.cs (8)
14
static
ConstructorInfo
nameConstructor;
15
static
ConstructorInfo
typeConstructor;
16
static
ConstructorInfo
nameAndTypeConstructor;
23
public override ICollection GetConstructorArguments(ImportAttribute attribute, ref
ConstructorInfo
constructor)
49
public override
ConstructorInfo
GetConstructor()
54
static
ConstructorInfo
NameConstructor
66
static
ConstructorInfo
NameAndTypeConstructor
78
static
ConstructorInfo
TypeConstructor
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ImportManyAttributeInfo.cs (8)
14
static
ConstructorInfo
nameConstructor;
15
static
ConstructorInfo
typeConstructor;
16
static
ConstructorInfo
nameAndTypeConstructor;
26
public override ICollection GetConstructorArguments(ImportManyAttribute attribute, ref
ConstructorInfo
constructor)
52
public override
ConstructorInfo
GetConstructor()
57
static
ConstructorInfo
NameConstructor
69
static
ConstructorInfo
NameAndTypeConstructor
81
static
ConstructorInfo
TypeConstructor
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\Base\Core\Metadata\MetadataStore.cs (2)
1079
protected override
ConstructorInfo
GetConstructorImpl(BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers) { return _baseReflectionType.GetConstructor(bindingAttr, binder, callConvention, types, modifiers); }
1080
public override
ConstructorInfo
[] GetConstructors(BindingFlags bindingAttr) { return _baseReflectionType.GetConstructors(bindingAttr); }
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\newitemfactory.cs (1)
81
ConstructorInfo
ctor = type.GetConstructor(
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);
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 (1)
46
System.Reflection.
ConstructorInfo
ctor = null;
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 (40)
System\Data\Common\Internal\Materialization\Translator.cs (15)
431
private
ConstructorInfo
GetConstructor(Type type)
433
ConstructorInfo
result = null;
551
private static readonly
ConstructorInfo
EntityKey_ctor_SingleKey = typeof(EntityKey).GetConstructor(BindingFlags.NonPublic | BindingFlags.Instance, null, new Type[] { typeof(EntitySet), typeof(object) }, null);
552
private static readonly
ConstructorInfo
EntityKey_ctor_CompositeKey = typeof(EntityKey).GetConstructor(BindingFlags.NonPublic | BindingFlags.Instance, null, new Type[] { typeof(EntitySet), typeof(object[]) }, null);
558
private static readonly
ConstructorInfo
MaterializedDataRecord_ctor = typeof(MaterializedDataRecord).GetConstructor(
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]);
768
ConstructorInfo
ci = genericType.GetConstructor(BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.CreateInstance, null,
794
ConstructorInfo
ci = genericType.GetConstructor(BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.CreateInstance, null,
1167
ConstructorInfo
constructor = GetConstructor(clrType);
1322
ConstructorInfo
constructor = GetConstructor(clrType);
1504
ConstructorInfo
typeDelegatePairConstructor = typeDelegatePairType.GetConstructor(new Type[] { typeof(EntityType), typeof(Func<Shaper, TElement>) });
1912
ConstructorInfo
constructorInfo = compensatingCollectionType.GetConstructors()[0];
System\Data\Metadata\Edm\LightweightCodeGenerator.cs (3)
150
internal static
ConstructorInfo
GetConstructorForType(Type type)
153
ConstructorInfo
ci = type.GetConstructor(BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance | BindingFlags.CreateInstance, null, System.Type.EmptyTypes, null);
168
ConstructorInfo
ci = GetConstructorForType(type);
System\Data\Objects\ELinq\InitializerFacet.cs (1)
226
ConstructorInfo
constructor = groupType.GetConstructors().Single();
System\Data\Objects\Internal\EntityProxyFactory.cs (12)
74
ConstructorInfo
securityTransparentAttributeConstructor = typeof(SecurityTransparentAttribute).GetConstructor(Type.EmptyTypes);
78
ConstructorInfo
securityRulesAttributeConstructor = typeof(SecurityRulesAttribute).GetConstructor(new Type[] { typeof(SecurityRuleSet) });
568
ConstructorInfo
ctor = ospaceEntityType.ClrType.GetConstructor(BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance | BindingFlags.CreateInstance, null, Type.EmptyTypes, null);
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);
1560
private readonly
ConstructorInfo
_serializationConstructor;
System\Data\Objects\ObjectViewFactory.cs (3)
122
ConstructorInfo
viewDataConstructor = objectViewDataType.GetConstructor(BindingFlags.Instance | BindingFlags.NonPublic,
205
ConstructorInfo
viewDataConstructor = objectViewDataType.GetConstructor(BindingFlags.Instance | BindingFlags.NonPublic,
238
ConstructorInfo
viewConstructor = objectViewType.GetConstructor(BindingFlags.Instance | BindingFlags.NonPublic,
System\Data\Query\InternalTrees\ColumnMapFactory.cs (1)
135
ConstructorInfo
constructor = type.GetConstructor(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance,
System\Data\SqlClient\SqlTypesAssembly.cs (5)
566
ConstructorInfo
byteArrayCtor = sqlBytesType.GetConstructor(BindingFlags.Instance | BindingFlags.Public, null, new Type[] { toConvert.Type }, null);
577
ConstructorInfo
sqlCharsFromSqlStringCtor = sqlCharsType.GetConstructor(BindingFlags.Instance | BindingFlags.Public, null, new Type[] { sqlString }, null);
579
ConstructorInfo
sqlStringFromStringCtor = sqlString.GetConstructor(BindingFlags.Instance | BindingFlags.Public, null, new Type[] { typeof(string) }, null);
588
ConstructorInfo
sqlStringFromStringCtor = sqlStringType.GetConstructor(BindingFlags.Instance | BindingFlags.Public, null, new Type[] { typeof(string) }, null);
598
ConstructorInfo
readerCtor = sqlXmlType.GetConstructor(BindingFlags.Instance | BindingFlags.Public, null, new Type[] { toConvert.Type }, null);
System.Data.Linq (18)
parent\parent\misc\SecurityUtils.cs (2)
176
ConstructorInfo
ctor = type.GetConstructor(flags, null, argTypes, null);
234
internal static object ConstructorInfoInvoke(
ConstructorInfo
ctor, object[] args) {
SqlClient\Common\SqlFactory.cs (1)
516
internal SqlNew New(MetaType type,
ConstructorInfo
cons, IEnumerable<SqlExpression> args, IEnumerable<MemberInfo> argMembers, IEnumerable<SqlMemberAssign> bindings, Expression sourceExpression) {
SqlClient\Common\SqlNode.cs (3)
1662
private
ConstructorInfo
constructor;
1667
internal SqlNew(MetaType metaType, ProviderType sqlType,
ConstructorInfo
cons, IEnumerable<SqlExpression> args, IEnumerable<MemberInfo> argMembers, IEnumerable<SqlMemberAssign> members, Expression sourceExpression)
1693
internal
ConstructorInfo
Constructor {
SqlClient\Query\QueryConverter.cs (1)
2418
ConstructorInfo
cons = itemMetaType.Type.GetConstructor(Type.EmptyTypes);
SqlClient\Query\Translator.cs (1)
111
ConstructorInfo
cons = rowType.Type.GetConstructor(BindingFlags.Instance|BindingFlags.Public|BindingFlags.NonPublic, null, System.Type.EmptyTypes, null);
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);
1312
ConstructorInfo
ci = memberType.GetConstructor(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, new Type[] { argType }, null);
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 });
System.Data.Services (1)
System\Data\Services\WebUtil.cs (1)
582
ConstructorInfo
emptyConstructor = type.GetConstructor(Type.EmptyTypes);
System.Data.Services.Client (3)
System\Data\Services\Client\ALinq\DataServiceQueryProvider.cs (1)
53
ConstructorInfo
ci = qt.GetConstructor(
System\Data\Services\Client\ProjectionPlanCompiler.cs (1)
844
ConstructorInfo
constructorInfo =
System\Data\Services\Client\Util.cs (1)
526
internal static object ConstructorInvoke(
ConstructorInfo
constructor, object[] arguments)
System.Data.SqlXml (17)
System\Xml\Xsl\IlGen\GenerateHelper.cs (14)
131
public static readonly
ConstructorInfo
DecFromParts = GetConstructor(typeof(decimal), typeof(int), typeof(int), typeof(int), typeof(bool), typeof(byte));
132
public static readonly
ConstructorInfo
DecFromInt32 = GetConstructor(typeof(decimal), typeof(int));
133
public static readonly
ConstructorInfo
DecFromInt64 = GetConstructor(typeof(decimal), typeof(long));
134
public static readonly
ConstructorInfo
Debuggable = GetConstructor(typeof(DebuggableAttribute), typeof(DebuggableAttribute.DebuggingModes));
135
public static readonly
ConstructorInfo
NonUserCode = GetConstructor(typeof(DebuggerNonUserCodeAttribute));
136
public static readonly
ConstructorInfo
QName = GetConstructor(typeof(XmlQualifiedName), typeof(string), typeof(string));
137
public static readonly
ConstructorInfo
StepThrough = GetConstructor(typeof(DebuggerStepThroughAttribute));
138
public static readonly
ConstructorInfo
Transparent = GetConstructor(typeof(SecurityTransparentAttribute));
140
private static
ConstructorInfo
GetConstructor(Type className) {
141
ConstructorInfo
constrInfo = className.GetConstructor(new Type[] {});
146
private static
ConstructorInfo
GetConstructor(Type className, params Type[] args) {
147
ConstructorInfo
constrInfo = className.GetConstructor(args);
850
public void Construct(
ConstructorInfo
constr) {
1484
public void Emit(OpCode opcode,
ConstructorInfo
constrInfo) {
System\Xml\Xsl\IlGen\XmlILModule.cs (1)
269
public
ConstructorInfo
DefineTypeInitializer() {
System\Xml\Xsl\Runtime\EarlyBoundInfo.cs (1)
19
private
ConstructorInfo
constrInfo; // Constructor for the early bound function object
System\Xml\Xsl\XmlIlGenerator.cs (1)
337
ConstructorInfo
cctor;
System.Drawing (5)
commonui\System\Drawing\Advanced\SizeFConverter.cs (1)
133
ConstructorInfo
ctor = typeof(SizeF).GetConstructor(new Type[] {typeof(float), typeof(float)});
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 (42)
System\Runtime\Serialization\ClassDataContract.cs (6)
255
internal
ConstructorInfo
GetISerializableConstructor()
263
internal
ConstructorInfo
GetNonAttributedTypeConstructor()
1302
internal
ConstructorInfo
GetISerializableConstructor()
1307
ConstructorInfo
ctor = UnderlyingType.GetConstructor(Globals.ScanAllMembers, null, SerInfoCtorArgs, null);
1314
internal
ConstructorInfo
GetNonAttributedTypeConstructor()
1324
ConstructorInfo
ctor = type.GetConstructor(BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public, null, Globals.EmptyTypeArray, null);
System\Runtime\Serialization\CodeGenerator.cs (3)
654
internal void Call(
ConstructorInfo
ctor)
661
internal void New(
ConstructorInfo
constructorInfo)
668
internal void New(
ConstructorInfo
constructorInfo, object param1)
System\Runtime\Serialization\CollectionDataContract.cs (8)
131
CollectionDataContract(Type type, CollectionKind kind, Type itemType, MethodInfo getEnumeratorMethod, MethodInfo addMethod,
ConstructorInfo
constructor)
140
CollectionDataContract(Type type, CollectionKind kind, Type itemType, MethodInfo getEnumeratorMethod, MethodInfo addMethod,
ConstructorInfo
constructor, bool isConstructorCheckRequired)
336
internal
ConstructorInfo
Constructor
485
readonly
ConstructorInfo
constructor;
628
internal CollectionDataContractCriticalHelper(Type type, CollectionKind kind, Type itemType, MethodInfo getEnumeratorMethod, MethodInfo addMethod,
ConstructorInfo
constructor)
638
internal CollectionDataContractCriticalHelper(Type type, CollectionKind kind, Type itemType, MethodInfo getEnumeratorMethod, MethodInfo addMethod,
ConstructorInfo
constructor, bool isConstructorCheckRequired)
764
internal
ConstructorInfo
Constructor
994
ConstructorInfo
defaultCtor = null;
System\Runtime\Serialization\DataContract.cs (4)
2367
static internal bool ConstructorRequiresMemberAccess(
ConstructorInfo
ctor)
2418
else if (member is
ConstructorInfo
)
2420
ConstructorInfo
constructor = (
ConstructorInfo
)member;
System\Runtime\Serialization\Json\JsonFormatGeneratorStatics.cs (4)
29
static
ConstructorInfo
extensionDataObjectCtor;
80
static
ConstructorInfo
serializationExceptionCtor;
154
public static
ConstructorInfo
ExtensionDataObjectCtor
358
public static
ConstructorInfo
SerializationExceptionCtor
System\Runtime\Serialization\Json\JsonFormatReaderGenerator.cs (2)
507
ConstructorInfo
ctor = classContract.UnderlyingType.GetConstructor(Globals.ScanAllMembers, null, JsonFormatGeneratorStatics.SerInfoCtorArgs, null);
646
ConstructorInfo
constructor = collectionContract.Constructor;
System\Runtime\Serialization\Json\JsonFormatWriterGenerator.cs (2)
464
ConstructorInfo
dictEnumCtor = enumeratorType.GetConstructor(Globals.ScanAllMembers, null, new Type[] { Globals.TypeOfIDictionaryEnumerator }, null);
471
ConstructorInfo
dictEnumCtor = enumeratorType.GetConstructor(Globals.ScanAllMembers, null, new Type[] { ctorParam }, null);
System\Runtime\Serialization\XmlDataContract.cs (2)
309
ConstructorInfo
GetConstructor()
316
ConstructorInfo
ctor = type.GetConstructor(BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public, null, Globals.EmptyTypeArray, null);
System\Runtime\Serialization\XmlFormatGeneratorStatics.cs (8)
96
static
ConstructorInfo
dictionaryEnumeratorCtor;
97
internal static
ConstructorInfo
DictionaryEnumeratorCtor
226
static
ConstructorInfo
serializationExceptionCtor;
227
internal static
ConstructorInfo
SerializationExceptionCtor
239
static
ConstructorInfo
extensionDataObjectCtor;
240
internal static
ConstructorInfo
ExtensionDataObjectCtor
252
static
ConstructorInfo
hashtableCtor;
253
internal static
ConstructorInfo
HashtableCtor
System\Runtime\Serialization\XmlFormatReaderGenerator.cs (2)
465
ConstructorInfo
ctor = classContract.GetISerializableConstructor();
602
ConstructorInfo
constructor = collectionContract.Constructor;
System\Runtime\Serialization\XmlFormatWriterGenerator.cs (1)
506
ConstructorInfo
dictEnumCtor = enumeratorType.GetConstructor(Globals.ScanAllMembers, null, new Type[] { ctorParam }, null);
System.ServiceModel (13)
System\ServiceModel\Channels\HttpMessageHandlerFactory.cs (3)
31
ConstructorInfo
[] handlerCtors;
58
this.handlerCtors = new
ConstructorInfo
[handlers.Length];
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\Description\ServiceDescription.cs (1)
146
ConstructorInfo
constructor = serviceType.GetConstructor(
System\ServiceModel\Dispatcher\CodeGenerator.cs (1)
276
internal void New(
ConstructorInfo
constructor)
System\ServiceModel\Dispatcher\InstanceBehavior.cs (2)
46
ConstructorInfo
constructor = null;
205
static
ConstructorInfo
GetConstructor(Type type)
System\ServiceModel\Dispatcher\InvokerUtil.cs (3)
39
internal CreateInstanceDelegate GenerateCreateInstanceDelegate(Type type,
ConstructorInfo
constructor)
79
internal CreateInstanceDelegate GenerateCreateInstanceDelegate(Type type,
ConstructorInfo
constructor)
372
static bool ConstructorRequiresMemberAccess(
ConstructorInfo
ctor)
System.ServiceModel.Activation (1)
System\ServiceModel\ServiceHostingEnvironment.cs (1)
1342
ConstructorInfo
ctor = compiledType.GetConstructor(new Type[] { });
System.Web (27)
Compilation\CodeDOMUtility.cs (3)
140
else if (desc.MemberInfo is
ConstructorInfo
) {
141
ConstructorInfo
ci = (
ConstructorInfo
)desc.MemberInfo;
Compilation\CompilationUtil.cs (1)
515
ConstructorInfo
ci = codeDomProviderType.GetConstructor(new Type[] { typeof(IDictionary<string, string>) });
Compilation\DelayLoadType.cs (2)
84
protected override
ConstructorInfo
GetConstructorImpl(BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers) {
88
public override
ConstructorInfo
[] GetConstructors(BindingFlags bindingAttr) {
Compilation\TemplateControlCodeDomTreeGenerator.cs (2)
278
foreach (
var
c in Parser.BaseType.GetConstructors(BindingFlags.Instance | BindingFlags.Public)) {
286
private void AddConstructorToSource(
ConstructorInfo
ctor) {
ModelBinding\DataAnnotationsModelValidatorProvider.cs (8)
123
ConstructorInfo
constructor = GetAttributeAdapterConstructor(attributeType, adapterType);
153
ConstructorInfo
constructor = GetAttributeAdapterConstructor(typeof(ValidationAttribute), adapterType);
166
private static
ConstructorInfo
GetAttributeAdapterConstructor(Type attributeType, Type adapterType) {
167
ConstructorInfo
constructor = adapterType.GetConstructor(new[] { typeof(ModelMetadata), typeof(ModelBindingExecutionContext), attributeType });
238
ConstructorInfo
constructor = GetValidatableAdapterConstructor(adapterType);
279
ConstructorInfo
constructor = GetValidatableAdapterConstructor(adapterType);
296
private static
ConstructorInfo
GetValidatableAdapterConstructor(Type adapterType) {
297
ConstructorInfo
constructor = adapterType.GetConstructor(new[] { typeof(ModelMetadata), typeof(ModelBindingExecutionContext) });
parent\parent\parent\Misc\SecurityUtils.cs (2)
176
ConstructorInfo
ctor = type.GetConstructor(flags, null, argTypes, null);
234
internal static object ConstructorInfoInvoke(
ConstructorInfo
ctor, object[] args) {
UI\WebControls\Menu.cs (1)
1927
ConstructorInfo
constructor = _designTimeTextWriterType.GetConstructor(new Type[] { typeof(TextWriter) });
UI\WebParts\ConsumerConnectionPoint.cs (1)
20
ConstructorInfo
constructor = typeof(ConsumerConnectionPoint).GetConstructors()[0];
UI\WebParts\ProviderConnectionPoint.cs (1)
20
ConstructorInfo
constructor = typeof(ProviderConnectionPoint).GetConstructors()[0];
UI\WebParts\WebPartUtil.cs (2)
27
internal static Type[] GetTypesForConstructor(
ConstructorInfo
constructor) {
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 (1)
757
ConstructorInfo
ci = null;
WebForm\General\ChartHttpHandler.cs (1)
1019
private
ConstructorInfo
_handlerConstructor = null;
System.Web.Entity (4)
System\Data\WebControls\EntityDataSourceUtil.cs (3)
246
internal static
ConstructorInfo
GetConstructorInfo(Type type)
249
ConstructorInfo
constructorInfo = type.GetConstructor(BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance | BindingFlags.CreateInstance, null, System.Type.EmptyTypes, null);
276
ConstructorInfo
constructorInfo = GetConstructorInfo(type);
System\Data\WebControls\EntityDataSourceView.cs (1)
1129
ConstructorInfo
ctxInfo = contextType.GetConstructor(
System.Web.Extensions (4)
Script\Serialization\ObjectConverter.cs (2)
231
ConstructorInfo
constructorInfo = type.GetConstructor(BindingFlags.Public | BindingFlags.Instance, null, s_emptyTypeArray, null);
549
ConstructorInfo
constructorInfo = t.GetConstructor(BindingFlags.Public | BindingFlags.Instance,
UI\WebControls\Dynamic.cs (2)
267
ConstructorInfo
securityRulesConstructor = typeof(SecurityRulesAttribute).GetConstructor(new Type[] { typeof(SecurityRuleSet) });
1143
return Expression.New((
ConstructorInfo
)method, args);
System.Web.Mobile (1)
UI\MobileControls\FactoryGenerator.cs (1)
178
ConstructorInfo
cons = type.GetConstructor(_emptyParameterList);
System.Windows.Forms (17)
misc\SecurityUtils.cs (2)
176
ConstructorInfo
ctor = type.GetConstructor(flags, null, argTypes, null);
234
internal static object ConstructorInfoInvoke(
ConstructorInfo
ctor, object[] args) {
winforms\Managed\System\WinForms\BindingSource.cs (1)
78
private
ConstructorInfo
itemConstructor;
winforms\Managed\System\WinForms\ColumnHeaderConverter.cs (1)
55
ConstructorInfo
ctor;
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2IManagedPerPropertyBrowsingHandler.cs (1)
161
ConstructorInfo
[] ctors = t.GetConstructors();
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 (1)
46
ConstructorInfo
ctor;
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\ListBindingConverter.cs (1)
155
ConstructorInfo
ctor = typeof(Binding).GetConstructor(ctorParams);
winforms\Managed\System\WinForms\ListItemConverter.cs (2)
58
ConstructorInfo
ctor;
201
ConstructorInfo
ctor;
winforms\Managed\System\WinForms\ListViewGroupConverter.cs (1)
102
ConstructorInfo
ctor;
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
2028
ConstructorInfo
constructor = tabType.GetConstructor(new Type[] {typeof(IServiceProvider)});
winforms\Managed\System\WinForms\SelectionRangeConverter.cs (1)
129
ConstructorInfo
ctor = typeof(SelectionRange).GetConstructor(new Type[] {
System.Windows.Forms.DataVisualization (2)
Common\General\Chart.cs (1)
448
ConstructorInfo
ci = selectArgsType.GetConstructor(new Type[] { });
Common\Utilities\XmlSerializer.cs (1)
757
ConstructorInfo
ci = null;
System.Workflow.Activities (24)
LocalService\ExternalDataExchangeService.cs (4)
157
ConstructorInfo
serviceProviderAndSettingsConstructor = null;
158
ConstructorInfo
serviceProviderConstructor = null;
159
ConstructorInfo
settingsConstructor = null;
161
foreach (
ConstructorInfo
ci in t.GetConstructors())
Rules\Design\Dialogs\IntellisenseTextBox.cs (2)
535
ConstructorInfo
ctorInfo = (
ConstructorInfo
)memberInfo;
Rules\Expressions.cs (1)
3045
ConstructorInfo
constructor = createExpressionInfo.ConstructorInfo;
Rules\Parser\Parser.cs (5)
2472
private
ConstructorInfo
ctor;
2476
internal CandidateConstructor(
ConstructorInfo
ctor, object[] ctorArgs, bool isExpandedMatch)
2562
private List<CandidateConstructor> GetCandidateConstructors(
ConstructorInfo
[] allCtors, List<CodeExpression> arguments)
2572
ConstructorInfo
ctor = allCtors[c];
2744
ConstructorInfo
[] ctors = type.GetConstructors(BindingFlags.Public | BindingFlags.Instance);
Rules\RuleValidation.cs (12)
148
private
ConstructorInfo
constructorInfo;
151
internal RuleConstructorExpressionInfo(
ConstructorInfo
ci, bool needsParamsExpansion)
158
internal
ConstructorInfo
ConstructorInfo
3160
List<
ConstructorInfo
> constructors = GetConstructors(candidateTypes, constructorBindingFlags);
3187
return new RuleConstructorExpressionInfo((
ConstructorInfo
)bestCandidate.Member, bestCandidate.IsExpanded);
3237
internal static List<
ConstructorInfo
> GetConstructors(List<Type> targetTypes, BindingFlags constructorBindingFlags)
3239
List<
ConstructorInfo
> methods = new List<
ConstructorInfo
>();
3246
ConstructorInfo
[] members = targetType.GetConstructors(constructorBindingFlags);
3249
ConstructorInfo
constructor = members[m];
3493
static List<CandidateMember> GetCandidateConstructors(List<
ConstructorInfo
> constructors, List<Argument> arguments, out ValidationError error)
3500
foreach (
ConstructorInfo
method in constructors)
System.Workflow.ComponentModel (37)
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (14)
27
private
ConstructorInfo
[] constructors = null;
376
public override
ConstructorInfo
[] GetConstructors(BindingFlags bindingAttr)
378
return GetMembersHelper<
ConstructorInfo
>(bindingAttr, ref this.constructors, false);
424
members.AddRange(GetMembersHelper<
ConstructorInfo
>(bindingAttr, new MemberSignature(name, null, null), ref this.constructors));
809
else if (type == typeof(
ConstructorInfo
))
897
else if (typeof(
ConstructorInfo
).IsAssignableFrom(type))
962
protected override
ConstructorInfo
GetConstructorImpl(BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers)
964
return GetMemberHelper<
ConstructorInfo
>(bindingAttr, new MemberSignature(null, types, null), ref this.constructors);
1048
else if ((type == typeof(
ConstructorInfo
)) && (this.constructors == null))
1127
private List<
ConstructorInfo
> GetCodeDomConstructors()
1129
List<
ConstructorInfo
> constructors = GetCodeDomMembers<
ConstructorInfo
>();
1139
ConstructorInfo
constructorInfo = new DesignTimeConstructorInfo(this, codeConstructor);
1188
else if ((memberInfoType == typeof(
ConstructorInfo
)) && ((member is CodeConstructor) || (member is CodeTypeConstructor)))
AuthoringOM\Compiler\TypeSystem\RTTypeWrapper.cs (14)
305
public override
ConstructorInfo
[] GetConstructors(BindingFlags bindingAttr)
307
List<
ConstructorInfo
> ctorInfos = new List<
ConstructorInfo
>();
308
foreach (
ConstructorInfo
ctorInfo in this.runtimeType.GetConstructors(bindingAttr))
462
else if (memberInfo is
ConstructorInfo
)
463
returnMemberInfo = EnsureConstructorWrapped(memberInfo as
ConstructorInfo
);
472
private
ConstructorInfo
EnsureConstructorWrapped(
ConstructorInfo
realInfo)
474
ConstructorInfo
wrapperInfo = (
ConstructorInfo
)this.memberMapping[realInfo];
670
protected override
ConstructorInfo
GetConstructorImpl(BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers)
672
foreach (
ConstructorInfo
ctorInfo in this.runtimeType.GetConstructors(bindingAttr))
801
private
ConstructorInfo
ctorInfo = null;
803
public RTConstructorInfoWrapper(RTTypeWrapper rtTypeWrapper,
ConstructorInfo
ctorInfo)
AuthoringOM\Compiler\XomlCompilerHelpers.cs (1)
91
ConstructorInfo
ctorMethod = type.GetConstructor(Type.EmptyTypes);
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (2)
711
ConstructorInfo
[] constructors = type.GetConstructors();
712
foreach (
ConstructorInfo
constructor in constructors)
AuthoringOM\Fault.cs (1)
74
ConstructorInfo
cInfo = this.FaultType.GetConstructor(new Type[] { });
AuthoringOM\Serializer\MarkupExtensionSerializer.cs (2)
52
ConstructorInfo
ctorInfo = instanceDescriptor.MemberInfo as
ConstructorInfo
;
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (3)
2565
ConstructorInfo
matchConstructor = null;
2566
ConstructorInfo
[] constructors = type.GetConstructors(BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly);
2568
foreach (
ConstructorInfo
ctor in constructors)
System.Workflow.Runtime (4)
WorkflowRuntime.cs (4)
1490
ConstructorInfo
serviceProviderAndSettingsConstructor = null;
1491
ConstructorInfo
serviceProviderConstructor = null;
1492
ConstructorInfo
settingsConstructor = null;
1494
foreach (
ConstructorInfo
ci in t.GetConstructors())
System.WorkflowServices (7)
System\ServiceModel\Configuration\PersistenceProviderElement.cs (1)
81
ConstructorInfo
cInfo = providerType.GetConstructor(new Type[] { typeof(NameValueCollection) });
System\Workflow\Activities\ContractType.cs (6)
22
private
ConstructorInfo
[] constructors = null;
216
public override
ConstructorInfo
[] GetConstructors(BindingFlags bindingAttr)
218
return GetMembersHelper<
ConstructorInfo
>(bindingAttr, ref this.constructors, false);
332
members.AddRange(GetMembersHelper<
ConstructorInfo
>(bindingAttr, new MemberSignature(name, null, null), ref this.constructors));
470
protected override
ConstructorInfo
GetConstructorImpl(BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers)
472
return GetMemberHelper<
ConstructorInfo
>(bindingAttr, new MemberSignature(null, types, null), ref this.constructors);
System.Xml (27)
System\Xml\Serialization\CodeGenerator.cs (5)
617
internal void Call(
ConstructorInfo
ctor) {
622
internal void New(
ConstructorInfo
constructorInfo) {
1088
ConstructorInfo
Decimal_ctor = typeof(Decimal).GetConstructor(
1103
ConstructorInfo
DateTime_ctor = typeof(DateTime).GetConstructor(
1118
ConstructorInfo
TimeSpan_ctor = typeof(TimeSpan).GetConstructor(
System\Xml\Serialization\Compilation.cs (4)
424
ConstructorInfo
SecurityTransparentAttribute_ctor = typeof(SecurityTransparentAttribute).GetConstructor(
431
ConstructorInfo
AllowPartiallyTrustedCallersAttribute_ctor = typeof(AllowPartiallyTrustedCallersAttribute).GetConstructor(
438
ConstructorInfo
SecurityRulesAttribute_ctor = typeof(SecurityRulesAttribute).GetConstructor(
448
ConstructorInfo
AssemblyVersionAttribute_ctor = typeof(AssemblyVersionAttribute).GetConstructor(
System\Xml\Serialization\Compiler.cs (1)
65
ConstructorInfo
[] ctors = type.GetConstructors();
System\Xml\Serialization\Types.cs (1)
1092
ConstructorInfo
ctor = type.GetConstructor(BindingFlags.Public | BindingFlags.Instance | BindingFlags.NonPublic, null, new Type[0], null);
System\Xml\Serialization\XmlSerializationILGen.cs (7)
155
ConstructorInfo
Hashtable_ctor = typeof(Hashtable).GetConstructor(
258
ConstructorInfo
readerCtor = CreatedTypes[readerClass].GetConstructor(
273
ConstructorInfo
writerCtor = CreatedTypes[writerClass].GetConstructor(
403
ConstructorInfo
ctor = CreatedTypes[(string)serializers[key]].GetConstructor(
442
ConstructorInfo
ctor = CreatedTypes[(string)serializers[xmlMappings[i].Key]].GetConstructor(
486
ConstructorInfo
ctor = CreatedTypes[readerType].GetConstructor(
525
ConstructorInfo
baseCtor = typeof(XmlSerializerImplementation).GetConstructor(
System\Xml\Serialization\XmlSerializationReaderILGen.cs (4)
1000
ConstructorInfo
Hashtable_ctor = typeof(Hashtable).GetConstructor(
1463
ConstructorInfo
XmlQualifiedName_ctor = typeof(XmlQualifiedName).GetConstructor(
1946
ConstructorInfo
ctor = xmlnsMember.Mapping.TypeDesc.Type.GetConstructor(
3102
ConstructorInfo
TimeSpan_ctor = typeof(TimeSpan).GetConstructor(
System\Xml\Serialization\XmlSerializationWriterILGen.cs (4)
228
ConstructorInfo
XmlQualifiedName_ctor = typeof(XmlQualifiedName).GetConstructor(
1149
ConstructorInfo
StringBuilder_ctor = typeof(StringBuilder).GetConstructor(
2291
ConstructorInfo
ctor = type.GetConstructor(
2331
ConstructorInfo
XElement_ctor = type.GetConstructor(
System\Xml\Xslt\XslCompiledTransform.cs (1)
215
private static volatile
ConstructorInfo
GeneratedCodeCtor;
WindowsBase (2)
Base\MS\Internal\Interop\ErrorCodes.cs (1)
464
ConstructorInfo
cons = e.GetType().GetConstructor(new[] { typeof(string) });
Shared\System\Windows\Markup\ReflectionHelper.cs (1)
297
ConstructorInfo
cinfo = cad.Constructor;