Implemented interface member:
property
PropertyType
System.Runtime.InteropServices._PropertyInfo.PropertyType
11 overrides of PropertyType
mscorlib (2)
PresentationFramework (1)
System.Activities.Presentation (1)
System.Data (1)
System.Workflow.Activities (1)
System.Workflow.ComponentModel (5)
382 references to PropertyType
mscorlib (18)
PresentationBuildTasks (5)
PresentationCore (3)
PresentationFramework (10)
System (4)
System.Activities (1)
System.Activities.Core.Presentation (1)
System.Activities.Presentation (9)
System.ComponentModel.DataAnnotations (2)
System.Configuration (3)
System.Core (10)
System.Data (10)
System.Data.Entity (56)
System\Data\Metadata\ObjectLayer\ObjectItemAttributeAssemblyLoader.cs (14)
474if ((Nullable.GetUnderlyingType(property.PropertyType) ?? property.PropertyType).IsEnum)
476TrackClosure(property.PropertyType);
487TrackClosure(property.PropertyType);
536if (!TryGetLoadedType(propertyInfo.PropertyType, out propertyType) || !(propertyType.BuiltInTypeKind == BuiltInTypeKind.EntityType || propertyType.BuiltInTypeKind == BuiltInTypeKind.CollectionType))
540SessionData.EdmItemErrors.Add(new EdmItemError(System.Data.Entity.Strings.Validator_OSpace_InvalidNavPropReturnType(propertyInfo.Name, propertyInfo.DeclaringType.FullName, propertyInfo.PropertyType.FullName), null));
626if (!TryGetPrimitiveType(property.PropertyType, out primitiveType))
630SessionData.EdmItemErrors.Add(new EdmItemError(System.Data.Entity.Strings.Validator_OSpace_ScalarPropertyNotPrimitive(property.Name, property.DeclaringType.FullName, property.PropertyType.FullName), null));
659(Nullable.GetUnderlyingType(clrProperty.PropertyType) ?? clrProperty.PropertyType).IsEnum,
664if (!TryGetLoadedType(clrProperty.PropertyType, out propertyType) || !Helper.IsEnumType(propertyType))
671clrProperty.PropertyType.FullName), null));
699if (!TryGetLoadedType(clrProperty.PropertyType, out propertyType) || propertyType.BuiltInTypeKind != BuiltInTypeKind.ComplexType)
703SessionData.EdmItemErrors.Add(new EdmItemError(System.Data.Entity.Strings.Validator_OSpace_ComplexPropertyNotComplex(clrProperty.Name, clrProperty.DeclaringType.FullName, clrProperty.PropertyType.FullName), null));
System\Data\Objects\Internal\EntityProxyFactory.cs (17)
467MakeGenericMethod(proxyType, property.PropertyType).
675PropertyBuilder propertyBuilder = TypeBuilder.DefineProperty(member.Name, System.Reflection.PropertyAttributes.None, baseProperty.PropertyType, Type.EmptyTypes);
743MethodBuilder getterBuilder = typeBuilder.DefineMethod("get_" + baseProperty.Name, getterAccess | getterAttributes, baseProperty.PropertyType, Type.EmptyTypes);
763MethodBuilder setterBuilder = typeBuilder.DefineMethod("set_" + baseProperty.Name, methodAccess | methodAttributes, null, new Type[] { baseProperty.PropertyType });
888Type interceptorType = typeof(Func<,,>).MakeGenericType(typeBuilder, baseProperty.PropertyType, typeof(bool));
893MethodBuilder getterBuilder = typeBuilder.DefineMethod("get_" + baseProperty.Name, getterAccess | getterAttributes, baseProperty.PropertyType, Type.EmptyTypes);
904generator.DeclareLocal(baseProperty.PropertyType); // T value
1021gen.Emit(OpCodes.Castclass, _baseSetters[i].PropertyType);
1106if (clrProperty.PropertyType.IsGenericType &&
1107clrProperty.PropertyType.GetGenericTypeDefinition() == typeof(ICollection<>))
1175MethodInfo getRelatedCollection = s_GetRelatedCollection.MakeGenericMethod(EntityUtil.GetCollectionElementType(navProperty.Value.PropertyType));
1230MethodBuilder setterBuilder = typeBuilder.DefineMethod("set_" + baseProperty.Name, methodAccess | methodAttributes, null, new Type[] { baseProperty.PropertyType });
1247Type propertyType = baseProperty.PropertyType;
1351MethodInfo specificGetRelatedReference = s_GetRelatedReference.MakeGenericMethod(baseProperty.PropertyType);
1352MethodInfo specificEntityReferenceSetValue = typeof(EntityReference<>).MakeGenericType(baseProperty.PropertyType).GetMethod("set_Value"); ;
1354MethodBuilder setterBuilder = typeBuilder.DefineMethod("set_" + baseProperty.Name, methodAccess | methodAttributes, null, new Type[] { baseProperty.PropertyType });
1376MethodBuilder setterBuilder = typeBuilder.DefineMethod("set_" + baseProperty.Name, methodAccess | methodAttributes, null, new Type[] { baseProperty.PropertyType });
System.Data.Linq (12)
Mapping\Accessors.cs (7)
93Type dgetType = typeof(DGet<,>).MakeGenericType(objectType, pi.PropertyType);
98throw Error.CouldNotCreateAccessorToProperty(objectType, pi.PropertyType, pi);
103dset = Delegate.CreateDelegate(typeof(DSet<,>).MakeGenericType(objectType, pi.PropertyType), pi.GetSetMethod(true), true);
109new Type[] { objectType.MakeByRefType(), pi.PropertyType },
120drset = mset.CreateDelegate(typeof(DRSet<,>).MakeGenericType(objectType, pi.PropertyType));
124Type saType = (storageAccessor != null) ? storageAccessor.Type : pi.PropertyType;
126typeof(Accessor<,,>).MakeGenericType(objectType, pi.PropertyType, saType),
System.Data.Services (8)
System.Data.Services.Client (6)
System.Drawing (1)
System.Management (1)
System.Runtime.Serialization (4)
System.ServiceModel (2)
System.Web (17)
System.Web.DataVisualization (38)
System.Web.DynamicData (4)
System.Web.Entity (2)
System.Web.Extensions (5)
System.Web.Services (4)
System.Windows.Forms (10)
System.Windows.Forms.DataVisualization (38)
System.Workflow.Activities (13)
System.Workflow.ComponentModel (61)
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (28)
793if (propertyValue == null && TypeProvider.IsAssignable(typeof(Type), property.PropertyType))
809propertyInfoType = property.PropertyType;
1037(contentProperty.Property == null || contentProperty.Property.PropertyType != typeof(object)))
1161if (defaultValueAttr.Value is IConvertible && value is IConvertible && object.Equals(Convert.ChangeType(defaultValueAttr.Value, property.PropertyType, CultureInfo.InvariantCulture), Convert.ChangeType(value, property.PropertyType, CultureInfo.InvariantCulture)))
1383if (!(obj is CodeObject) || !typeof(ICollection).IsAssignableFrom(property.PropertyType))
1512if (propValue != null && propertyInfo.PropertyType.IsAssignableFrom(propValue.GetType()))
1622(value == null || pi.PropertyType.IsAssignableFrom(value.GetType())))
1922propertyType = property.PropertyType;
2012if (memberValue is string && TypeProvider.IsAssignable(typeof(Type), property.PropertyType))
2892this.contentPropertySerializer = this.serializationManager.GetSerializer(this.contentProperty.PropertyType, typeof(WorkflowMarkupSerializer)) as WorkflowMarkupSerializer;
2903else if (!this.contentProperty.PropertyType.IsValueType &&
2904!this.contentProperty.PropertyType.IsPrimitive &&
2905this.contentProperty.PropertyType != typeof(string) &&
2906!IsMarkupExtension(this.contentProperty.PropertyType) &&
2909WorkflowMarkupSerializer serializer = serializationManager.GetSerializer(this.contentProperty.PropertyType, typeof(WorkflowMarkupSerializer)) as WorkflowMarkupSerializer;
2912serializationManager.ReportError(CreateSerializationError(SR.GetString(SR.Error_SerializerNotAvailable, this.contentProperty.PropertyType.FullName), reader));
2917contentPropertyValue = serializer.CreateInstance(serializationManager, this.contentProperty.PropertyType);
2921serializationManager.ReportError(CreateSerializationError(SR.GetString(SR.Error_SerializerCreateInstanceFailed, this.contentProperty.PropertyType.FullName, e.Message), reader));
2943this.serializationManager.ReportError(new WorkflowMarkupSerializationException(SR.GetString(SR.Error_SerializerNotAvailableForSerialize, this.contentProperty.PropertyType.FullName)));
3008if (CollectionMarkupSerializer.IsValidCollectionType(this.contentProperty.PropertyType))
3043if (!this.contentProperty.PropertyType.IsAssignableFrom(content.GetType()) && typeof(string).IsAssignableFrom(content.GetType()))
3047content = this.contentPropertySerializer.DeserializeFromString(this.serializationManager, this.contentProperty.PropertyType, content as string);
3059this.serializationManager.ReportError(new WorkflowMarkupSerializationException(SR.GetString(SR.Error_ContentCanNotBeConverted, content as string, contentProperty.Name, this.parentObject.GetType().FullName, this.contentProperty.PropertyType.FullName), contents[0].LineNumber, contents[0].LinePosition));
3061else if (!contentProperty.PropertyType.IsAssignableFrom(content.GetType()))
3063this.serializationManager.ReportError(new WorkflowMarkupSerializationException(SR.GetString(SR.Error_ContentPropertyValueInvalid, content.GetType(), this.contentProperty.Name, this.contentProperty.PropertyType.FullName), contents[0].LineNumber, contents[0].LinePosition));
3069if (this.contentProperty.PropertyType == typeof(string))
3071content = new WorkflowMarkupSerializer().DeserializeFromString(this.serializationManager, this.contentProperty.PropertyType, content as string);
System.Workflow.Runtime (7)
System\Activities\Statements\Interop.cs (6)
242RuntimeArgument inArgument = new RuntimeArgument(propertyInName, propertyInfo.PropertyType, ArgumentDirection.In);
243RuntimeArgument outArgument = new RuntimeArgument(propertyOutName, propertyInfo.PropertyType, ArgumentDirection.Out);
638InteropProperty descriptor = new LiteralProperty(this, property.Name, property.PropertyType, newAttributes);
647inDescriptor = new ArgumentProperty(this, property.Name + InArgumentSuffix, Argument.Create(property.PropertyType, ArgumentDirection.In), newAttributes);
651inDescriptor = new ArgumentProperty(this, property.Name, Argument.Create(property.PropertyType, ArgumentDirection.In), newAttributes);
655InteropProperty outDescriptor = new ArgumentProperty(this, property.Name + OutArgumentSuffix, Argument.Create(property.PropertyType, ArgumentDirection.Out), newAttributes);
System.WorkflowServices (1)
System.Xml (16)
System\Xml\Serialization\Models.cs (5)
192TypeDesc typeDesc = ModelScope.TypeScope.GetTypeDesc(propertyInfo.PropertyType, propertyInfo, true, false);
196CheckSupportedMember(typeDesc, propertyInfo, propertyInfo.PropertyType);
197return new FieldModel(propertyInfo, propertyInfo.PropertyType, typeDesc);
267if (this.checkSpecified != SpecifiedAccessor.None && specifiedProperty.PropertyType != typeof(bool)) {
268throw new InvalidOperationException(Res.GetString(Res.XmlInvalidSpecifiedType, specifiedProperty.Name, specifiedProperty.PropertyType.FullName, typeof(bool).FullName));