55 references to CreateInstance
mscorlib (10)
system\activator.cs (1)
43internal const BindingFlags ConstructorDefault= BindingFlags.Instance | BindingFlags.Public | BindingFlags.CreateInstance;
system\resources\manifestbasedresourcegroveler.cs (1)
372BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.CreateInstance,
system\rttype.cs (4)
2551(BindingFlags.InvokeMethod | BindingFlags.CreateInstance | BindingFlags.GetProperty | BindingFlags.SetProperty)) == 0) 4530if ((bindingFlags & BindingFlags.CreateInstance) == 0) 4620if ((bindingFlags & BindingFlags.CreateInstance) != 0) 4622if ((bindingFlags & BindingFlags.CreateInstance) != 0 && (bindingFlags & BinderNonCreateInstance) != 0)
system\runtime\remoting\configuration.cs (3)
506BindingFlags.Instance | BindingFlags.Public | BindingFlags.CreateInstance, 641BindingFlags.Instance | BindingFlags.Public | BindingFlags.CreateInstance, 1089BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.CreateInstance,
system\runtime\remoting\message.cs (1)
4402BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.CreateInstance,
PresentationBuildTasks (3)
BuildTasks\Ms\Internal\MarkupCompiler\ParserExtension.cs (1)
84BindingFlags.NonPublic | BindingFlags.CreateInstance,
BuildTasks\MS\Internal\Tasks\TaskHelper.cs (1)
381BindingFlags bf = BindingFlags.Public | BindingFlags.InvokeMethod | BindingFlags.CreateInstance | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.SetProperty;
Framework\System\Windows\Markup\XamlTypeMapper.cs (1)
3338BindingFlags.Instance | BindingFlags.CreateInstance | BindingFlags.Public,
PresentationFramework (3)
src\Framework\MS\Internal\Data\ViewManager.cs (1)
596System.Reflection.BindingFlags.CreateInstance, null,
src\Framework\System\Windows\Markup\XamlTypeMapper.cs (2)
2871BindingFlags.CreateInstance, 3338BindingFlags.Instance | BindingFlags.CreateInstance | BindingFlags.Public,
System (8)
compmod\system\componentmodel\BindingList.cs (1)
93if (itemType.GetConstructor(BindingFlags.Public | BindingFlags.Instance | BindingFlags.CreateInstance, null, new Type[0], null) != null) {
compmod\system\security\permissions\ResourcePermissionBase.cs (1)
194return (ResourcePermissionBase)Activator.CreateInstance(this.GetType(), BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.CreateInstance, null, null, null);
misc\SecurityUtils.cs (1)
108BindingFlags flags = BindingFlags.Instance | BindingFlags.Public | BindingFlags.CreateInstance;
net\System\Net\_AuthenticationManager2.cs (1)
333BindingFlags.CreateInstance
net\System\Net\_AuthenticationManagerDefault.cs (1)
114BindingFlags.CreateInstance
net\System\Net\_AutoWebProxyScriptWrapper.cs (1)
550BindingFlags.CreateInstance | BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.InvokeMethod,
net\System\Net\Configuration\DefaultProxySection.cs (1)
200BindingFlags.CreateInstance
net\System\Net\Internal.cs (1)
1616BindingFlags.CreateInstance
System.Data.Entity (5)
System\Data\Common\EntityUtil.cs (1)
201const BindingFlags constructorBinding = BindingFlags.Public | BindingFlags.Instance | BindingFlags.CreateInstance;
System\Data\Common\Internal\Materialization\Translator.cs (2)
768ConstructorInfo ci = genericType.GetConstructor(BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.CreateInstance, null, 794ConstructorInfo ci = genericType.GetConstructor(BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.CreateInstance, null,
System\Data\Metadata\Edm\LightweightCodeGenerator.cs (1)
153ConstructorInfo ci = type.GetConstructor(BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance | BindingFlags.CreateInstance, null, System.Type.EmptyTypes, null);
System\Data\Objects\Internal\EntityProxyFactory.cs (1)
568ConstructorInfo ctor = ospaceEntityType.ClrType.GetConstructor(BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance | BindingFlags.CreateInstance, null, Type.EmptyTypes, null);
System.Data.Linq (1)
parent\parent\misc\SecurityUtils.cs (1)
108BindingFlags flags = BindingFlags.Instance | BindingFlags.Public | BindingFlags.CreateInstance;
System.Data.Services.Client (1)
System\Data\Services\Client\QueryResponse.cs (1)
141BindingFlags.CreateInstance | BindingFlags.NonPublic | BindingFlags.Instance,
System.Data.SqlXml (2)
System\Xml\Xsl\XsltOld\Compiler.cs (1)
731lang == ScriptingLanguage.JScript ? (CodeDomProvider) Activator.CreateInstance(Type.GetType("Microsoft.JScript.JScriptCodeProvider, " + AssemblyRef.MicrosoftJScript), BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.CreateInstance, null, null, null) :
System\Xml\Xsl\XsltOld\Processor.cs (1)
340BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.CreateInstance, null, null, null));
System.Drawing (1)
commonui\System\Drawing\Printing\PrintDocument.cs (1)
145BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.CreateInstance,
System.IdentityModel (1)
System\IdentityModel\Configuration\TypeResolveHelper.cs (1)
52BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.CreateInstance,
System.Runtime.Caching (1)
System\Caching\SRef.cs (1)
19BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.CreateInstance,
System.ServiceModel (2)
System\ServiceModel\Description\MetadataSet.cs (1)
589o.@Metadata = (global::System.ServiceModel.Description.MetadataReference)ReadSerializable((System.Xml.Serialization.IXmlSerializable)System.Activator.CreateInstance(typeof(global::System.ServiceModel.Description.MetadataReference), System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.CreateInstance | System.Reflection.BindingFlags.NonPublic, null, new object[0], null));
System\ServiceModel\Dispatcher\OperationFormatter.cs (1)
158BindingFlags bindingFlags = BindingFlags.Instance | BindingFlags.Public | BindingFlags.CreateInstance | BindingFlags.NonPublic;
System.ServiceModel.Activation (1)
System\ServiceModel\ServiceHostingEnvironment.cs (1)
1989BindingFlags.CreateInstance | BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance,
System.Web (2)
HttpRuntime.cs (1)
3416BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.CreateInstance,
parent\parent\parent\Misc\SecurityUtils.cs (1)
108BindingFlags flags = BindingFlags.Instance | BindingFlags.Public | BindingFlags.CreateInstance;
System.Web.ApplicationServices (1)
Hosting\CustomLoaderHelper.cs (1)
70bindingAttr: BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.CreateInstance | BindingFlags.Instance,
System.Web.Entity (2)
System\Data\WebControls\EntityDataSourceUtil.cs (1)
249ConstructorInfo constructorInfo = type.GetConstructor(BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance | BindingFlags.CreateInstance, null, System.Type.EmptyTypes, null);
System\Data\WebControls\EntityDataSourceView.cs (1)
1130BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance | BindingFlags.CreateInstance,
System.Windows.Forms (3)
misc\SecurityUtils.cs (1)
108BindingFlags flags = BindingFlags.Instance | BindingFlags.Public | BindingFlags.CreateInstance;
winforms\Managed\System\Resources\ResXFileRef.cs (1)
325created = Activator.CreateInstance(toCreate, BindingFlags.Instance | BindingFlags.Public | BindingFlags.CreateInstance, null, new Object[] {memStream}, null);
winforms\Managed\System\WinForms\BindingSource.cs (1)
1343BindingFlags.CreateInstance,
System.Workflow.Activities (3)
Rules\Expressions.cs (2)
1592Array paramsArray = (Array)arrayType.InvokeMember(arrayType.Name, BindingFlags.CreateInstance, null, null, new object[] { actualArgCount - i }, CultureInfo.CurrentCulture); 2543Array paramsArray = (Array)arrayType.InvokeMember(arrayType.Name, BindingFlags.CreateInstance, null, null, new object[] { actualArgCount - i }, CultureInfo.CurrentCulture);
Rules\Parser\Parser.cs (1)
2658Array paramsArgs = (Array)paramType.InvokeMember(paramType.Name, BindingFlags.CreateInstance, null, null, new object[] { numArgs - fixedParameterCount }, CultureInfo.CurrentCulture);
System.Workflow.ComponentModel (1)
AuthoringOM\Design\ActivityDesigner.cs (1)
2029designer = Activator.CreateInstance(designerType, BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.CreateInstance, null, null, null) as IDesigner;
System.Xaml.Hosting (2)
System\Xaml\Hosting\XamlBuildProvider.cs (1)
162BindingFlags.CreateInstance | BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance,
System\Xaml\Hosting\XamlHttpHandlerFactory.cs (1)
51BindingFlags.CreateInstance | BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance,
System.Xml (1)
System\Xml\Serialization\XmlSerializationWriterILGen.cs (1)
2346BindingFlags bindingFlags = BindingFlags.Instance | BindingFlags.Public | BindingFlags.CreateInstance;
WindowsBase (1)
Base\System\Windows\Markup\TypeConverterHelper.cs (1)
472BindingFlags.Instance | BindingFlags.CreateInstance | BindingFlags.Public,