7 overrides of IsGenericTypeDefinition
mscorlib (4)
system\reflection\emit\generictypeparameterbuilder.cs (1)
179public override bool IsGenericTypeDefinition { get { return false; } }
system\reflection\emit\typebuilder.cs (1)
1606public override bool IsGenericTypeDefinition { get { return IsGenericType; } }
system\reflection\emit\typebuilderinstantiation.cs (1)
203public override bool IsGenericTypeDefinition { get { return false; } }
system\rttype.cs (1)
4254public override bool IsGenericTypeDefinition
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
1099public override bool IsGenericTypeDefinition { get { return _baseReflectionType.IsGenericTypeDefinition; } }
System.Data (1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
1099public override bool IsGenericTypeDefinition { get { return _baseReflectionType.IsGenericTypeDefinition; } }
System.Workflow.ComponentModel (1)
AuthoringOM\Compiler\TypeSystem\RTTypeWrapper.cs (1)
507public override bool IsGenericTypeDefinition
95 references to IsGenericTypeDefinition
mscorlib (18)
system\nullable.cs (1)
138if( nullableType.IsGenericType && !nullableType.IsGenericTypeDefinition) {
system\reflection\emit\aqnbuilder.cs (2)
107if (!type.IsGenericTypeDefinition && type.ContainsGenericParameters) 175if (rootType.IsGenericType && (!rootType.IsGenericTypeDefinition || format == Format.ToString))
system\reflection\emit\ilgenerator.cs (1)
732if (opcode == OpCodes.Ldtoken && cls != null && cls.IsGenericTypeDefinition)
system\reflection\emit\modulebuilder.cs (2)
497Contract.Assert(!type.IsGenericType || type.IsGenericTypeDefinition, "Must not have generic arguments."); 1712if ((type.IsGenericType && (!type.IsGenericTypeDefinition || !getGenericDefinition)) ||
system\reflection\emit\signaturehelper.cs (1)
376else if (clsArgument.IsGenericType && (!clsArgument.IsGenericTypeDefinition || !lastWasGenericInst))
system\reflection\emit\typebuilder.cs (6)
112if (method.DeclaringType == null || !method.DeclaringType.IsGenericTypeDefinition) 122if (type.IsGenericTypeDefinition) 135if (!constructor.DeclaringType.IsGenericTypeDefinition) 143if (type is TypeBuilder && type.IsGenericTypeDefinition) 156if (!field.DeclaringType.IsGenericTypeDefinition) 164if (type is TypeBuilder && type.IsGenericTypeDefinition)
system\reflection\emit\typebuilderinstantiation.cs (1)
29if (!type.IsGenericTypeDefinition)
system\reflection\typeinfo.cs (1)
43if(IsGenericTypeDefinition){
system\rttype.cs (1)
1685if (!m_runtimeType.GetRootElementType().IsGenericTypeDefinition && m_runtimeType.ContainsGenericParameters)
system\type.cs (2)
998if (IsGenericType && !IsGenericTypeDefinition) 1351if(IsGenericType && !IsGenericTypeDefinition){
PresentationBuildTasks (3)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (3)
2253Debug.Assert(genericName.Length > 0 || t.IsGenericTypeDefinition); 2325if (refType == null || !refType.IsGenericType || !refType.IsGenericTypeDefinition || typeArgsList == null) 2408Debug.Assert(_typeArgsList == null || (baseClass.IsGenericType && baseClass.IsGenericTypeDefinition));
System (1)
compmod\system\codedom\CodeTypeReference.cs (1)
113else if (!type.IsGenericTypeDefinition)
System.Activities (3)
System\Activities\ActivityUtilities.cs (1)
513Fx.Assert(!sourceType.IsGenericTypeDefinition, "we have an actual object, so we should never have a generic type definition");
System\Activities\DynamicUpdate\ArgumentInfo.cs (1)
302if (type.IsGenericType && !type.IsGenericTypeDefinition)
System\Activities\XamlIntegration\ActivityXamlServices.cs (1)
508if (schemaContextType.IsGenericType || schemaContextType.IsGenericTypeDefinition)
System.Activities.Presentation (17)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (4)
180if (t.IsGenericTypeDefinition 551if (objectType.IsGenericType && !objectType.IsGenericTypeDefinition) 1099public override bool IsGenericTypeDefinition { get { return _baseReflectionType.IsGenericTypeDefinition; } } 1570if (type.IsGenericType && !type.IsGenericTypeDefinition && !string.IsNullOrEmpty(memberName))
System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (3)
256else if (allowedItemType.IsGenericTypeDefinition && draggedType.IsGenericType) 261else if (allowedItemType.IsGenericType && draggedType.IsGenericTypeDefinition) 403if (type.IsGenericTypeDefinition)
System.Activities.Presentation\System\Activities\Presentation\Metadata\ActivityArgumentHelper.cs (1)
56if (!argumentAccessorsGeneratorFound && activityType.IsGenericType && !activityType.IsGenericTypeDefinition)
System.Activities.Presentation\System\Activities\Presentation\Model\ModelSearchServiceImpl.cs (1)
446if (converterType.IsGenericTypeDefinition)
System.Activities.Presentation\System\Activities\Presentation\TypeUtilities.cs (1)
80if (!parentObjectType.IsGenericTypeDefinition)
System.Activities.Presentation\System\Activities\Presentation\Validation\ValidationService.cs (1)
958else if (typeOfActivityWithValidationError.IsGenericType && !typeOfActivityWithValidationError.IsGenericTypeDefinition)
System.Activities.Presentation\System\Activities\Presentation\View\ActivityTypeResolver.xaml.cs (1)
156if (null != this.EditedType && this.EditedType.IsGenericTypeDefinition)
System.Activities.Presentation\System\Activities\Presentation\View\TypeBrowser.xaml.cs (2)
244if (result.IsGenericTypeDefinition) 416if (this.SelectedType.IsGenericTypeDefinition)
System.Activities.Presentation\System\Activities\Presentation\View\TypeKeyValue.cs (2)
148if (this.targetType.IsGenericTypeDefinition) 175if (null != this.targetType && this.targetType.IsGenericTypeDefinition)
System.Activities.Presentation\System\Activities\Presentation\View\TypePresenter.xaml.cs (1)
634if (result.IsGenericTypeDefinition)
System.Core (1)
Microsoft\Scripting\Ast\TypeUtils.cs (1)
609if (type.IsGenericTypeDefinition) {
System.Data (17)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (4)
180if (t.IsGenericTypeDefinition 551if (objectType.IsGenericType && !objectType.IsGenericTypeDefinition) 1099public override bool IsGenericTypeDefinition { get { return _baseReflectionType.IsGenericTypeDefinition; } } 1570if (type.IsGenericType && !type.IsGenericTypeDefinition && !string.IsNullOrEmpty(memberName))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (3)
256else if (allowedItemType.IsGenericTypeDefinition && draggedType.IsGenericType) 261else if (allowedItemType.IsGenericType && draggedType.IsGenericTypeDefinition) 403if (type.IsGenericTypeDefinition)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Metadata\ActivityArgumentHelper.cs (1)
56if (!argumentAccessorsGeneratorFound && activityType.IsGenericType && !activityType.IsGenericTypeDefinition)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelSearchServiceImpl.cs (1)
446if (converterType.IsGenericTypeDefinition)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\TypeUtilities.cs (1)
80if (!parentObjectType.IsGenericTypeDefinition)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Validation\ValidationService.cs (1)
958else if (typeOfActivityWithValidationError.IsGenericType && !typeOfActivityWithValidationError.IsGenericTypeDefinition)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ActivityTypeResolver.xaml.cs (1)
156if (null != this.EditedType && this.EditedType.IsGenericTypeDefinition)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TypeBrowser.xaml.cs (2)
244if (result.IsGenericTypeDefinition) 416if (this.SelectedType.IsGenericTypeDefinition)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TypeKeyValue.cs (2)
148if (this.targetType.IsGenericTypeDefinition) 175if (null != this.targetType && this.targetType.IsGenericTypeDefinition)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TypePresenter.xaml.cs (1)
634if (result.IsGenericTypeDefinition)
System.Data.DataSetExtensions (1)
System\Data\DataRowExtensions.cs (1)
206if (type.IsGenericType && !type.IsGenericTypeDefinition && (typeof(Nullable<>) == type.GetGenericTypeDefinition()))
System.Data.Entity (1)
System\Data\Objects\ELinq\TypeSystem.cs (1)
211if (null == test || null == match || !match.IsInterface || !match.IsGenericTypeDefinition || null == test.DeclaringType)
System.Data.Services (1)
System\Data\Services\Providers\BaseServiceProvider.cs (1)
476Debug.Assert(!type.IsGenericTypeDefinition, "!type.IsGenericTypeDefinition");
System.Data.Services.Client (1)
System\Data\Services\Client\ClientType.cs (1)
600Debug.Assert(genericTypeDefinition.IsGenericTypeDefinition, "!IsGenericTypeDefinition");
System.Runtime.Serialization (10)
System\Runtime\Serialization\ClassDataContract.cs (1)
1412if (type.IsGenericTypeDefinition)
System\Runtime\Serialization\CodeExporter.cs (1)
544&& !type.IsGenericTypeDefinition && !type.ContainsGenericParameters)
System\Runtime\Serialization\CollectionDataContract.cs (1)
1092bool isOpenGeneric = knownInterfaceType.IsGenericTypeDefinition
System\Runtime\Serialization\Configuration\TypeElement.cs (1)
102if (t.IsGenericTypeDefinition)
System\Runtime\Serialization\DataContract.cs (4)
1458if (type.IsGenericType && !type.IsGenericTypeDefinition) 1571if (type.IsGenericType && !type.IsGenericTypeDefinition) 1668bool isTypeOpenGeneric = type.IsGenericTypeDefinition; 1789return !type.IsGenericTypeDefinition && type.ContainsGenericParameters ? String.Format(CultureInfo.InvariantCulture, "{0}.{1}", type.Namespace, type.Name) : type.FullName;
System\Runtime\Serialization\DataContractSet.cs (2)
470containsGenericType = conflictingType.IsGenericTypeDefinition; 506(Globals.TypeOfIXmlSerializable.IsAssignableFrom(type) && !type.IsGenericTypeDefinition) ||
System.Web (5)
ModelBinding\CollectionModelBinderUtil.cs (1)
78if (!modelMetadata.ModelType.IsGenericType || modelMetadata.ModelType.IsGenericTypeDefinition) {
ModelBinding\GenericModelBinderProvider.cs (3)
37bool modelBinderTypeIsOpenGeneric = modelBinderType.IsGenericTypeDefinition; 95if (!modelType.IsGenericTypeDefinition) { 102if (modelBinderType.IsGenericTypeDefinition) {
ModelBinding\ModelBinderProviderCollection.cs (1)
121Type closedBinderType = (attr.BinderType.IsGenericTypeDefinition) ? attr.BinderType.MakeGenericType(modelType.GetGenericArguments()) : attr.BinderType;
System.Web.Extensions (2)
Script\Services\ServicesUtilities.cs (2)
82if (!type.IsGenericTypeDefinition) { 100if (type.IsGenericType && !type.IsGenericTypeDefinition) {
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ListBindingHelper.cs (1)
513if (type.IsGenericType && !type.IsGenericTypeDefinition) {
System.Workflow.Activities (2)
Rules\Parser\Parser.cs (1)
2299if (currentType.IsGenericType && nestedType.IsGenericTypeDefinition)
Rules\RuleValidation.cs (1)
3860Debug.Assert((!type.IsGenericType || type.IsGenericTypeDefinition) && !type.HasElementType,
System.Workflow.ComponentModel (11)
AuthoringOM\Compiler\TypeSystem\RTTypeWrapper.cs (3)
258if (this.runtimeType.IsGenericTypeDefinition) 410if (rtType.IsGenericTypeDefinition && this.IsGenericType) 513return this.runtimeType.IsGenericTypeDefinition;
AuthoringOM\Compiler\TypeSystem\TypeProvider.cs (4)
327if ((templateType == null) || (!templateType.IsGenericTypeDefinition)) 472if (this.designTimeTypes != null && this.designTimeTypes.Count > 0 && returnType.Assembly != null && returnType.IsGenericTypeDefinition) 691if (toType.IsGenericTypeDefinition) 972if (type.IsGenericTypeDefinition)
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (1)
784if (type.IsGenericType && !type.IsGenericTypeDefinition)
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (3)
668this.genericParametersPropertyGrid.Enabled = baseType.IsGenericTypeDefinition; 1021if ((null != selectedType) && (this.typeFilterProvider == null || (this.typeFilterProvider.CanFilterType(selectedType, false))) && !selectedType.IsGenericTypeDefinition) 1138if (type.IsGenericType && !type.IsGenericTypeDefinition)