319 references to MemberTypes
mscorlib (130)
system\__filters.cs (6)
42
case
MemberTypes
.Constructor:
43
case
MemberTypes
.Method: {
56
if (m.MemberType ==
MemberTypes
.Method)
75
case
MemberTypes
.Field:
121
if (m.MemberType ==
MemberTypes
.NestedType)
146
if (m.MemberType ==
MemberTypes
.NestedType)
system\attribute.cs (11)
469
case
MemberTypes
.Property:
472
case
MemberTypes
.Event:
493
case
MemberTypes
.Property:
496
case
MemberTypes
.Event:
524
case
MemberTypes
.Property:
527
case
MemberTypes
.Event:
584
if (member.MemberType ==
MemberTypes
.Method && inherit)
601
if (member.MemberType ==
MemberTypes
.Method && inherit)
629
case
MemberTypes
.Method: // We need to climb up the member hierarchy
632
case
MemberTypes
.Constructor:
635
case
MemberTypes
.Property:
system\exception.cs (2)
484
result.Append((int)
MemberTypes
.Constructor);
500
result.Append((int)
MemberTypes
.Method);
system\internal.cs (2)
89
new Dictionary<System.Reflection.
MemberTypes
, Object>();
90
new EnumEqualityComparer<System.Reflection.
MemberTypes
>();
system\reflection\cominterfaces.cs (10)
41
MemberTypes
MemberType { get; }
70
MemberInfo[] GetMember(String name,
MemberTypes
type, BindingFlags bindingAttr);
72
MemberInfo[] FindMembers(
MemberTypes
memberType,BindingFlags bindingAttr,MemberFilter filter,Object filterCriteria);
272
MemberTypes
MemberType { get; }
307
MemberTypes
MemberType { get; }
365
MemberTypes
MemberType { get; }
429
MemberTypes
MemberType { get; }
492
MemberTypes
MemberType { get; }
550
MemberTypes
MemberType { get; }
604
MemberTypes
MemberType { get; }
system\reflection\ConstructorInfo.cs (5)
87
public override
MemberTypes
MemberType { get { return System.Reflection.
MemberTypes
.Constructor; } }
444
public override
MemberTypes
MemberType { get { return
MemberTypes
.Constructor; } }
776
MemberTypes
.Constructor,
system\reflection\emit\enumbuilder.cs (1)
214
public override MemberInfo[] GetMember(String name,
MemberTypes
type, BindingFlags bindingAttr)
system\reflection\emit\generictypeparameterbuilder.cs (1)
150
public override MemberInfo[] GetMember(String name,
MemberTypes
type, BindingFlags bindingAttr) { throw new NotSupportedException(); }
system\reflection\emit\methodbuilderinstantiation.cs (1)
50
public override
MemberTypes
MemberType { get { return m_method.MemberType; } }
system\reflection\emit\symboltype.cs (1)
494
public override MemberInfo[] GetMember(String name,
MemberTypes
type, BindingFlags bindingAttr)
system\reflection\emit\typebuilder.cs (1)
1264
public override MemberInfo[] GetMember(String name,
MemberTypes
type, BindingFlags bindingAttr)
system\reflection\emit\typebuilderinstantiation.cs (1)
187
public override MemberInfo[] GetMember(String name,
MemberTypes
type, BindingFlags bindingAttr) { throw new NotSupportedException(); }
system\reflection\emit\xxxontypebuilderinstantiation.cs (4)
48
public override
MemberTypes
MemberType { get { return m_method.MemberType; } }
145
public override
MemberTypes
MemberType { get { return m_ctor.MemberType; } }
246
public override
MemberTypes
MemberType { get { return System.Reflection.
MemberTypes
.Field; } }
system\reflection\eventinfo.cs (5)
65
public override
MemberTypes
MemberType { get { return
MemberTypes
.Event; } }
345
public override
MemberTypes
MemberType { get { return
MemberTypes
.Event; } }
392
MemberTypes
.Event);
system\reflection\fieldinfo.cs (5)
99
public override
MemberTypes
MemberType { get { return System.Reflection.
MemberTypes
.Field; } }
296
public override
MemberTypes
MemberType { get { return
MemberTypes
.Field; } }
383
MemberTypes
.Field);
system\reflection\memberinfo.cs (1)
39
public abstract
MemberTypes
MemberType { get; }
system\reflection\memberinfoserializationholder.cs (14)
21
public static void GetSerializationInfo(SerializationInfo info, String name, RuntimeType reflectedClass, String signature,
MemberTypes
type)
32
MemberTypes
type,
62
private
MemberTypes
m_memberType;
85
m_memberType = (
MemberTypes
)info.GetInt32("MemberType");
112
case
MemberTypes
.Field:
114
FieldInfo[] fields = m_reflectedType.GetMember(m_memberName,
MemberTypes
.Field, bindingFlags) as FieldInfo[];
124
case
MemberTypes
.Event:
126
EventInfo[] events = m_reflectedType.GetMember(m_memberName,
MemberTypes
.Event, bindingFlags) as EventInfo[];
136
case
MemberTypes
.Property:
138
PropertyInfo[] properties = m_reflectedType.GetMember(m_memberName,
MemberTypes
.Property, bindingFlags) as PropertyInfo[];
168
case
MemberTypes
.Constructor:
173
ConstructorInfo[] constructors = m_reflectedType.GetMember(m_memberName,
MemberTypes
.Constructor, bindingFlags) as ConstructorInfo[];
200
case
MemberTypes
.Method:
209
MethodInfo[] methods = m_reflectedType.GetMember(m_memberName,
MemberTypes
.Method, bindingFlags) as MethodInfo[];
system\reflection\methodinfo.cs (5)
75
public override
MemberTypes
MemberType { get { return System.Reflection.
MemberTypes
.Method; } }
553
public override
MemberTypes
MemberType { get { return
MemberTypes
.Method; } }
1044
MemberTypes
.Method,
system\reflection\parameterinfo.cs (4)
230
case
MemberTypes
.Constructor:
231
case
MemberTypes
.Method:
234
if (MemberImpl.MemberType ==
MemberTypes
.Method)
249
case
MemberTypes
.Property:
system\reflection\propertyinfo.cs (5)
68
public override
MemberTypes
MemberType { get { return System.Reflection.
MemberTypes
.Property; } }
414
public override
MemberTypes
MemberType { get { return
MemberTypes
.Property; } }
692
MemberTypes
.Property,
system\reflection\typedelegator.cs (1)
175
public override MemberInfo[] GetMember(String name,
MemberTypes
type, BindingFlags bindingAttr)
system\rttype.cs (27)
2037
RuntimeMethodHandle.GetName(methodHandle),
MemberTypes
.Constructor |
MemberTypes
.Method,
2426
if (memberInfo.MemberType !=
MemberTypes
.TypeInfo &&
2427
memberInfo.MemberType !=
MemberTypes
.NestedType)
3457
public override MemberInfo[] GetMember(String name,
MemberTypes
type, BindingFlags bindingAttr)
3472
if ((type &
MemberTypes
.Method) != 0)
3475
if (type ==
MemberTypes
.Method)
3481
if ((type &
MemberTypes
.Constructor) != 0)
3484
if (type ==
MemberTypes
.Constructor)
3490
if ((type &
MemberTypes
.Property) != 0)
3493
if (type ==
MemberTypes
.Property)
3499
if ((type &
MemberTypes
.Event) != 0)
3502
if (type ==
MemberTypes
.Event)
3508
if ((type &
MemberTypes
.Field) != 0)
3511
if (type ==
MemberTypes
.Field)
3517
if ((type & (
MemberTypes
.NestedType |
MemberTypes
.TypeInfo)) != 0)
3520
if (type ==
MemberTypes
.NestedType || type ==
MemberTypes
.TypeInfo)
3525
MemberInfo[] compressMembers = (type == (
MemberTypes
.Method |
MemberTypes
.Constructor)) ?
4686
FieldInfo[] flds = GetMember(name,
MemberTypes
.Field, bindingFlags) as FieldInfo[];
4836
MethodInfo[] semiFinalists = GetMember(name,
MemberTypes
.Method, bindingFlags) as MethodInfo[];
4879
PropertyInfo[] semiFinalists = GetMember(name,
MemberTypes
.Property, bindingFlags) as PropertyInfo[];
5121
public override
MemberTypes
MemberType
5126
return
MemberTypes
.TypeInfo;
5128
return
MemberTypes
.NestedType;
system\runtime\remoting\message.cs (3)
3171
MemberInfo [] methods = t.FindMembers(
MemberTypes
.Method, MethodCall.LookupAll, Type.FilterName, methodName);
3294
MemberInfo[] canidates = t.GetMember(methodName,
MemberTypes
.Method, MethodCall.LookupPublic);
3331
MemberInfo[] canidates = t.GetMember(methodName,
MemberTypes
.Method, MethodCall.LookupPublic);
system\runtime\serialization\formatterservices.cs (2)
359
if (mi.MemberType==
MemberTypes
.Field) {
404
if (mi.MemberType==
MemberTypes
.Field) {
system\runtime\serialization\objectmanager.cs (1)
589
if (tempMember.MemberType==
MemberTypes
.Field) {
system\type.cs (11)
67
public override
MemberTypes
MemberType {
68
get {return System.Reflection.
MemberTypes
.TypeInfo;}
765
return GetMember(name,
MemberTypes
.All,bindingAttr);
768
virtual public MemberInfo[] GetMember(String name,
MemberTypes
type, BindingFlags bindingAttr)
791
public virtual MemberInfo[] FindMembers(
MemberTypes
memberType,BindingFlags bindingAttr,MemberFilter filter,Object filterCriteria)
805
if ((memberType & System.Reflection.
MemberTypes
.Method) != 0) {
819
if ((memberType & System.Reflection.
MemberTypes
.Constructor) != 0) {
833
if ((memberType & System.Reflection.
MemberTypes
.Field) != 0) {
847
if ((memberType & System.Reflection.
MemberTypes
.Property) != 0) {
861
if ((memberType & System.Reflection.
MemberTypes
.Event) != 0) {
875
if ((memberType & System.Reflection.
MemberTypes
.NestedType) != 0) {
PresentationCore (1)
Shared\System\Windows\Ink\KnownIds.cs (1)
298
PublicMemberInfo = typeof(KnownIds).FindMembers(System.Reflection.
MemberTypes
.Field,
PresentationFramework (1)
src\Framework\System\Windows\Markup\BamlWriter.cs (1)
1158
MemberInfo[] infos = ownerType.GetMember(propName,
MemberTypes
.Property, BindingFlags.Instance | BindingFlags.Public);
System.Activities (12)
System\Activities\ExpressionUtilities.cs (12)
93
MemberTypes
memberType = memberExpression.Member.MemberType;
94
if (memberType ==
MemberTypes
.Field)
104
else if (memberType ==
MemberTypes
.Property)
168
MemberTypes
memberType = ((MemberExpression)body).Member.MemberType;
169
if (memberType ==
MemberTypes
.Field)
173
else if (memberType ==
MemberTypes
.Property)
345
Fx.Assert(memberExpression.Member.MemberType ==
MemberTypes
.Field, "member field expected");
740
Fx.Assert(memberExpression.Member.MemberType ==
MemberTypes
.Property, "property access expression expected");
1414
if (memberExpression.Member.MemberType ==
MemberTypes
.Property)
1601
MemberTypes
memberType = memberInfo.MemberType;
1602
if (memberType ==
MemberTypes
.Property)
1608
else if (memberType ==
MemberTypes
.Field)
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 (16)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\Metadata\AttributeDataCache.cs (6)
50
private static Dictionary<
MemberTypes
, GetBaseMemberCallback> _baseMemberFinders;
57
_baseMemberFinders = new Dictionary<
MemberTypes
, GetBaseMemberCallback>();
58
_baseMemberFinders[
MemberTypes
.Constructor] = new GetBaseMemberCallback(GetBaseConstructorInfo);
59
_baseMemberFinders[
MemberTypes
.Method] = new GetBaseMemberCallback(GetBaseMethodInfo);
60
_baseMemberFinders[
MemberTypes
.Property] = new GetBaseMemberCallback(GetBasePropertyInfo);
61
_baseMemberFinders[
MemberTypes
.Event] = new GetBaseMemberCallback(GetBaseEventInfo);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (9)
330
MemberInfo[] infos = reflectType.GetMember(member,
MemberTypes
.Event, BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public);
343
MemberInfo[] infos = reflectType.GetMember(member,
MemberTypes
.Property, BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public);
1109
public override
MemberTypes
MemberType { get { return _baseReflectionType.MemberType; } }
1260
public override MemberInfo[] FindMembers(
MemberTypes
memberType, BindingFlags bindingAttr, MemberFilter filter, object filterCriteria)
1278
public override MemberInfo[] GetMember(string name,
MemberTypes
type, BindingFlags bindingAttr)
1595
if (member.MemberType ==
MemberTypes
.Method)
1835
public override
MemberTypes
MemberType { get { return _info.MemberType; } }
1894
public override
MemberTypes
MemberType { get { return _info.MemberType; } }
1970
public override
MemberTypes
MemberType { get { return _info.MemberType; } }
System.Activities.Presentation\System\Activities\Presentation\DesignerMetadata.cs (1)
47
if (mi.MemberType ==
MemberTypes
.Property && !mi.Name.Equals("Name") && !mi.Name.Equals("ImplementationVersion"))
System.ComponentModel.DataAnnotations (3)
DataAnnotations\AssociatedMetadataTypeTypeDescriptor.cs (3)
144
MemberTypes
allowedMemberTypes =
MemberTypes
.Property |
MemberTypes
.Field;
System.Core (18)
Microsoft\Scripting\Actions\DynamicObject.cs (1)
714
var methods = Value.GetType().GetMember(method,
MemberTypes
.Method, BindingFlags.Public | BindingFlags.Instance);
Microsoft\Scripting\Ast\Expression.cs (3)
354
if (memberInfo.MemberType ==
MemberTypes
.Property) {
398
case
MemberTypes
.Property:
402
case
MemberTypes
.Field:
Microsoft\Scripting\Ast\IndexExpression.cs (1)
260
MemberInfo[] members = type.FindMembers(
MemberTypes
.Property, flags, Type.FilterNameIgnoreCase, propertyName);
Microsoft\Scripting\Ast\MemberExpression.cs (1)
61
if (member.MemberType ==
MemberTypes
.Field) {
Microsoft\Scripting\Ast\MethodCallExpression.cs (1)
932
MemberInfo[] members = type.FindMembers(
MemberTypes
.Method, flags, Type.FilterNameIgnoreCase, methodName);
Microsoft\Scripting\Ast\NewExpression.cs (3)
300
case
MemberTypes
.Field:
307
case
MemberTypes
.Property:
317
case
MemberTypes
.Method:
Microsoft\Scripting\Compiler\ILGen.cs (1)
42
if (methodBase.MemberType ==
MemberTypes
.Constructor) {
Microsoft\Scripting\Compiler\LambdaCompiler.Address.cs (2)
130
if (member.MemberType ==
MemberTypes
.Field) {
244
if (node.Member.MemberType !=
MemberTypes
.Property || !((PropertyInfo)node.Member).CanWrite) {
Microsoft\Scripting\Compiler\LambdaCompiler.Expressions.cs (4)
670
case
MemberTypes
.Field:
673
case
MemberTypes
.Property:
701
case
MemberTypes
.Field:
709
case
MemberTypes
.Property:
Microsoft\Scripting\Compiler\StackSpiller.cs (1)
372
node.Member.MemberType ==
MemberTypes
.Property) {
System.Data (16)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\Metadata\AttributeDataCache.cs (6)
50
private static Dictionary<
MemberTypes
, GetBaseMemberCallback> _baseMemberFinders;
57
_baseMemberFinders = new Dictionary<
MemberTypes
, GetBaseMemberCallback>();
58
_baseMemberFinders[
MemberTypes
.Constructor] = new GetBaseMemberCallback(GetBaseConstructorInfo);
59
_baseMemberFinders[
MemberTypes
.Method] = new GetBaseMemberCallback(GetBaseMethodInfo);
60
_baseMemberFinders[
MemberTypes
.Property] = new GetBaseMemberCallback(GetBasePropertyInfo);
61
_baseMemberFinders[
MemberTypes
.Event] = new GetBaseMemberCallback(GetBaseEventInfo);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (9)
330
MemberInfo[] infos = reflectType.GetMember(member,
MemberTypes
.Event, BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public);
343
MemberInfo[] infos = reflectType.GetMember(member,
MemberTypes
.Property, BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public);
1109
public override
MemberTypes
MemberType { get { return _baseReflectionType.MemberType; } }
1260
public override MemberInfo[] FindMembers(
MemberTypes
memberType, BindingFlags bindingAttr, MemberFilter filter, object filterCriteria)
1278
public override MemberInfo[] GetMember(string name,
MemberTypes
type, BindingFlags bindingAttr)
1595
if (member.MemberType ==
MemberTypes
.Method)
1835
public override
MemberTypes
MemberType { get { return _info.MemberType; } }
1894
public override
MemberTypes
MemberType { get { return _info.MemberType; } }
1970
public override
MemberTypes
MemberType { get { return _info.MemberType; } }
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignerMetadata.cs (1)
47
if (mi.MemberType ==
MemberTypes
.Property && !mi.Name.Equals("Name") && !mi.Name.Equals("ImplementationVersion"))
System.Data.Entity (7)
System\Data\Objects\ELinq\Funcletizer.cs (3)
259
if (member.Member.MemberType ==
MemberTypes
.Property)
731
if (me.Member.MemberType ==
MemberTypes
.Field)
736
else if (me.Member.MemberType ==
MemberTypes
.Property)
System\Data\Objects\ELinq\Translator.cs (1)
180
if (memberInfo.MemberType ==
MemberTypes
.Property)
System\Data\Objects\ELinq\TypeSystem.cs (3)
112
if (member.MemberType ==
MemberTypes
.Field)
119
else if (member.MemberType ==
MemberTypes
.Property)
131
else if (member.MemberType ==
MemberTypes
.Method)
System.Data.Linq (3)
SqlClient\Query\QueryConverter.cs (3)
898
case
MemberTypes
.Method: {
908
case
MemberTypes
.Field:
909
case
MemberTypes
.Property: {
System.Data.Services (3)
System\Data\Services\Internal\NeedSkipTokenVisitor.cs (1)
155
if (m.Member.MemberType !=
MemberTypes
.Property || m.Expression.NodeType != ExpressionType.Parameter)
System\Data\Services\Internal\PropertyAccessVisitor.cs (1)
93
if (m.Member.MemberType ==
MemberTypes
.Property)
System\Data\Services\Parsing\RequestQueryParser.cs (1)
2346
MemberInfo[] members = t.FindMembers(
MemberTypes
.Method, flags, Type.FilterName, methodName);
System.Data.Services.Client (3)
System\Data\Services\Client\ALinq\InputBinder.cs (1)
116
memberRef.Member.MemberType ==
MemberTypes
.Property &&
System\Data\Services\Client\ALinq\ResourceBinder.cs (2)
1480
if (me.Member.MemberType ==
MemberTypes
.Property)
1758
if (member.MemberType ==
MemberTypes
.Method)
System.Runtime.Serialization (8)
System\Runtime\Serialization\ClassDataContract.cs (2)
878
if (member.MemberType ==
MemberTypes
.Property)
900
else if (member.MemberType !=
MemberTypes
.Field)
System\Runtime\Serialization\CodeGenerator.cs (6)
739
if (memberInfo.MemberType ==
MemberTypes
.Field)
756
else if (memberInfo.MemberType ==
MemberTypes
.Property)
768
else if (memberInfo.MemberType ==
MemberTypes
.Method)
783
if (memberInfo.MemberType ==
MemberTypes
.Field)
799
else if (memberInfo.MemberType ==
MemberTypes
.Property)
810
else if (memberInfo.MemberType ==
MemberTypes
.Method)
System.ServiceModel (8)
System\ServiceModel\Description\TypeLoader.cs (3)
1266
if (memberInfo.MemberType !=
MemberTypes
.Field &&
1267
memberInfo.MemberType !=
MemberTypes
.Property)
1307
if (memberInfo.MemberType ==
MemberTypes
.Property)
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (3)
547
if ((member.MemberType & (
MemberTypes
.Field |
MemberTypes
.Property)) == 0)
555
part.Type = (member.MemberType ==
MemberTypes
.Property) ? ((PropertyInfo)member).PropertyType : ((FieldInfo)member).FieldType;
System\ServiceModel\Dispatcher\OperationFormatter.cs (2)
591
if (memberInfo.MemberType ==
MemberTypes
.Property)
604
if (memberInfo.MemberType ==
MemberTypes
.Property)
System.Web.Extensions (10)
UI\WebControls\ContextDataSourceView.cs (4)
124
if (mi.MemberType ==
MemberTypes
.Property) {
127
else if (mi.MemberType ==
MemberTypes
.Field) {
141
MemberInfo[] members = contextType.FindMembers(
MemberTypes
.Field |
MemberTypes
.Property,
UI\WebControls\Dynamic.cs (4)
1391
MemberInfo[] members = t.FindMembers(
MemberTypes
.Property |
MemberTypes
.Field,
1402
MemberInfo[] members = t.FindMembers(
MemberTypes
.Method,
1583
MemberInfo[] memberInfos = type.FindMembers(
MemberTypes
.Field,
UI\WebControls\LinqDataSourceView.cs (2)
614
MemberInfo[] members = contextType.FindMembers(
MemberTypes
.Field |
MemberTypes
.Property,
System.Workflow.Activities (30)
LocalService\CorrelationResolver.cs (2)
194
case
MemberTypes
.Field:
198
case
MemberTypes
.Property:
Rules\Parser\Parser.cs (19)
283
case
MemberTypes
.Method:
296
case
MemberTypes
.NestedType:
297
case
MemberTypes
.TypeInfo:
308
case
MemberTypes
.Field:
315
case
MemberTypes
.Property:
392
case
MemberTypes
.NestedType:
393
case
MemberTypes
.TypeInfo:
421
MemberInfo[] methods = computedType.GetMember(methodName,
MemberTypes
.Method, flags);
431
methods = parentInterfaces[i].GetMember(methodName,
MemberTypes
.Method, flags);
440
methods = typeof(object).GetMember(methodName,
MemberTypes
.Method, flags);
466
System.Diagnostics.Debug.Assert(methods[m].MemberType ==
MemberTypes
.Method, "expect methods only");
821
case
MemberTypes
.Field:
826
case
MemberTypes
.Property:
863
case
MemberTypes
.Method:
875
case
MemberTypes
.NestedType:
876
case
MemberTypes
.TypeInfo: // Same thing but only happens with DesignTimeTypes
1593
if (member.MemberType ==
MemberTypes
.Field)
2288
if (mi == null || mi.Length != 1 || (mi[0].MemberType !=
MemberTypes
.NestedType && mi[0].MemberType !=
MemberTypes
.TypeInfo))
Rules\RuleAttributes.cs (4)
341
MemberInfo[] members = contextType.GetMember(methodInvoked,
MemberTypes
.Method |
MemberTypes
.Property, BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.FlattenHierarchy);
415
MemberInfo[] members = contextType.GetMember(methodInvoked,
MemberTypes
.Method |
MemberTypes
.Property, BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.FlattenHierarchy);
Rules\RuleValidation.cs (5)
2366
MemberInfo[] results = targetType.GetMember(name,
MemberTypes
.Field |
MemberTypes
.Property, bindingFlags);
2383
System.Diagnostics.Debug.Assert(member.MemberType ==
MemberTypes
.Property, "only properties can be overloaded");
2444
MemberInfo[] members = targetType.GetMember(propertyName,
MemberTypes
.Property, bindingFlags);
3273
MemberInfo[] members = targetType.GetMember(methodName,
MemberTypes
.Method, methodBindingFlags);
System.Workflow.ComponentModel (21)
AuthoringOM\Bind.cs (8)
1366
members.AddRange(type.GetMember(memberName,
MemberTypes
.Field |
MemberTypes
.Property |
MemberTypes
.Event |
MemberTypes
.Method, BindingFlags.Public | BindingFlags.Static | BindingFlags.Instance | BindingFlags.FlattenHierarchy));
1373
members.AddRange(implementedInterface.GetMember(memberName,
MemberTypes
.Field |
MemberTypes
.Property |
MemberTypes
.Event |
MemberTypes
.Method, BindingFlags.Public | BindingFlags.Static | BindingFlags.Instance | BindingFlags.FlattenHierarchy));
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (7)
411
public override MemberInfo[] GetMember(string name,
MemberTypes
type, BindingFlags bindingAttr)
419
if ((type &
MemberTypes
.Method) != 0)
423
if ((type &
MemberTypes
.Constructor) != 0)
427
if ((type &
MemberTypes
.Property) != 0)
431
if ((type &
MemberTypes
.Event) != 0)
435
if ((type &
MemberTypes
.Field) != 0)
439
if ((type &
MemberTypes
.NestedType) != 0)
AuthoringOM\Compiler\TypeSystem\RTTypeWrapper.cs (6)
354
public override MemberInfo[] GetMember(string name,
MemberTypes
type, BindingFlags bindingAttr)
855
public override
MemberTypes
MemberType
926
public override
MemberTypes
MemberType
1029
public override
MemberTypes
MemberType
1148
public override
MemberTypes
MemberType
1219
public override
MemberTypes
MemberType
System.WorkflowServices (7)
System\Workflow\Activities\ContractType.cs (7)
319
public override MemberInfo[] GetMember(string name,
MemberTypes
type, BindingFlags bindingAttr)
324
if ((type &
MemberTypes
.Method) != 0)
330
if ((type &
MemberTypes
.Constructor) != 0)
336
if ((type &
MemberTypes
.Property) != 0)
342
if ((type &
MemberTypes
.Event) != 0)
348
if ((type &
MemberTypes
.Field) != 0)
354
if ((type &
MemberTypes
.NestedType) != 0)
System.Xml (19)
System\Xml\Serialization\CodeGenerator.cs (6)
730
if (memberInfo.MemberType ==
MemberTypes
.Field) {
741
System.Diagnostics.Debug.Assert(memberInfo.MemberType ==
MemberTypes
.Property);
762
if (memberInfo.MemberType ==
MemberTypes
.Field) {
773
System.Diagnostics.Debug.Assert(memberInfo.MemberType ==
MemberTypes
.Property);
797
if (memberInfo.MemberType ==
MemberTypes
.Field) {
807
System.Diagnostics.Debug.Assert(memberInfo.MemberType ==
MemberTypes
.Property);
System\Xml\Serialization\Models.cs (2)
137
if ((members[i].MemberType &
MemberTypes
.Property) == 0) {
143
if ((members[i].MemberType &
MemberTypes
.Property) != 0) {
System\Xml\Serialization\SoapReflectionImporter.cs (2)
375
if ((memberInfo.MemberType & (
MemberTypes
.Field |
MemberTypes
.Property)) == 0)
System\Xml\Serialization\Types.cs (1)
964
if(memberInfo != null && memberInfo.MemberType ==
MemberTypes
.Property) {
System\Xml\Serialization\XmlReflectionImporter.cs (2)
747
if ((memberInfo.MemberType & (
MemberTypes
.Field |
MemberTypes
.Property)) == 0)
System\Xml\Serialization\XmlSerializationILGen.cs (1)
571
Type memType = (memInfo.MemberType ==
MemberTypes
.Field) ? ((FieldInfo)memInfo).FieldType : ((PropertyInfo)memInfo).PropertyType;
System\Xml\Serialization\XmlSerializationReaderILGen.cs (1)
2811
ilg.ConvertValue(stackType, memInfo.MemberType ==
MemberTypes
.Field ? ((FieldInfo)memInfo).FieldType : ((PropertyInfo)memInfo).PropertyType);
System\Xml\Serialization\XmlSerializationWriter.cs (4)
3422
typeof(MemberInfo).FullName, typeof(
MemberTypes
).FullName));
3493
MemberTypes
memberType = memberInfos[i].MemberType;
3494
if (memberType ==
MemberTypes
.Property){
3502
else if (memberType ==
MemberTypes
.Field){