118 references to EmptyTypes
Microsoft.Activities.Build (1)
Microsoft\Activities\Build\Utilities.cs (1)
29
ConstructorInfo defaultConstructor = type.GetConstructor(Type.
EmptyTypes
);
mscorlib (10)
system\reflection\assembly.cs (1)
1293
ConstructorInfo ctor = invocableAttribute.GetConstructor(Type.
EmptyTypes
);
system\reflection\customattribute.cs (1)
1785
property = attributeType.GetProperty(name, type, Type.
EmptyTypes
) as RuntimePropertyInfo;
system\reflection\emit\dynamicmethod.cs (1)
303
ConstructorInfo transparencyCtor = typeof(SecurityTransparentAttribute).GetConstructor(Type.
EmptyTypes
);
system\reflection\emit\ilgenerator.cs (1)
1173
ConstructorInfo con = excType.GetConstructor(Type.
EmptyTypes
);
system\reflection\emit\typebuilder.cs (3)
1817
BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, Type.
EmptyTypes
, null));
1820
BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, Type.
EmptyTypes
, null);
1825
con = m_typeParent.GetConstructor(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, Type.
EmptyTypes
, null);
system\reflection\typeinfo.cs (1)
47
return Type.
EmptyTypes
;
system\type.cs (2)
464
Type.
EmptyTypes
,
1355
return Type.
EmptyTypes
;
PresentationBuildTasks (3)
Framework\System\Windows\Markup\XamlReaderHelper.cs (3)
3023
parentType.GetConstructor(Type.
EmptyTypes
) == null ||
3298
parentType.GetConstructor(Type.
EmptyTypes
) == null ||
4412
ParentContext.ContextDataType.GetConstructor(Type.
EmptyTypes
) == null))
PresentationFramework (4)
src\Framework\System\Windows\Data\ListCollectionView.cs (1)
707
_itemConstructor = itemType.GetConstructor(Type.
EmptyTypes
);
src\Shared\MS\Internal\WindowsRuntime\ReflectionHelper.cs (3)
63
method = type.GetMethod(methodName, Type.
EmptyTypes
);
146
method = obj.GetType().GetMethod(methodName, Type.
EmptyTypes
);
309
ConstructorInfo constructor = type.GetConstructor(Type.
EmptyTypes
);
System (1)
regex\system\text\regularexpressions\RegexCompiler.cs (1)
3088
ConstructorInfo transparencyCtor = typeof(SecurityTransparentAttribute).GetConstructor(Type.
EmptyTypes
);
System.Activities (1)
System\Activities\Debugger\StateManager.cs (1)
696
Type.
EmptyTypes
);
System.Activities.Presentation (6)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ImportAttributeInfo.cs (1)
51
return typeof(ImportAttribute).GetConstructor(Type.
EmptyTypes
);
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ImportManyAttributeInfo.cs (1)
54
return typeof(ImportManyAttribute).GetConstructor(Type.
EmptyTypes
);
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\Toolbox\ToolboxItemWrapper.cs (1)
363
ConstructorInfo ctor = toolType.GetConstructor(Type.
EmptyTypes
);
System.Activities.Presentation\System\Activities\Presentation\TypeUtilities.cs (1)
75
return type.IsValueType || (!type.IsAbstract && type.GetConstructor(Type.
EmptyTypes
) != null);
System.Activities.Presentation\System\Activities\Presentation\View\ExpressionTextBox.xaml.cs (1)
648
if (expressionEditorType.GetConstructor(System.Type.
EmptyTypes
) == null)
System.Configuration (1)
System\Configuration\TypeUtil.cs (1)
212
ConstructorInfo ctor = type.GetConstructor(bindingFlags, null, CallingConventions.HasThis, Type.
EmptyTypes
, null);
System.Core (6)
Microsoft\Scripting\Ast\ExpressionStringBuilder.cs (1)
780
var toString = node.GetType().GetMethod("ToString", flags, null, Type.
EmptyTypes
, null);
Microsoft\Scripting\Ast\NewExpression.cs (1)
216
ci = type.GetConstructor(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, System.Type.
EmptyTypes
, null);
Microsoft\Scripting\Compiler\AssemblyGen.cs (1)
69
new CustomAttributeBuilder(typeof(SecurityTransparentAttribute).GetConstructor(Type.
EmptyTypes
), new object[0])
Microsoft\Scripting\Compiler\CompilerScope.cs (2)
208
lc.IL.Emit(OpCodes.Call, typeof(RuntimeOps).GetMethod("CreateRuntimeVariables", Type.
EmptyTypes
));
330
lc.IL.Emit(OpCodes.Newobj, boxType.GetConstructor(Type.
EmptyTypes
));
Microsoft\Scripting\Compiler\ILGen.cs (1)
881
MethodInfo mi = nullableType.GetMethod("GetValueOrDefault", System.Type.
EmptyTypes
);
System.Data (6)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ImportAttributeInfo.cs (1)
51
return typeof(ImportAttribute).GetConstructor(Type.
EmptyTypes
);
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ImportManyAttributeInfo.cs (1)
54
return typeof(ImportManyAttribute).GetConstructor(Type.
EmptyTypes
);
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\Toolbox\ToolboxItemWrapper.cs (1)
363
ConstructorInfo ctor = toolType.GetConstructor(Type.
EmptyTypes
);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\TypeUtilities.cs (1)
75
return type.IsValueType || (!type.IsAbstract && type.GetConstructor(Type.
EmptyTypes
) != null);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ExpressionTextBox.xaml.cs (1)
648
if (expressionEditorType.GetConstructor(System.Type.
EmptyTypes
) == null)
System.Data.Entity (20)
System\Data\Common\EntityUtil.cs (1)
212
requestedType.GetConstructor(constructorBinding, null, System.Type.
EmptyTypes
, null) != null)
System\Data\Metadata\Edm\LightweightCodeGenerator.cs (2)
153
ConstructorInfo ci = type.GetConstructor(BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance | BindingFlags.CreateInstance, null, System.Type.
EmptyTypes
, null);
171
DynamicMethod method = CreateDynamicMethod(ci.DeclaringType.Name, typeof(object), Type.
EmptyTypes
);
System\Data\Objects\ELinq\MethodCallTranslator.cs (1)
960
typeof(Guid).GetMethod("NewGuid", BindingFlags.Public | BindingFlags.Static, null, Type.
EmptyTypes
, null),
System\Data\Objects\Internal\EntityProxyFactory.cs (13)
74
ConstructorInfo securityTransparentAttributeConstructor = typeof(SecurityTransparentAttribute).GetConstructor(Type.
EmptyTypes
);
568
ConstructorInfo ctor = ospaceEntityType.ClrType.GetConstructor(BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance | BindingFlags.CreateInstance, null, Type.
EmptyTypes
, null);
675
PropertyBuilder propertyBuilder = TypeBuilder.DefineProperty(member.Name, System.Reflection.PropertyAttributes.None, baseProperty.PropertyType, Type.
EmptyTypes
);
743
MethodBuilder getterBuilder = typeBuilder.DefineMethod("get_" + baseProperty.Name, getterAccess | getterAttributes, baseProperty.PropertyType, Type.
EmptyTypes
);
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
);
893
MethodBuilder getterBuilder = typeBuilder.DefineMethod("get_" + baseProperty.Name, getterAccess | getterAttributes, baseProperty.PropertyType, Type.
EmptyTypes
);
980
static readonly ConstructorInfo s_InvalidOperationConstructor = typeof(InvalidOperationException).GetConstructor(Type.
EmptyTypes
);
1449
PropertyBuilder relationshipManagerProperty = typeBuilder.DefineProperty("RelationshipManager", System.Reflection.PropertyAttributes.None, typeof(RelationshipManager), Type.
EmptyTypes
);
1453
typeof(RelationshipManager), Type.
EmptyTypes
);
1515
private static readonly ConstructorInfo s_DataContractAttributeConstructor = typeof(DataContractAttribute).GetConstructor(Type.
EmptyTypes
);
System\Data\Query\InternalTrees\ColumnMapFactory.cs (1)
136
null, Type.
EmptyTypes
, null);
System\Data\SqlClient\SqlTypesAssembly.cs (2)
42
return Expression.Call(exp, methodName, Type.
EmptyTypes
);
173
MethodInfo asTextMethod = this.SqlGeometryType.GetMethod("STAsText", BindingFlags.Public | BindingFlags.Instance, null, Type.
EmptyTypes
, null);
System.Data.Linq (13)
EntitySetDataBindingList.cs (1)
34
if (type.GetConstructor(System.Type.
EmptyTypes
) == null) {
Mapping\AttributedMetaModel.cs (1)
577
Type.
EmptyTypes
,
Mapping\MappedMetaModel.cs (1)
614
Type.
EmptyTypes
,
SqlClient\Query\QueryConverter.cs (1)
2418
ConstructorInfo cons = itemMetaType.Type.GetConstructor(Type.
EmptyTypes
);
SqlClient\Query\SqlMethodCallConverter.cs (1)
2487
Expression.Call(typeof(SqlHelpers), "TranslateVBLikePattern", Type.
EmptyTypes
, cp.Accessor.Body, Expression.Constant('~')),
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 (7)
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
);
1510
MethodInfo miRead = orbType.GetMethod("Read", BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, Type.
EmptyTypes
, null);
1717
ConstructorInfo ci = expectedType.GetConstructor(System.Type.
EmptyTypes
);
1755
expectedType.GetConstructor(System.Type.
EmptyTypes
) != null &&
2152
MethodInfo mi = nullableType.GetMethod("GetValueOrDefault", System.Type.
EmptyTypes
);
System.Data.Services (7)
System\Data\Services\Parsing\FunctionDescription.cs (5)
226
result.Add("tolower", new FunctionDescription[] { StringInstanceFunction("ToLower", Type.
EmptyTypes
) });
227
result.Add("toupper", new FunctionDescription[] { StringInstanceFunction("ToUpper", Type.
EmptyTypes
) });
228
result.Add("trim", new FunctionDescription[] { StringInstanceFunction("Trim", Type.
EmptyTypes
) });
251
CreateFunctionDescription(typeof(string), true /* instance */, false /* method */, "Length", Type.
EmptyTypes
)
518
CreateFunctionDescription(typeof(DateTime), true /* instance */, false /* method */, name, Type.
EmptyTypes
)
System\Data\Services\WebUtil.cs (2)
582
ConstructorInfo emptyConstructor = type.GetConstructor(Type.
EmptyTypes
);
589
System.Reflection.Emit.DynamicMethod method = new System.Reflection.Emit.DynamicMethod("invoke_constructor", targetType, Type.
EmptyTypes
, false);
System.Data.Services.Client (3)
System\Data\Services\Client\ALinq\TypeSystem.cs (3)
57
expressionMethodMap.Add(typeof(string).GetMethod("ToLower", Type.
EmptyTypes
), @"tolower");
58
expressionMethodMap.Add(typeof(string).GetMethod("ToUpper", Type.
EmptyTypes
), @"toupper");
59
expressionMethodMap.Add(typeof(string).GetMethod("Trim", Type.
EmptyTypes
), @"trim");
System.Data.SqlXml (1)
System\Xml\Xsl\Runtime\EarlyBoundInfo.cs (1)
26
this.constrInfo = ebType.GetConstructor(Type.
EmptyTypes
);
System.ServiceModel (5)
System\ServiceModel\Channels\HttpMessageHandlerFactory.cs (2)
76
ConstructorInfo ctorInfo = handler.GetConstructor(Type.
EmptyTypes
);
267
instances[cnt] = (DelegatingHandler)this.handlerCtors[cnt].Invoke(Type.
EmptyTypes
);
System\ServiceModel\Description\ServiceDescription.cs (1)
147
TypeLoader.DefaultBindingFlags, null, Type.
EmptyTypes
, null);
System\ServiceModel\Dispatcher\InstanceBehavior.cs (1)
207
return type.GetConstructor(DefaultBindingFlags, null, Type.
EmptyTypes
, null);
System\ServiceModel\Dispatcher\TaskMethodInvoker.cs (1)
156
returnVal = this.isGenericTask ? this.taskTResultGetMethod.Invoke(task, Type.
EmptyTypes
) : null;
System.Web (7)
Compilation\BaseCodeDomTreeGenerator.cs (1)
371
if (Parser.BaseType.GetConstructor(Type.
EmptyTypes
) != null) {
Compilation\BuildManager.cs (1)
978
types: Type.
EmptyTypes
,
UI\TargetFrameworkUtil.cs (2)
173
types = Type.
EmptyTypes
;
176
if (SkipCache || returnType != null || types != Type.
EmptyTypes
) {
Util\FactoryGenerator.cs (2)
101
ConstructorInfo constructor = type.GetConstructor(Type.
EmptyTypes
);
163
ConstructorInfo cons = type.GetConstructor(Type.
EmptyTypes
);
Util\FastPropertyAccessor.cs (1)
150
ConstructorInfo cons = typeof(InvalidOperationException).GetConstructor(Type.
EmptyTypes
);
System.Web.DataVisualization (2)
Common\Utilities\XmlSerializer.cs (2)
842
ci = itemType.GetConstructor(Type.
EmptyTypes
);
846
ci = pi.PropertyType.GetConstructor(Type.
EmptyTypes
);
System.Web.Entity (3)
System\Data\WebControls\EntityDataSourceUtil.cs (2)
249
ConstructorInfo constructorInfo = type.GetConstructor(BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance | BindingFlags.CreateInstance, null, System.Type.
EmptyTypes
, null);
264
PropertyInfo propertyInfo = type.GetProperty(name, BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance, null, null, Type.
EmptyTypes
, null);
System\Data\WebControls\EntityDataSourceView.cs (1)
1131
null, System.Type.
EmptyTypes
, null);
System.Web.Extensions (4)
UI\WebControls\Dynamic.cs (2)
343
dp.Type, Type.
EmptyTypes
);
402
typeof(int), Type.
EmptyTypes
);
UI\WebControls\Expressions\SearchExpression.cs (2)
84
return Expression.Call(property, SearchType.ToString(), Type.
EmptyTypes
, Expression.Constant(query, property.Type));
86
return Expression.Call(property, SearchType.ToString(), Type.
EmptyTypes
, Expression.Constant(query, property.Type), Expression.Constant(ComparisonType));
System.Windows.Forms.DataVisualization (2)
Common\Utilities\XmlSerializer.cs (2)
842
ci = itemType.GetConstructor(Type.
EmptyTypes
);
846
ci = pi.PropertyType.GetConstructor(Type.
EmptyTypes
);
System.Workflow.ComponentModel (5)
AuthoringOM\Compiler\XomlCompilerHelpers.cs (2)
91
ConstructorInfo ctorMethod = type.GetConstructor(Type.
EmptyTypes
);
110
MethodInfo initializeComponent = type.GetMethod("InitializeComponent", BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance, null, Type.
EmptyTypes
, null);
AuthoringOM\Serializer\DictionarySurrogate.cs (1)
79
this.dictionary = dictionaryType.GetConstructor(Type.
EmptyTypes
).Invoke(null);
AuthoringOM\Serializer\GenericQueueSurrogate.cs (1)
56
this.queue = queueType.GetConstructor(Type.
EmptyTypes
).Invoke(null);
AuthoringOM\Serializer\ListSurrogate.cs (1)
57
this.list = listType.GetConstructor(Type.
EmptyTypes
).Invoke(null);
System.Workflow.Runtime (3)
Hosting\DefaultWorkflowLoaderService.cs (1)
35
if (workflowType.GetConstructor(System.Type.
EmptyTypes
) == null)
System\Activities\Statements\Interop.cs (2)
94
&& value.GetConstructor(Type.
EmptyTypes
) != null)
301
if (this.ActivityType.GetConstructor(Type.
EmptyTypes
) == null)
System.WorkflowServices (3)
System\Workflow\Activities\ContractType.cs (3)
30
private Type[] nestedTypes = Type.
EmptyTypes
;
316
return Type.
EmptyTypes
;
387
return Type.
EmptyTypes
;
WindowsBase (1)
Base\MS\Internal\ComponentModel\DependencyObjectPropertyDescriptor.cs (1)
619
types = Type.
EmptyTypes
;