3 instantiations of DesignTimeType
System.Workflow.ComponentModel (3)
AuthoringOM\Compiler\TypeSystem\CodeDomLoader.cs (1)
48partialType = new DesignTimeType(null, codeTypeDeclaration.Name, codeNamespace.Imports, codeNamespace.Name, this.typeProvider);
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (1)
1169partialType = new DesignTimeType(this, codeType.Name, this.codeNamespaceImports, this.fullName, this.typeProvider);
AuthoringOM\Compiler\TypeSystem\TypeProvider.cs (1)
368returnType = new DesignTimeType(null, name, this);
53 references to DesignTimeType
System.Workflow.ComponentModel (53)
AuthoringOM\Compiler\TypeSystem\AttributeInfo.cs (1)
204typeName = DesignTimeType.GetTypeNameFromCodeTypeReference((this.ArgumentValues[argumentIndex] as CodeTypeOfExpression).Type, null);
AuthoringOM\Compiler\TypeSystem\CodeDomLoader.cs (2)
45DesignTimeType partialType = this.typeProvider.GetType(typename, false) as DesignTimeType;
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (2)
914internal static string GetTypeNameFromCodeTypeReference(CodeTypeReference codeTypeReference, DesignTimeType declaringType) 1173((DesignTimeType)partialType).AddCodeTypeDeclaration(codeType);
AuthoringOM\Compiler\TypeSystem\EventInfo.cs (6)
25private DesignTimeType declaringType; 28internal DesignTimeEventInfo(DesignTimeType declaringType, CodeMemberEvent codeDomEvent) 57Type handlerType = declaringType.ResolveType(DesignTimeType.GetTypeNameFromCodeTypeReference(this.codeDomEvent.Type, declaringType)); 76Type handlerType = declaringType.ResolveType(DesignTimeType.GetTypeNameFromCodeTypeReference(this.codeDomEvent.Type, declaringType)); 139this.attributes = Helper.LoadCustomAttributes(this.codeDomEvent.CustomAttributes, this.DeclaringType as DesignTimeType); 150this.attributes = Helper.LoadCustomAttributes(this.codeDomEvent.CustomAttributes, this.DeclaringType as DesignTimeType);
AuthoringOM\Compiler\TypeSystem\FieldInfo.cs (5)
21private DesignTimeType declaringType; 24internal DesignTimeFieldInfo(DesignTimeType declaringType, CodeMemberField codeDomField) 57return declaringType.ResolveType(DesignTimeType.GetTypeNameFromCodeTypeReference(this.codeDomField.Type, declaringType)); 115this.attributes = Helper.LoadCustomAttributes(this.codeDomField.CustomAttributes, this.DeclaringType as DesignTimeType); 126this.attributes = Helper.LoadCustomAttributes(this.codeDomField.CustomAttributes, this.DeclaringType as DesignTimeType);
AuthoringOM\Compiler\TypeSystem\Helper.cs (5)
137internal static Attribute[] LoadCustomAttributes(CodeAttributeDeclarationCollection codeAttributeCollection, DesignTimeType declaringType) 237baseMemberInfo = ((DesignTimeType)memberInfo.DeclaringType).GetBaseMember(memberInfo.GetType(), memberInfo.DeclaringType.BaseType, BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Static | BindingFlags.Instance, new DesignTimeType.MemberSignature(memberInfo)); 274baseMemberInfo = ((DesignTimeType)memberInfo.DeclaringType).GetBaseMember(memberInfo.GetType(), memberInfo.DeclaringType.BaseType, BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Static | BindingFlags.Instance, new DesignTimeType.MemberSignature(memberInfo));
AuthoringOM\Compiler\TypeSystem\MethodInfo.cs (10)
24private DesignTimeType declaringType = null; 29internal DesignTimeConstructorInfo(DesignTimeType declaringType, CodeMemberMethod codeConstructor) 122this.attributes = Helper.LoadCustomAttributes(this.codeConstructor.CustomAttributes, this.DeclaringType as DesignTimeType); 132this.attributes = Helper.LoadCustomAttributes(this.codeConstructor.CustomAttributes, this.DeclaringType as DesignTimeType); 153private DesignTimeType declaringType; 158internal DesignTimeMethodInfo(DesignTimeType declaringType, CodeMemberMethod methodInfo, bool isSpecialName) 165internal DesignTimeMethodInfo(DesignTimeType declaringType, CodeMemberMethod methodInfo) 178return declaringType.ResolveType(DesignTimeType.GetTypeNameFromCodeTypeReference(this.methodInfo.ReturnType, declaringType)); 286this.attributes = Helper.LoadCustomAttributes(this.methodInfo.CustomAttributes, this.DeclaringType as DesignTimeType); 296this.attributes = Helper.LoadCustomAttributes(this.methodInfo.CustomAttributes, this.DeclaringType as DesignTimeType);
AuthoringOM\Compiler\TypeSystem\ParameterInfo.cs (3)
48string type = DesignTimeType.GetTypeNameFromCodeTypeReference(this.codeParameterType, (this.Member.DeclaringType as DesignTimeType)); 51this.ClassImpl = (this.Member.DeclaringType as DesignTimeType).ResolveType(type);
AuthoringOM\Compiler\TypeSystem\PropertyInfo.cs (8)
20private DesignTimeType declaringType = null; 25internal DesignTimePropertyInfo(DesignTimeType declaringType, CodeMemberProperty property) 47return declaringType.ResolveType(DesignTimeType.GetTypeNameFromCodeTypeReference(this.property.Type, declaringType)); 192this.attributes = Helper.LoadCustomAttributes(this.property.CustomAttributes, this.DeclaringType as DesignTimeType); 203this.attributes = Helper.LoadCustomAttributes(this.property.CustomAttributes, this.DeclaringType as DesignTimeType); 291return ((DesignTimeType)this.DeclaringType).ResolveType(DesignTimeType.GetTypeNameFromCodeTypeReference(this.property.CodeMemberProperty.Type, ((DesignTimeType)this.DeclaringType)));
AuthoringOM\Compiler\TypeSystem\TypeProvider.cs (6)
697if (fromType is RTTypeWrapper || fromType is DesignTimeType) 699if (!(toType is RTTypeWrapper) && !(toType is DesignTimeType)) 702ITypeProvider provider = fromType is RTTypeWrapper ? (fromType as RTTypeWrapper).Provider : (fromType as DesignTimeType).Provider; 707else if (toType is RTTypeWrapper || toType is DesignTimeType) 709if (!(fromType is RTTypeWrapper) && !(fromType is DesignTimeType)) 712ITypeProvider provider = toType is RTTypeWrapper ? (toType as RTTypeWrapper).Provider : (toType as DesignTimeType).Provider;
AuthoringOM\Design\CustomActivityDesigner.cs (2)
382if (type is DesignTimeType && rootComponentType != null && rootComponentType.Assembly == type.Assembly) 699if (TypeProvider.IsAssignable(typeof(Activity), type) && type.IsPublic && !type.IsSealed && !type.IsAbstract && !(type is DesignTimeType))
AuthoringOM\Design\WorkflowInlining.cs (3)
357if (this.targetWorkflowType == null || this.targetWorkflowType is DesignTimeType) 387while (dependencyObjectType != null && dependencyObjectType is DesignTimeType) 474if (this.targetWorkflowType is DesignTimeType)