123 references to FlattenHierarchy
mscorlib (2)
system\rttype.cs (2)
2308
bindingFlags |= BindingFlags.Static | BindingFlags.
FlattenHierarchy
;
2431
if ((bindingFlags & BindingFlags.
FlattenHierarchy
) == 0 && isInherited)
PresentationBuildTasks (16)
Base\System\Windows\Markup\TypeConverterHelper.cs (1)
96
BindingFlags.Static | BindingFlags.
FlattenHierarchy
);
BuildTasks\Ms\Internal\MarkupCompiler\ParserExtension.cs (2)
301
BindingFlags.
FlattenHierarchy
);
307
BindingFlags.Instance | BindingFlags.Public | BindingFlags.
FlattenHierarchy
);
Framework\System\Windows\Markup\XamlReaderHelper.cs (1)
3528
BindingFlags.Static | BindingFlags.Public | BindingFlags.
FlattenHierarchy
);
Framework\System\Windows\Markup\XamlTypeMapper.cs (12)
1370
BindingFlags.
FlattenHierarchy
);
1401
BindingFlags.
FlattenHierarchy
);
1451
BindingFlags.
FlattenHierarchy
);
1462
BindingFlags.
FlattenHierarchy
);
1533
defaultBinding | BindingFlags.Static | BindingFlags.
FlattenHierarchy
);
1561
BindingFlags.Instance | BindingFlags.
FlattenHierarchy
| defaultBinding);
1611
BindingFlags.
FlattenHierarchy
);
1622
BindingFlags.
FlattenHierarchy
);
1915
BindingFlags.Public | BindingFlags.Instance | BindingFlags.
FlattenHierarchy
);
1950
BindingFlags.Public | BindingFlags.Instance | BindingFlags.
FlattenHierarchy
);
2012
BindingFlags flags = BindingFlags.Instance | BindingFlags.
FlattenHierarchy
| BindingFlags.Public;
2462
BindingFlags bf = BindingFlags.Public | BindingFlags.
FlattenHierarchy
| BindingFlags.Static;
PresentationFramework (23)
src\Framework\MS\Internal\Data\PropertyPathWorker.cs (1)
1329
PropertyInfo[] properties = type.GetProperties(BindingFlags.Public | BindingFlags.Instance | BindingFlags.
FlattenHierarchy
);
src\Framework\MS\Internal\SystemDataHelper.cs (2)
75
FieldInfo nullField = type.GetField("Null", BindingFlags.Static | BindingFlags.Public | BindingFlags.
FlattenHierarchy
);
82
PropertyInfo nullProperty = type.GetProperty("Null", BindingFlags.Static | BindingFlags.Public | BindingFlags.
FlattenHierarchy
);
src\Framework\System\Windows\Data\ObjectDataProvider.cs (1)
692
BindingFlags.
FlattenHierarchy
|
src\Framework\System\Windows\Markup\BamlCollectionHolder.cs (2)
149
BindingFlags.Public | BindingFlags.
FlattenHierarchy
,
198
BindingFlags.Public | BindingFlags.
FlattenHierarchy
,
src\Framework\System\Windows\Markup\BamlRecordReader.cs (1)
1389
BindingFlags.Instance | BindingFlags.Public | BindingFlags.
FlattenHierarchy
,
src\Framework\System\Windows\Markup\BamlWriter.cs (2)
1232
BindingFlags.
FlattenHierarchy
);
1244
BindingFlags.
FlattenHierarchy
);
src\Framework\System\Windows\Markup\XamlTypeMapper.cs (13)
953
BindingFlags flags = BindingFlags.Static | BindingFlags.Public | BindingFlags.
FlattenHierarchy
;
1370
BindingFlags.
FlattenHierarchy
);
1401
BindingFlags.
FlattenHierarchy
);
1451
BindingFlags.
FlattenHierarchy
);
1462
BindingFlags.
FlattenHierarchy
);
1533
defaultBinding | BindingFlags.Static | BindingFlags.
FlattenHierarchy
);
1561
BindingFlags.Instance | BindingFlags.
FlattenHierarchy
| defaultBinding);
1611
BindingFlags.
FlattenHierarchy
);
1622
BindingFlags.
FlattenHierarchy
);
1915
BindingFlags.Public | BindingFlags.Instance | BindingFlags.
FlattenHierarchy
);
1950
BindingFlags.Public | BindingFlags.Instance | BindingFlags.
FlattenHierarchy
);
2012
BindingFlags flags = BindingFlags.Instance | BindingFlags.
FlattenHierarchy
| BindingFlags.Public;
2462
BindingFlags bf = BindingFlags.Public | BindingFlags.
FlattenHierarchy
| BindingFlags.Static;
src\Framework\System\Windows\PropertyPath.cs (1)
663
result = ownerType.GetProperty(propertyName, BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.
FlattenHierarchy
);
System.Core (16)
Microsoft\Scripting\Ast\IndexExpression.cs (2)
228
BindingFlags flags = BindingFlags.Instance | BindingFlags.Public | BindingFlags.IgnoreCase | BindingFlags.
FlattenHierarchy
;
231
flags = BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.IgnoreCase | BindingFlags.
FlattenHierarchy
;
Microsoft\Scripting\Ast\MemberExpression.cs (12)
173
FieldInfo fi = expression.Type.GetField(fieldName, BindingFlags.Instance | BindingFlags.Public | BindingFlags.IgnoreCase | BindingFlags.
FlattenHierarchy
);
175
fi = expression.Type.GetField(fieldName, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.IgnoreCase | BindingFlags.
FlattenHierarchy
);
196
FieldInfo fi = type.GetField(fieldName, BindingFlags.Static | BindingFlags.Instance | BindingFlags.Public | BindingFlags.IgnoreCase | BindingFlags.
FlattenHierarchy
);
198
fi = type.GetField(fieldName, BindingFlags.Static | BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.IgnoreCase | BindingFlags.
FlattenHierarchy
);
220
PropertyInfo pi = expression.Type.GetProperty(propertyName, BindingFlags.Instance | BindingFlags.Public | BindingFlags.IgnoreCase | BindingFlags.
FlattenHierarchy
);
222
pi = expression.Type.GetProperty(propertyName, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.IgnoreCase | BindingFlags.
FlattenHierarchy
);
241
PropertyInfo pi = type.GetProperty(propertyName, BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public | BindingFlags.IgnoreCase | BindingFlags.
FlattenHierarchy
);
243
pi = type.GetProperty(propertyName, BindingFlags.Static | BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.IgnoreCase | BindingFlags.
FlattenHierarchy
);
332
PropertyInfo pi = expression.Type.GetProperty(propertyOrFieldName, BindingFlags.Instance | BindingFlags.Public | BindingFlags.IgnoreCase | BindingFlags.
FlattenHierarchy
);
335
FieldInfo fi = expression.Type.GetField(propertyOrFieldName, BindingFlags.Instance | BindingFlags.Public | BindingFlags.IgnoreCase | BindingFlags.
FlattenHierarchy
);
338
pi = expression.Type.GetProperty(propertyOrFieldName, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.IgnoreCase | BindingFlags.
FlattenHierarchy
);
341
fi = expression.Type.GetField(propertyOrFieldName, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.IgnoreCase | BindingFlags.
FlattenHierarchy
);
Microsoft\Scripting\Ast\MethodCallExpression.cs (2)
758
BindingFlags flags = BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.
FlattenHierarchy
;
779
BindingFlags flags = BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.
FlattenHierarchy
;
System.Data.Entity (1)
System\Data\Metadata\ObjectLayer\ObjectItemConventionAssemblyLoader.cs (1)
23
private const BindingFlags RootEntityPropertyReflectionBindingFlags = PropertyReflectionBindingFlags & ~BindingFlags.DeclaredOnly | BindingFlags.
FlattenHierarchy
;
System.Data.Entity.Design (2)
System\Data\Entity\Design\EntityCodeGenerator.cs (1)
604
BindingFlags flags = BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.
FlattenHierarchy
;
System\Data\EntityModel\Emitters\Utils.cs (1)
63
BindingFlags bindingFlags = BindingFlags.
FlattenHierarchy
| BindingFlags.NonPublic | BindingFlags.Public
System.Data.Linq (3)
Mapping\AttributedMetaModel.cs (1)
600
BindingFlags flags = BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.
FlattenHierarchy
;
Mapping\MappedMetaModel.cs (2)
637
BindingFlags flags = BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.
FlattenHierarchy
;
1666
BindingFlags flags = BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.
FlattenHierarchy
;
System.Data.Services (2)
System\Data\Services\Providers\BaseServiceProvider.cs (2)
354
BindingFlags.Instance | BindingFlags.Instance | BindingFlags.
FlattenHierarchy
,
505
foreach (MethodInfo methodInfo in type.GetMethods(WebUtil.PublicInstanceBindingFlags | BindingFlags.
FlattenHierarchy
))
System.Data.Services.Design (1)
System\Data\EntityModel\Emitters\Utils.cs (1)
67
const BindingFlags bindingFlags = BindingFlags.
FlattenHierarchy
| BindingFlags.NonPublic | BindingFlags.Public
System.Web (4)
UI\WebControls\ModelDataSourceView.cs (2)
1129
flags = BindingFlags.Public | BindingFlags.Static | BindingFlags.
FlattenHierarchy
;
1141
flags = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.
FlattenHierarchy
;
UI\WebControls\ObjectDataSourceView.cs (2)
1350
BindingFlags.
FlattenHierarchy
);
1471
BindingFlags.
FlattenHierarchy
);
System.Web.Extensions (1)
UI\WebControls\Expressions\MethodExpression.cs (1)
15
private static readonly BindingFlags MethodFlags = BindingFlags.Static | BindingFlags.Public | BindingFlags.Instance | BindingFlags.
FlattenHierarchy
;
System.Web.Services (1)
System\Web\Services\Protocols\ServerProtocol.cs (1)
181
BindingFlags.Public | BindingFlags.Static | BindingFlags.ExactBinding | BindingFlags.
FlattenHierarchy
,
System.Workflow.Activities (18)
Common\BasePropertyDescriptor.cs (3)
429
foreach (MemberInfo memberInfo in ownerType.GetMembers(BindingFlags.
FlattenHierarchy
| BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic))
563
MemberInfo memberInfo = component.GetType().GetProperty("ParameterBindings", BindingFlags.GetProperty | BindingFlags.Public | BindingFlags.Instance | BindingFlags.
FlattenHierarchy
| BindingFlags.ExactBinding, null, typeof(WorkflowParameterBindingCollection), new Type[] { }, new ParameterModifier[] { });
565
retVal = component.GetType().InvokeMember("ParameterBindings", BindingFlags.GetProperty | BindingFlags.Public | BindingFlags.Instance | BindingFlags.
FlattenHierarchy
| BindingFlags.ExactBinding, null, component, new object[] { }, CultureInfo.InvariantCulture) as WorkflowParameterBindingCollection;
Rules\Expressions.cs (3)
938
bindingFlags |= BindingFlags.Static | BindingFlags.
FlattenHierarchy
;
1092
BindingFlags bindingFlags = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.
FlattenHierarchy
;
1370
bindingFlags |= BindingFlags.Static | BindingFlags.
FlattenHierarchy
;
Rules\Parser\Parser.cs (7)
239
flags |= BindingFlags.Static | BindingFlags.
FlattenHierarchy
;
364
BindingFlags flags = BindingFlags.Public | BindingFlags.
FlattenHierarchy
| BindingFlags.Instance;
376
BindingFlags flags = BindingFlags.Public | BindingFlags.
FlattenHierarchy
| BindingFlags.Instance;
417
flags |= BindingFlags.Static | BindingFlags.
FlattenHierarchy
;
816
MemberInfo[] members = thisType.GetMembers(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.Static | BindingFlags.
FlattenHierarchy
);
1684
BindingFlags bindingFlags = BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Static | BindingFlags.
FlattenHierarchy
| BindingFlags.Instance;
1942
BindingFlags bindingFlags = BindingFlags.Public | BindingFlags.
FlattenHierarchy
| BindingFlags.Instance;
Rules\RuleAction.cs (1)
135
BindingFlags bindingFlags = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.
FlattenHierarchy
;
Rules\RuleAttributes.cs (3)
136
BindingFlags bindingFlags = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.
FlattenHierarchy
;
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 (1)
2361
BindingFlags bindingFlags = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.
FlattenHierarchy
;
System.Workflow.ComponentModel (27)
AuthoringOM\Bind.cs (3)
786
memberInfo = dataSourceType.GetMethod(path, BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.
FlattenHierarchy
, null, paramTypes.ToArray(), null);
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 (3)
653
BindingFlags supported = BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Static | BindingFlags.
FlattenHierarchy
| BindingFlags.Instance | BindingFlags.DeclaredOnly | BindingFlags.IgnoreCase;
775
if ((bindingAttr & BindingFlags.
FlattenHierarchy
) == 0)
856
if ((bindingAttr & BindingFlags.
FlattenHierarchy
) == 0)
AuthoringOM\Compiler\Validation\BindValidator.cs (3)
118
FieldInfo fieldInfo = resolvedType.GetField(dsName, BindingFlags.Public | BindingFlags.Static | BindingFlags.Instance | BindingFlags.
FlattenHierarchy
);
534
MethodInfo methodInfo = Helpers.GetMethodExactMatch(resolvedType, dsName, BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.
FlattenHierarchy
, null, paramTypes.ToArray(), null);
537
if (resolvedType.GetMethod(dsName, BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.
FlattenHierarchy
) != null)
AuthoringOM\Compiler\Validation\DependencyObjectValidator.cs (1)
208
MethodInfo methodInfo = Helpers.GetMethodExactMatch(objType, propValue as string, BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.Static | BindingFlags.
FlattenHierarchy
, null, paramTypes.ToArray(), null);
AuthoringOM\Design\DesignerHelpers.cs (1)
1622
BindingFlags bindingFlags = BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.Static | BindingFlags.
FlattenHierarchy
;
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (4)
576
members.AddRange(type.GetProperties(BindingFlags.Public | BindingFlags.Static | BindingFlags.Instance | BindingFlags.
FlattenHierarchy
));
582
members.AddRange(implementedInterface.GetProperties(BindingFlags.Public | BindingFlags.Instance | BindingFlags.
FlattenHierarchy
));
650
foreach (FieldInfo field in typeToGetPropertiesOn.GetFields(BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.
FlattenHierarchy
))//BindingFlags.Static is needed for the const fields
681
foreach (EventInfo eventInfo in typeToGetPropertiesOn.GetEvents(BindingFlags.Public | BindingFlags.Instance | BindingFlags.
FlattenHierarchy
))
AuthoringOM\Design\PropertyDescriptors.cs (2)
434
BindingFlags bindingFlags = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.
FlattenHierarchy
;
699
foreach (MemberInfo memberInfo in ownerType.GetMembers(BindingFlags.
FlattenHierarchy
| BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic))
AuthoringOM\Design\WorkflowInlining.cs (1)
448
Type workflowType = Activity.GetType().InvokeMember("TargetWorkflow", BindingFlags.GetProperty | BindingFlags.DeclaredOnly | BindingFlags.Public | BindingFlags.Instance | BindingFlags.
FlattenHierarchy
| BindingFlags.ExactBinding, null, Activity, new object[] { }, CultureInfo.InvariantCulture) as Type;
AuthoringOM\ScheduleChanges.cs (1)
896
foreach (PropertyInfo property in obj.GetType().GetProperties(BindingFlags.Public | BindingFlags.Instance | BindingFlags.
FlattenHierarchy
))
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (5)
1374
foreach (PropertyInfo property in obj.GetType().GetProperties(BindingFlags.Public | BindingFlags.Instance | BindingFlags.
FlattenHierarchy
))
1414
foreach (EventInfo evt in obj.GetType().GetEvents(BindingFlags.Public | BindingFlags.Instance | BindingFlags.
FlattenHierarchy
))
2080
FieldInfo fieldInfo = ownerType.GetField(propertyName + "Property", BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.
FlattenHierarchy
);
2082
fieldInfo = ownerType.GetField(propertyName + "Event", BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.
FlattenHierarchy
);
3096
contentProperty = parentObject.GetType().GetProperty(contentPropertyName, BindingFlags.Instance | BindingFlags.
FlattenHierarchy
| BindingFlags.Public);
Shared\BasePropertyDescriptor.cs (3)
428
foreach (MemberInfo memberInfo in ownerType.GetMembers(BindingFlags.
FlattenHierarchy
| BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic))
562
MemberInfo memberInfo = component.GetType().GetProperty("ParameterBindings", BindingFlags.GetProperty | BindingFlags.Public | BindingFlags.Instance | BindingFlags.
FlattenHierarchy
| BindingFlags.ExactBinding, null, typeof(WorkflowParameterBindingCollection), new Type[] { }, new ParameterModifier[] { });
564
retVal = component.GetType().InvokeMember("ParameterBindings", BindingFlags.GetProperty | BindingFlags.Public | BindingFlags.Instance | BindingFlags.
FlattenHierarchy
| BindingFlags.ExactBinding, null, component, new object[] { }, CultureInfo.InvariantCulture) as WorkflowParameterBindingCollection;
System.Workflow.Runtime (2)
DebugEngine\DebugController.cs (2)
1102
MethodInfo getInvocationListMethod = activity.GetType().GetMethod("System.Workflow.ComponentModel.IDependencyObjectAccessor.GetInvocationList", BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.
FlattenHierarchy
);
1104
foreach (EventInfo eventInfo in activity.GetType().GetEvents(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.
FlattenHierarchy
))
System.WorkflowServices (1)
System\Workflow\Activities\ContractType.cs (1)
658
if ((bindingAttr & BindingFlags.
FlattenHierarchy
) == 0)
WindowsBase (3)
Base\System\Windows\Markup\TypeConverterHelper.cs (3)
65
BindingFlags.NonPublic | BindingFlags.
FlattenHierarchy
);
76
BindingFlags.Static | BindingFlags.
FlattenHierarchy
);
96
BindingFlags.Static | BindingFlags.
FlattenHierarchy
);