Implemented interface member:
property
MemberType
System.Runtime.InteropServices._MemberInfo.MemberType
6 overrides of MemberType
mscorlib (6)
system\reflection\ConstructorInfo.cs (1)
87public override MemberTypes MemberType { get { return System.Reflection.MemberTypes.Constructor; } }
system\reflection\eventinfo.cs (1)
65public override MemberTypes MemberType { get { return MemberTypes.Event; } }
system\reflection\fieldinfo.cs (1)
99public override MemberTypes MemberType { get { return System.Reflection.MemberTypes.Field; } }
system\reflection\methodinfo.cs (1)
75public override MemberTypes MemberType { get { return System.Reflection.MemberTypes.Method; } }
system\reflection\propertyinfo.cs (1)
68public override MemberTypes MemberType { get { return System.Reflection.MemberTypes.Property; } }
system\type.cs (1)
67public override MemberTypes MemberType {
102 references to MemberType
mscorlib (17)
system\__filters.cs (4)
40switch (m.MemberType) 56if (m.MemberType == MemberTypes.Method) 121if (m.MemberType == MemberTypes.NestedType) 146if (m.MemberType == MemberTypes.NestedType)
system\attribute.cs (6)
467switch (element.MemberType) 491switch (element.MemberType) 522switch(element.MemberType) 584if (member.MemberType == MemberTypes.Method && inherit) 601if (member.MemberType == MemberTypes.Method && inherit) 627switch(member.MemberType)
system\reflection\parameterinfo.cs (2)
228switch (MemberImpl.MemberType) 234if (MemberImpl.MemberType == MemberTypes.Method)
system\rttype.cs (2)
2426if (memberInfo.MemberType != MemberTypes.TypeInfo && 2427memberInfo.MemberType != MemberTypes.NestedType)
system\runtime\serialization\formatterservices.cs (2)
359if (mi.MemberType==MemberTypes.Field) { 404if (mi.MemberType==MemberTypes.Field) {
system\runtime\serialization\objectmanager.cs (1)
589if (tempMember.MemberType==MemberTypes.Field) {
System.Activities (6)
System\Activities\ExpressionUtilities.cs (6)
93MemberTypes memberType = memberExpression.Member.MemberType; 168MemberTypes memberType = ((MemberExpression)body).Member.MemberType; 345Fx.Assert(memberExpression.Member.MemberType == MemberTypes.Field, "member field expected"); 740Fx.Assert(memberExpression.Member.MemberType == MemberTypes.Property, "property access expression expected"); 1414if (memberExpression.Member.MemberType == MemberTypes.Property) 1601MemberTypes memberType = memberInfo.MemberType;
System.Activities.Core.Presentation (3)
System\ServiceModel\Activities\Presentation\TypeToTreeConverter.cs (3)
82.Where(member => member.MemberType == MemberTypes.Field && member.GetCustomAttributes(typeof(NonSerializedAttribute), false).Length == 0) 89.Where(member => (member.MemberType == MemberTypes.Field || member.MemberType == MemberTypes.Property) &&
System.Activities.Presentation (5)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\Metadata\AttributeDataCache.cs (3)
193_baseMemberFinders.ContainsKey(member.MemberType), 198member.MemberType)); 204baseMemberInfo = _baseMemberFinders[member.MemberType](member, targetType);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
1595if (member.MemberType == MemberTypes.Method)
System.Activities.Presentation\System\Activities\Presentation\DesignerMetadata.cs (1)
47if (mi.MemberType == MemberTypes.Property && !mi.Name.Equals("Name") && !mi.Name.Equals("ImplementationVersion"))
System.Core (11)
Microsoft\Scripting\Ast\Expression.cs (2)
354if (memberInfo.MemberType == MemberTypes.Property) { 397switch (member.Member.MemberType) {
Microsoft\Scripting\Ast\MemberExpression.cs (1)
61if (member.MemberType == MemberTypes.Field) {
Microsoft\Scripting\Ast\NewExpression.cs (1)
299switch (member.MemberType) {
Microsoft\Scripting\Compiler\ILGen.cs (1)
42if (methodBase.MemberType == MemberTypes.Constructor) {
Microsoft\Scripting\Compiler\LambdaCompiler.Address.cs (2)
130if (member.MemberType == MemberTypes.Field) { 244if (node.Member.MemberType != MemberTypes.Property || !((PropertyInfo)node.Member).CanWrite) {
Microsoft\Scripting\Compiler\LambdaCompiler.Expressions.cs (3)
669switch (member.MemberType) { 677throw Error.InvalidMemberType(member.MemberType); 700switch (member.MemberType) {
Microsoft\Scripting\Compiler\StackSpiller.cs (1)
372node.Member.MemberType == MemberTypes.Property) {
System.Data (5)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\Metadata\AttributeDataCache.cs (3)
193_baseMemberFinders.ContainsKey(member.MemberType), 198member.MemberType)); 204baseMemberInfo = _baseMemberFinders[member.MemberType](member, targetType);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
1595if (member.MemberType == MemberTypes.Method)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignerMetadata.cs (1)
47if (mi.MemberType == MemberTypes.Property && !mi.Name.Equals("Name") && !mi.Name.Equals("ImplementationVersion"))
System.Data.Entity (7)
System\Data\Objects\ELinq\Funcletizer.cs (3)
259if (member.Member.MemberType == MemberTypes.Property) 731if (me.Member.MemberType == MemberTypes.Field) 736else if (me.Member.MemberType == MemberTypes.Property)
System\Data\Objects\ELinq\Translator.cs (1)
180if (memberInfo.MemberType == MemberTypes.Property)
System\Data\Objects\ELinq\TypeSystem.cs (3)
112if (member.MemberType == MemberTypes.Field) 119else if (member.MemberType == MemberTypes.Property) 131else if (member.MemberType == MemberTypes.Method)
System.Data.Linq (1)
SqlClient\Query\QueryConverter.cs (1)
897switch (mi.MemberType) {
System.Data.Services (2)
System\Data\Services\Internal\NeedSkipTokenVisitor.cs (1)
155if (m.Member.MemberType != MemberTypes.Property || m.Expression.NodeType != ExpressionType.Parameter)
System\Data\Services\Internal\PropertyAccessVisitor.cs (1)
93if (m.Member.MemberType == MemberTypes.Property)
System.Data.Services.Client (3)
System\Data\Services\Client\ALinq\InputBinder.cs (1)
116memberRef.Member.MemberType == MemberTypes.Property &&
System\Data\Services\Client\ALinq\ResourceBinder.cs (2)
1480if (me.Member.MemberType == MemberTypes.Property) 1758if (member.MemberType == MemberTypes.Method)
System.Runtime.Serialization (10)
System\Runtime\Serialization\ClassDataContract.cs (2)
878if (member.MemberType == MemberTypes.Property) 900else if (member.MemberType != MemberTypes.Field)
System\Runtime\Serialization\CodeGenerator.cs (8)
739if (memberInfo.MemberType == MemberTypes.Field) 756else if (memberInfo.MemberType == MemberTypes.Property) 768else if (memberInfo.MemberType == MemberTypes.Method) 775throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(SR.GetString(SR.CannotLoadMemberType, memberInfo.MemberType, memberInfo.DeclaringType, memberInfo.Name))); 783if (memberInfo.MemberType == MemberTypes.Field) 799else if (memberInfo.MemberType == MemberTypes.Property) 810else if (memberInfo.MemberType == MemberTypes.Method) 813throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(SR.GetString(SR.CannotLoadMemberType, memberInfo.MemberType)));
System.ServiceModel (7)
System\ServiceModel\Description\TypeLoader.cs (3)
1266if (memberInfo.MemberType != MemberTypes.Field && 1267memberInfo.MemberType != MemberTypes.Property) 1307if (memberInfo.MemberType == MemberTypes.Property)
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (2)
547if ((member.MemberType & (MemberTypes.Field | MemberTypes.Property)) == 0) 555part.Type = (member.MemberType == MemberTypes.Property) ? ((PropertyInfo)member).PropertyType : ((FieldInfo)member).FieldType;
System\ServiceModel\Dispatcher\OperationFormatter.cs (2)
591if (memberInfo.MemberType == MemberTypes.Property) 604if (memberInfo.MemberType == MemberTypes.Property)
System.Web.Extensions (2)
UI\WebControls\ContextDataSourceView.cs (2)
124if (mi.MemberType == MemberTypes.Property) { 127else if (mi.MemberType == MemberTypes.Field) {
System.Workflow.Activities (9)
LocalService\CorrelationResolver.cs (1)
192switch (mInfo.MemberType)
Rules\Parser\Parser.cs (7)
281switch (member.MemberType) 390switch (member.MemberType) 466System.Diagnostics.Debug.Assert(methods[m].MemberType == MemberTypes.Method, "expect methods only"); 819switch (mi.MemberType) 1593if (member.MemberType == MemberTypes.Field) 2288if (mi == null || mi.Length != 1 || (mi[0].MemberType != MemberTypes.NestedType && mi[0].MemberType != MemberTypes.TypeInfo))
Rules\RuleValidation.cs (1)
2383System.Diagnostics.Debug.Assert(member.MemberType == MemberTypes.Property, "only properties can be overloaded");
System.Xml (14)
System\Xml\Serialization\CodeGenerator.cs (6)
730if (memberInfo.MemberType == MemberTypes.Field) { 741System.Diagnostics.Debug.Assert(memberInfo.MemberType == MemberTypes.Property); 762if (memberInfo.MemberType == MemberTypes.Field) { 773System.Diagnostics.Debug.Assert(memberInfo.MemberType == MemberTypes.Property); 797if (memberInfo.MemberType == MemberTypes.Field) { 807System.Diagnostics.Debug.Assert(memberInfo.MemberType == MemberTypes.Property);
System\Xml\Serialization\Models.cs (2)
137if ((members[i].MemberType & MemberTypes.Property) == 0) { 143if ((members[i].MemberType & MemberTypes.Property) != 0) {
System\Xml\Serialization\SoapReflectionImporter.cs (1)
375if ((memberInfo.MemberType & (MemberTypes.Field | MemberTypes.Property)) == 0)
System\Xml\Serialization\Types.cs (1)
964if(memberInfo != null && memberInfo.MemberType == MemberTypes.Property) {
System\Xml\Serialization\XmlReflectionImporter.cs (1)
747if ((memberInfo.MemberType & (MemberTypes.Field | MemberTypes.Property)) == 0)
System\Xml\Serialization\XmlSerializationILGen.cs (1)
571Type memType = (memInfo.MemberType == MemberTypes.Field) ? ((FieldInfo)memInfo).FieldType : ((PropertyInfo)memInfo).PropertyType;
System\Xml\Serialization\XmlSerializationReaderILGen.cs (1)
2811ilg.ConvertValue(stackType, memInfo.MemberType == MemberTypes.Field ? ((FieldInfo)memInfo).FieldType : ((PropertyInfo)memInfo).PropertyType);
System\Xml\Serialization\XmlSerializationWriter.cs (1)
3493MemberTypes memberType = memberInfos[i].MemberType;