10 references to MemberType
System.ComponentModel.Composition (10)
System\ComponentModel\Composition\ReflectionModel\GenericSpecializationPartCreationInfo.cs (2)
300
LazyMemberInfo importingMember = new LazyMemberInfo(lazyMember.
MemberType
, () => GetAccessors(lazyMember));
407
LazyMemberInfo exportingMember = new LazyMemberInfo(capturedLazyMember.
MemberType
, () => GetAccessors(capturedLazyMember));
System\ComponentModel\Composition\ReflectionModel\LazyMemberInfo.cs (3)
83
if (!LazyMemberInfo.AreAccessorsValid(
MemberType
, accessors, out errorMessage))
98
return
MemberType
.GetHashCode() ^ _accessorsCreator.GetHashCode();
103
return
MemberType
.GetHashCode() ^ accessor.GetHashCode();
System\ComponentModel\Composition\ReflectionModel\ReflectionExtensions.cs (3)
13
MemberTypes memberType = lazyMember.
MemberType
;
67
if ((lazyMember.
MemberType
!= MemberTypes.Field) && (lazyMember.
MemberType
!= MemberTypes.Property))
System\ComponentModel\Composition\ReflectionModel\ReflectionModelServices.cs (2)
153
Requires.IsInMembertypeSet(exportingMember.
MemberType
, nameof(exportingMember), MemberTypes.Field | MemberTypes.Property | MemberTypes.NestedType | MemberTypes.TypeInfo | MemberTypes.Method);
214
Requires.IsInMembertypeSet(importingMember.
MemberType
, nameof(importingMember), MemberTypes.Property | MemberTypes.Field);