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