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