493 references to Static
ComSvcConfig (5)
ComplusTypeValidator.cs (4)
37object resolver = typeOfInterfaceResolver.InvokeMember("Provider", BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.GetProperty, null, null, null, CultureInfo.InvariantCulture); 94object resolver = typeOfInterfaceResolver.InvokeMember("Provider", BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.GetProperty, null, null, null, CultureInfo.InvariantCulture); 170object resolver = typeOfInterfaceResolver.InvokeMember("Provider", BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.GetProperty, null, null, null, CultureInfo.InvariantCulture); 220object resolver = typeOfInterfaceResolver.InvokeMember("Provider", BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.GetProperty, null, null, null, CultureInfo.InvariantCulture);
SvcFileManager.cs (1)
217dictionary = (IDictionary<string, string>)serviceParser.InvokeMember("ParseServiceDirective", BindingFlags.InvokeMethod | BindingFlags.Static | BindingFlags.NonPublic,
mscorlib (32)
system\diagnostics\eventing\eventsource.cs (2)
3340foreach (FieldInfo staticField in nestedType.GetFields(BindingFlags.DeclaredOnly | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Static)) 6419FieldInfo[] staticFields = enumType.GetFields(BindingFlags.DeclaredOnly | BindingFlags.Public | BindingFlags.Static);
System\Diagnostics\Eventing\TraceLogging\Statics.cs (1)
416BindingFlags.DeclaredOnly | BindingFlags.Static | BindingFlags.NonPublic);
system\reflection\memberinfoserializationholder.cs (1)
107BindingFlags.Static | BindingFlags.OptionalParamBinding;
system\reflection\module.cs (2)
123private const BindingFlags DefaultLookup = BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public; 765BindingFlags.Static | BindingFlags.Instance |
system\reflection\propertyinfo.cs (2)
618return GetValue(obj, BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.Static, 639BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.Static,
system\reflection\RuntimeReflectionExtensions.cs (1)
8private const BindingFlags everything = BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Static;
system\rttype.cs (7)
2308bindingFlags |= BindingFlags.Static | BindingFlags.FlattenHierarchy; 2319bindingFlags |= BindingFlags.Static; 2434if ((bindingFlags & BindingFlags.Static) == 0) 3019bindingAttr &= ~BindingFlags.Static; 3397bindingAttr &= ~BindingFlags.Static; 3432bindingAttr &= ~BindingFlags.Static; 4531bindingFlags |= BindingFlags.Static;
system\runtime\interopservices\registrationservices.cs (1)
1009MethodInfo[] aMethods = currType.GetMethods(BindingFlags.Instance|BindingFlags.Public|BindingFlags.NonPublic|BindingFlags.Static);
system\runtime\interopservices\tceadaptergen\eventproviderwriter.cs (1)
18private const BindingFlags DefaultLookup = BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public;
system\runtime\interopservices\tceadaptergen\eventsinkhelperwriter.cs (1)
257ConstructorInfo DefaultBaseClsCons = typeof(Object).GetConstructor(BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public, null, new Type[0], null );
system\runtime\interopservices\windowsruntime\icustompropertyprovider.cs (2)
59BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public); 91BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public,
system\runtime\remoting\message.cs (2)
2818private const BindingFlags LookupAll = BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic; 2819private const BindingFlags LookupPublic = BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public;
system\runtime\remoting\remotingservices.cs (1)
49private const BindingFlags LookupAll = BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Static;
system\security\permissionset.cs (1)
472return (IPermission) Activator.CreateInstance(perm_type, BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public, null, objs, null );
system\security\permissiontoken.cs (2)
162MethodInfo method = cls.GetMethod( "GetTokenIndex", BindingFlags.Static | BindingFlags.NonPublic ); 250MethodInfo method = cls.GetMethod( "GetTokenIndex", BindingFlags.Static | BindingFlags.NonPublic );
system\security\util\xmlutil.cs (1)
422perm = (IPermission) Activator.CreateInstance(permClass, BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public, null, objs, null );
system\type.cs (4)
461return GetConstructorImpl(BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic, 1424FieldInfo[] flds = GetFields(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Static); 1868private const BindingFlags DefaultLookup = BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public; 1869internal const BindingFlags DeclaredOnlyLookup = BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
PresentationBuildTasks (14)
Base\System\Windows\Markup\TypeConverterHelper.cs (1)
96BindingFlags.Static | BindingFlags.FlattenHierarchy);
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (1)
1860FieldInfo fiEvent = miEvent.DeclaringType.GetField(eventName + EVENT, BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic);
BuildTasks\Ms\Internal\MarkupCompiler\ParserExtension.cs (1)
300BindingFlags.Public | BindingFlags.Static |
Framework\System\Windows\Markup\BamlRecords.cs (1)
2612FieldInfo enumField = ValueType.GetField(enumValue.Trim(), BindingFlags.Static | BindingFlags.Public | BindingFlags.IgnoreCase);
Framework\System\Windows\Markup\XamlReaderHelper.cs (2)
3220BindingFlags.Static | BindingFlags.Public); 3528BindingFlags.Static | BindingFlags.Public | BindingFlags.FlattenHierarchy);
Framework\System\Windows\Markup\XamlTypeMapper.cs (7)
1369BindingFlags.Static | 1450BindingFlags.Static | 1461BindingFlags.Static | 1533defaultBinding | BindingFlags.Static | BindingFlags.FlattenHierarchy); 1610BindingFlags.Static | 1621BindingFlags.Static | 2462BindingFlags bf = BindingFlags.Public | BindingFlags.FlattenHierarchy | BindingFlags.Static;
Framework\System\Windows\Markup\XmlAttributeProperties.cs (1)
352BindingFlags.Public | BindingFlags.Static);
PresentationCore (5)
Core\CSharp\System\Windows\CultureInfoConverter.cs (1)
146BindingFlags.Static | BindingFlags.InvokeMethod | BindingFlags.Public,
Core\CSharp\System\Windows\Input\CursorConverter.cs (1)
58return typeof(Cursors).GetProperties(BindingFlags.Public | BindingFlags.Static);
Core\CSharp\System\Windows\Markup\XmlLanguageConverter.cs (1)
139BindingFlags.Static | BindingFlags.InvokeMethod | BindingFlags.Public,
Shared\System\Windows\Ink\KnownIds.cs (2)
299System.Reflection.BindingFlags.Static | 309System.Reflection.BindingFlags.Static |
PresentationFramework (41)
parent\InternalApis\Clr\inc\LocalAppContext.cs (1)
92BindingFlags.Static | BindingFlags.Public, // binding flags
src\Framework\MS\Internal\Data\DefaultValueConverter.cs (3)
214BindingFlags.Public | BindingFlags.Static, 223BindingFlags.Public | BindingFlags.Static, 232BindingFlags.Public | BindingFlags.Static,
src\Framework\MS\Internal\Data\StaticPropertyChangedEventManager.cs (4)
284EventInfo spcEvent = _type.GetEvent(StaticPropertyChanged, BindingFlags.Public | BindingFlags.Static); 294EventInfo spcEvent = _type.GetEvent(StaticPropertyChanged, BindingFlags.Public | BindingFlags.Static); 614EventInfo eventInfo = type.GetEvent(eventName, BindingFlags.Public | BindingFlags.Static); 625EventInfo eventInfo = type.GetEvent(eventName, BindingFlags.Public | BindingFlags.Static);
src\Framework\MS\Internal\SystemDataHelper.cs (2)
75FieldInfo nullField = type.GetField("Null", BindingFlags.Static | BindingFlags.Public | BindingFlags.FlattenHierarchy); 82PropertyInfo nullProperty = type.GetProperty("Null", BindingFlags.Static | BindingFlags.Public | BindingFlags.FlattenHierarchy);
src\Framework\System\Windows\Data\ObjectDataProvider.cs (1)
690BindingFlags.Static |
src\Framework\System\Windows\Input\Command\CommandConverter.cs (2)
151PropertyInfo propertyInfo = ownerType.GetProperty(localName, BindingFlags.Public | BindingFlags.Static); 158FieldInfo fieldInfo = ownerType.GetField(localName, BindingFlags.Static | BindingFlags.Public);
src\Framework\System\Windows\Input\Command\CommandValueSerializer.cs (2)
49PropertyInfo propertyInfo = ownerType.GetProperty(localName, BindingFlags.Public | BindingFlags.Static); 54FieldInfo fieldInfo = ownerType.GetField(localName, BindingFlags.Static | BindingFlags.Public);
src\Framework\System\Windows\Markup\Baml2006\WpfKnownMemberInvoker.cs (1)
51BindingFlags flags = BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Static;
src\Framework\System\Windows\Markup\Baml2006\WpfMemberInvoker.cs (1)
71BindingFlags flags = BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Static;
src\Framework\System\Windows\Markup\BamlRecords.cs (1)
2612FieldInfo enumField = ValueType.GetField(enumValue.Trim(), BindingFlags.Static | BindingFlags.Public | BindingFlags.IgnoreCase);
src\Framework\System\Windows\Markup\BamlWriter.cs (2)
1231BindingFlags.Static | 1243BindingFlags.Static |
src\Framework\System\Windows\Markup\Primitives\ElementMarkupObject.cs (8)
232shouldSerializeMethod = ownerType.GetMethod(methodName, BindingFlags.Static | 235shouldSerializeMethod = ownerType.GetMethod(methodName, BindingFlags.Static | 238shouldSerializeMethod = ownerType.GetMethod(methodName, BindingFlags.Static | 241shouldSerializeMethod = ownerType.GetMethod(methodName, BindingFlags.Static | 255shouldSerializeMethod = instanceType.GetMethod(methodName, BindingFlags.Instance | BindingFlags.Static | 258shouldSerializeMethod = instanceType.GetMethod(methodName, BindingFlags.Instance | BindingFlags.Static | 261shouldSerializeMethod = instanceType.GetMethod(methodName, BindingFlags.Instance | BindingFlags.Static | 264shouldSerializeMethod = instanceType.GetMethod(methodName, BindingFlags.Instance | BindingFlags.Static |
src\Framework\System\Windows\Markup\XamlTypeMapper.cs (8)
953BindingFlags flags = BindingFlags.Static | BindingFlags.Public | BindingFlags.FlattenHierarchy; 1369BindingFlags.Static | 1450BindingFlags.Static | 1461BindingFlags.Static | 1533defaultBinding | BindingFlags.Static | BindingFlags.FlattenHierarchy); 1610BindingFlags.Static | 1621BindingFlags.Static | 2462BindingFlags bf = BindingFlags.Public | BindingFlags.FlattenHierarchy | BindingFlags.Static;
src\Framework\System\Windows\Markup\XmlAttributeProperties.cs (1)
352BindingFlags.Public | BindingFlags.Static);
src\Framework\System\Windows\PropertyPath.cs (1)
663result = ownerType.GetProperty(propertyName, BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.FlattenHierarchy);
src\Framework\System\Windows\Standard\ErrorCodes.cs (2)
357foreach (FieldInfo publicStaticField in typeof(HRESULT).GetFields(BindingFlags.Static | BindingFlags.Public)) 372foreach (FieldInfo publicStaticField in typeof(Win32Error).GetFields(BindingFlags.Static | BindingFlags.Public))
src\Shared\MS\Internal\WindowsRuntime\ReflectionHelper.cs (1)
427PropertyInfo p = type.GetProperty(propertyName, BindingFlags.Static);
System (14)
compmod\system\codedom\compiler\CodeCompiler.cs (1)
561MethodInfo methodInfo = typeof(Assembly).GetMethod("LoadImageSkipIntegrityCheck", BindingFlags.NonPublic | BindingFlags.Static);
compmod\system\componentmodel\AttributeCollection.cs (1)
331System.Reflection.FieldInfo field = reflect.GetField("Default", BindingFlags.Public | BindingFlags.Static | BindingFlags.GetField);
compmod\system\componentmodel\EnumConverter.cs (1)
256FieldInfo[] fields = reflectType.GetFields(BindingFlags.Public | BindingFlags.Static);
compmod\system\componentmodel\MemberDescriptor.cs (1)
438result = componentClass.GetMethod(name, BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic, null, args, null);
compmod\system\diagnostics\SwitchAttribute.cs (1)
73 BindingFlags.Static);
parent\parent\parent\InternalApis\Clr\inc\LocalAppContext.cs (1)
92BindingFlags.Static | BindingFlags.Public, // binding flags
regex\system\text\regularexpressions\RegexCompiler.cs (7)
181return typeof(RegexRunner).GetField(fieldname, BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static); 185return typeof(RegexRunner).GetMethod(methname, BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static); 3223Call(typeof(TimeSpan).GetMethod("FromTicks", BindingFlags.Static | BindingFlags.Public)); 3271Call(typeof(Regex).GetMethod("InitializeReferences", BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic)); 3289Call(typeof(Regex).GetMethod("ValidateMatchTimeout", BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic)); 3316MethodInfo addMethod = typeof(Hashtable).GetMethod("Add", BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic); 3346return typeof(Regex).GetField(fieldname, BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic);
sys\system\configuration\SettingsPropertyValue.cs (1)
124BindingFlags.NonPublic|BindingFlags.Static|BindingFlags.InvokeMethod,
System.Activities (19)
System\Activities\Debugger\StateManager.cs (1)
39static MethodInfo islandWorkerMethodInfo = threadWorkerControllerType.GetMethod("IslandWorker", BindingFlags.Static | BindingFlags.Public);
System\Activities\Debugger\XamlDebuggerXmlReader.cs (8)
42private static readonly MethodInfo startLineGetterMethodInfo = attachingType.GetMethod("GetStartLine", BindingFlags.Public | BindingFlags.Static); 43private static readonly MethodInfo startLineSetterMethodInfo = attachingType.GetMethod("SetStartLine", BindingFlags.Public | BindingFlags.Static); 44private static readonly MethodInfo startColumnGetterMethodInfo = attachingType.GetMethod("GetStartColumn", BindingFlags.Public | BindingFlags.Static); 45private static readonly MethodInfo startColumnSetterMethodInfo = attachingType.GetMethod("SetStartColumn", BindingFlags.Public | BindingFlags.Static); 46private static readonly MethodInfo endLineGetterMethodInfo = attachingType.GetMethod("GetEndLine", BindingFlags.Public | BindingFlags.Static); 47private static readonly MethodInfo endLineSetterMethodInfo = attachingType.GetMethod("SetEndLine", BindingFlags.Public | BindingFlags.Static); 48private static readonly MethodInfo endColumnGetterMethodInfo = attachingType.GetMethod("GetEndColumn", BindingFlags.Public | BindingFlags.Static); 49private static readonly MethodInfo endColumnSetterMethodInfo = attachingType.GetMethod("SetEndColumn", BindingFlags.Public | BindingFlags.Static);
System\Activities\Expressions\ExpressionServices.cs (6)
20static MethodInfo TryConvertBinaryExpressionHandle = typeof(ExpressionServices).GetMethod("TryConvertBinaryExpressionWorker", BindingFlags.NonPublic | BindingFlags.Static); 21static MethodInfo TryConvertUnaryExpressionHandle = typeof(ExpressionServices).GetMethod("TryConvertUnaryExpressionWorker", BindingFlags.NonPublic | BindingFlags.Static); 22static MethodInfo TryConvertMemberExpressionHandle = typeof(ExpressionServices).GetMethod("TryConvertMemberExpressionWorker", BindingFlags.NonPublic | BindingFlags.Static); 23static MethodInfo TryConvertArgumentExpressionHandle = typeof(ExpressionServices).GetMethod("TryConvertArgumentExpressionWorker", BindingFlags.NonPublic | BindingFlags.Static); 24static MethodInfo TryConvertReferenceMemberExpressionHandle = typeof(ExpressionServices).GetMethod("TryConvertReferenceMemberExpressionWorker", BindingFlags.NonPublic | BindingFlags.Static); 25static MethodInfo TryConvertIndexerReferenceHandle = typeof(ExpressionServices).GetMethod("TryConvertIndexerReferenceWorker", BindingFlags.NonPublic | BindingFlags.Static);
System\Activities\Runtime\CallbackWrapper.cs (1)
19static BindingFlags bindingFlags = BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.DeclaredOnly | BindingFlags.Static;
System\Activities\Statements\MethodResolver.cs (1)
22static readonly BindingFlags staticBindingFlags = BindingFlags.InvokeMethod | BindingFlags.Public | BindingFlags.Static;
System\Activities\XamlIntegration\ActivityXamlServices.cs (2)
514BindingFlags.NonPublic | BindingFlags.Static); 516BindingFlags.NonPublic | BindingFlags.Static | BindingFlags.GetProperty, null, null, null);
System.Activities.Presentation (4)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\Metadata\AttributeDataCache.cs (1)
31BindingFlags.Public | BindingFlags.Static;
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (2)
330MemberInfo[] infos = reflectType.GetMember(member, MemberTypes.Event, BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public); 343MemberInfo[] infos = reflectType.GetMember(member, MemberTypes.Property, BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public);
System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (1)
305MethodInfo initMethod = type.GetMethod("InitializeTypeProperties", BindingFlags.Static | BindingFlags.Public);
System.ComponentModel.DataAnnotations (4)
DataAnnotations\AssociatedMetadataTypeTypeDescriptor.cs (1)
146BindingFlags searchFlags = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static;
DataAnnotations\CustomValidationAttribute.cs (1)
224MethodInfo methodInfo = this._validatorType.GetMethod(this._method, BindingFlags.Public | BindingFlags.Static);
DataAnnotations\ValidationAttribute.cs (1)
240var property = this._errorMessageResourceType.GetProperty(this._errorMessageResourceName, BindingFlags.Public | BindingFlags.Static | BindingFlags.NonPublic);
parent\parent\parent\parent\parent\parent\InternalApis\Clr\inc\LocalAppContext.cs (1)
92BindingFlags.Static | BindingFlags.Public, // binding flags
System.Configuration (1)
System\Configuration\CallbackValidatorAttribute.cs (1)
36MethodInfo methodInfo = _type.GetMethod(_callbackMethodName, BindingFlags.Public | BindingFlags.Static);
System.Core (21)
Microsoft\Scripting\Actions\CallSite.cs (4)
272method = typeof(UpdateDelegates).GetMethod("UpdateAndExecuteVoid" + args.Length, BindingFlags.NonPublic | BindingFlags.Static); 273noMatchMethod = typeof(UpdateDelegates).GetMethod("NoMatchVoid" + args.Length, BindingFlags.NonPublic | BindingFlags.Static); 277method = typeof(UpdateDelegates).GetMethod("UpdateAndExecute" + (args.Length - 1), BindingFlags.NonPublic | BindingFlags.Static); 278noMatchMethod = typeof(UpdateDelegates).GetMethod("NoMatch" + (args.Length - 1), BindingFlags.NonPublic | BindingFlags.Static);
Microsoft\Scripting\Ast\BinaryExpression.cs (3)
689BindingFlags flags = BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic; 2569method = mathType.GetMethod("Pow", BindingFlags.Static | BindingFlags.Public); 2619method = mathType.GetMethod("Pow", BindingFlags.Static | BindingFlags.Public);
Microsoft\Scripting\Ast\LambdaExpression.cs (1)
268create = typeof(Expression<>).MakeGenericType(delegateType).GetMethod("Create", BindingFlags.Static | BindingFlags.NonPublic);
Microsoft\Scripting\Ast\MemberExpression.cs (5)
196FieldInfo fi = type.GetField(fieldName, BindingFlags.Static | BindingFlags.Instance | BindingFlags.Public | BindingFlags.IgnoreCase | BindingFlags.FlattenHierarchy); 198fi = type.GetField(fieldName, BindingFlags.Static | BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.IgnoreCase | BindingFlags.FlattenHierarchy); 241PropertyInfo pi = type.GetProperty(propertyName, BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public | BindingFlags.IgnoreCase | BindingFlags.FlattenHierarchy); 243pi = type.GetProperty(propertyName, BindingFlags.Static | BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.IgnoreCase | BindingFlags.FlattenHierarchy); 294flags |= (mi.IsStatic) ? BindingFlags.Static : BindingFlags.Instance;
Microsoft\Scripting\Ast\MethodCallExpression.cs (1)
779BindingFlags flags = BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.FlattenHierarchy;
Microsoft\Scripting\Ast\TypeUtils.cs (3)
32private const BindingFlags AnyStatic = BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic; 445MethodInfo[] eMethods = nnExprType.GetMethods(BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic); 450MethodInfo[] cMethods = nnConvType.GetMethods(BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic);
Microsoft\Scripting\Ast\UnaryExpression.cs (1)
377BindingFlags flags = BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic;
Microsoft\Scripting\Compiler\LambdaCompiler.Statements.cs (1)
558if (node.Comparison != typeof(string).GetMethod("op_Equality", BindingFlags.Public | BindingFlags.Static | BindingFlags.ExactBinding, null, new[] { typeof(string), typeof(string) }, null)) {
System\Linq\SequenceQuery.cs (2)
213BindingFlags flags = BindingFlags.Static | (m.Method.IsPublic ? BindingFlags.Public : BindingFlags.NonPublic); 315_seqMethods = typeof(Enumerable).GetMethods(BindingFlags.Static|BindingFlags.Public).ToLookup(m => m.Name);
System.Data (19)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\Metadata\AttributeDataCache.cs (1)
31BindingFlags.Public | BindingFlags.Static;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (2)
330MemberInfo[] infos = reflectType.GetMember(member, MemberTypes.Event, BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public); 343MemberInfo[] infos = reflectType.GetMember(member, MemberTypes.Property, BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (1)
305MethodInfo initMethod = type.GetMethod("InitializeTypeProperties", BindingFlags.Static | BindingFlags.Public);
fx\src\data\Microsoft\SqlServer\Server\SmiContextFactory.cs (1)
131System.Reflection.FieldInfo result = aType.GetField(fieldName, System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Static | System.Reflection.BindingFlags.GetField);
fx\src\data\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (2)
1124return t.InvokeMember("Null", BindingFlags.Public | BindingFlags.GetProperty | BindingFlags.Static, null, null, new Object[]{}, CultureInfo.InvariantCulture); 2382result = t.InvokeMember("Null", BindingFlags.Public | BindingFlags.GetProperty | BindingFlags.Static, null, null, new Object[]{}, CultureInfo.InvariantCulture);
fx\src\data\System\Data\Common\DbProviderFactories.cs (3)
72System.Reflection.FieldInfo providerInstance = providerType.GetField(Instance, System.Reflection.BindingFlags.DeclaredOnly|System.Reflection.BindingFlags.Public|System.Reflection.BindingFlags.Static); 144System.Reflection.FieldInfo providerInstance = providerType.GetField(Instance, System.Reflection.BindingFlags.DeclaredOnly | System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.Static); 190System.Reflection.FieldInfo providerInstance = providerType.GetField(Instance, System.Reflection.BindingFlags.DeclaredOnly | System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.Static);
fx\src\data\System\Data\Common\GreenMethods.cs (1)
39SystemDataSqlClientSqlProviderServices_Instance_FieldInfo = t.GetField("Instance", BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Static);
fx\src\data\System\Data\Common\SQLTypes\SqlUDTStorage.cs (2)
46System.Reflection.PropertyInfo propInfo = type.GetProperty("Null", System.Reflection.BindingFlags.Public |System.Reflection.BindingFlags.Static); 50System.Reflection.FieldInfo fieldInfo = type.GetField("Null", System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.Static);
fx\src\data\System\Data\DataColumn.cs (1)
676System.Reflection.PropertyInfo propInfo = this.dataType.GetProperty("Null", System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.Static);
fx\src\data\System\Data\Sql\sqlnorm.cs (2)
106BindingFlags.Public | BindingFlags.Static); 108FieldInfo fi = t.GetField("Null", BindingFlags.Public | BindingFlags.Static);
fx\src\data\System\Data\SqlClient\SqlCachedBuffer.cs (1)
134MethodInfo createSqlReaderMethodInfo = typeof(System.Xml.XmlReader).GetMethod("CreateSqlReader", BindingFlags.Static | BindingFlags.NonPublic);
fx\src\data\System\Data\SqlClient\SqlConnection.cs (1)
2254o = t.InvokeMember("Null", BindingFlags.Public | BindingFlags.GetProperty | BindingFlags.Static, null, null, new Object[]{}, CultureInfo.InvariantCulture);
fx\src\data\System\Data\SQLTypes\SqlXml.cs (1)
140s_createSqlReaderMethodInfo = typeof(System.Xml.XmlReader).GetMethod("CreateSqlReader", BindingFlags.Static | BindingFlags.NonPublic);
System.Data.DataSetExtensions (1)
System\Data\DataRowExtensions.cs (1)
211.GetMethod("NullableField", System.Reflection.BindingFlags.Static | System.Reflection.BindingFlags.NonPublic)
System.Data.Entity (80)
System\Data\Common\CommandTrees\ExpressionBuilder\DbExpressionBuilder.cs (1)
1816typeof(TInstance).GetProperties(BindingFlags.Static).Length == 0 &&
System\Data\Common\Internal\Materialization\Shaper.cs (1)
833return (T)type.GetMethod(MethodBase.GetCurrentMethod().Name, BindingFlags.NonPublic | BindingFlags.Static).Invoke(null, new object[] { reader, ordinal });
System\Data\Common\Internal\Materialization\Translator.cs (11)
585private static readonly MethodInfo Translator_BinaryEquals = typeof(Translator).GetMethod("BinaryEquals", BindingFlags.NonPublic | BindingFlags.Static); 586private static readonly MethodInfo Translator_CheckedConvert = typeof(Translator).GetMethod("CheckedConvert", BindingFlags.NonPublic | BindingFlags.Static); 587private static readonly MethodInfo Translator_Compile = typeof(Translator).GetMethod("Compile", BindingFlags.NonPublic | BindingFlags.Static, null, new Type[] { typeof(Expression) }, null); 591private static readonly PropertyInfo EntityWrapperFactory_NullWrapper = typeof(EntityWrapperFactory).GetProperty("NullWrapper", BindingFlags.Static | BindingFlags.NonPublic); 599private static readonly PropertyInfo SnapshotChangeTrackingStrategy_Instance = typeof(SnapshotChangeTrackingStrategy).GetProperty("Instance", BindingFlags.Static | BindingFlags.Public); 601private static readonly MethodInfo EntityWrapperFactory_GetPocoPropertyAccessorStrategyFunc = typeof(EntityWrapperFactory).GetMethod("GetPocoPropertyAccessorStrategyFunc", BindingFlags.NonPublic | BindingFlags.Static); 602private static readonly MethodInfo EntityWrapperFactory_GetNullPropertyAccessorStrategyFunc = typeof(EntityWrapperFactory).GetMethod("GetNullPropertyAccessorStrategyFunc", BindingFlags.NonPublic | BindingFlags.Static); 603private static readonly MethodInfo EntityWrapperFactory_GetEntityWithChangeTrackerStrategyFunc = typeof(EntityWrapperFactory).GetMethod("GetEntityWithChangeTrackerStrategyFunc", BindingFlags.NonPublic | BindingFlags.Static); 604private static readonly MethodInfo EntityWrapperFactory_GetSnapshotChangeTrackingStrategyFunc = typeof(EntityWrapperFactory).GetMethod("GetSnapshotChangeTrackingStrategyFunc", BindingFlags.NonPublic | BindingFlags.Static); 605private static readonly MethodInfo EntityWrapperFactory_GetEntityWithKeyStrategyStrategyFunc = typeof(EntityWrapperFactory).GetMethod("GetEntityWithKeyStrategyStrategyFunc", BindingFlags.NonPublic | BindingFlags.Static); 606private static readonly MethodInfo EntityWrapperFactory_GetPocoEntityKeyStrategyFunc = typeof(EntityWrapperFactory).GetMethod("GetPocoEntityKeyStrategyFunc", BindingFlags.NonPublic | BindingFlags.Static);
System\Data\Metadata\AspProxy.cs (1)
227BindingFlags.InvokeMethod | BindingFlags.Static | BindingFlags.Public
System\Data\Metadata\Edm\ItemCollection.cs (1)
220MethodInfo mi = typeof(ItemCollection).GetMethod("GenericGetItems", BindingFlags.NonPublic | BindingFlags.Static);
System\Data\Metadata\Edm\LightweightCodeGenerator.cs (4)
385gen.Emit(OpCodes.Call, typeof(Type).GetMethod("GetTypeFromHandle", BindingFlags.Static | BindingFlags.Public)); 389gen.Emit(OpCodes.Call, typeof(EntityUtil).GetMethod("ThrowSetInvalidValue", BindingFlags.Static | BindingFlags.NonPublic, null, new Type[] { typeof(object),typeof(Type),typeof(string),typeof(string)},null)); 444gen.Emit(OpCodes.Ldsfld, typeof(LightweightCodeGenerator).GetField("MemberAccessReflectionPermission", BindingFlags.Static | BindingFlags.NonPublic)); 475MethodInfo genericCreateRelatedEndMethod = typeof(LightweightCodeGenerator).GetMethod("CreateGetRelatedEndMethod", BindingFlags.NonPublic | BindingFlags.Static, null, new Type[] { typeof(AssociationEndMember), typeof(AssociationEndMember), typeof(NavigationPropertyAccessor), typeof(NavigationPropertyAccessor) }, null);
System\Data\Objects\ELinq\InitializerFacet.cs (2)
33internal static readonly MethodInfo UserExpressionMarker = typeof(InitializerMetadata).GetMethod("MarkAsUserExpression", BindingFlags.NonPublic | BindingFlags.Static); 467BindingFlags.Static | BindingFlags.Public);
System\Data\Objects\ELinq\LinqExpressionNormalizer.cs (1)
423private static readonly MethodInfo s_relationalOperatorPlaceholderMethod = typeof(LinqExpressionNormalizer).GetMethod("RelationalOperatorPlaceholder", BindingFlags.Static | BindingFlags.NonPublic);
System\Data\Objects\ELinq\MethodCallTranslator.cs (36)
589stringsType.GetMethod("Mid", BindingFlags.Public | BindingFlags.Static, null, new Type[] { typeof(string), typeof(int) }, null), 590stringsType.GetMethod("Mid", BindingFlags.Public | BindingFlags.Static, null, new Type[] { typeof(string), typeof(int), typeof(int) }, null)); 822typeof(Math).GetMethod("Ceiling", BindingFlags.Public | BindingFlags.Static, null, new Type[] { typeof(decimal) }, null), 823typeof(Math).GetMethod("Ceiling", BindingFlags.Public | BindingFlags.Static, null, new Type[] { typeof(double) }, null), 824typeof(Math).GetMethod("Floor", BindingFlags.Public | BindingFlags.Static, null, new Type[] { typeof(decimal) }, null), 825typeof(Math).GetMethod("Floor", BindingFlags.Public | BindingFlags.Static, null, new Type[] { typeof(double) }, null), 826typeof(Math).GetMethod("Round", BindingFlags.Public | BindingFlags.Static, null, new Type[] { typeof(decimal) }, null), 827typeof(Math).GetMethod("Round", BindingFlags.Public | BindingFlags.Static, null, new Type[] { typeof(double) }, null), 828typeof(Math).GetMethod("Round", BindingFlags.Public | BindingFlags.Static, null, new Type[] { typeof(decimal), typeof(int) }, null), 829typeof(Math).GetMethod("Round", BindingFlags.Public | BindingFlags.Static, null, new Type[] { typeof(double), typeof(int) }, null), 832typeof(Decimal).GetMethod("Floor", BindingFlags.Public | BindingFlags.Static, null, new Type[] { typeof(decimal) }, null), 833typeof(Decimal).GetMethod("Ceiling", BindingFlags.Public | BindingFlags.Static, null, new Type[] { typeof(decimal) }, null), 834typeof(Decimal).GetMethod("Round", BindingFlags.Public | BindingFlags.Static, null, new Type[] { typeof(decimal) }, null), 835typeof(Decimal).GetMethod("Round", BindingFlags.Public | BindingFlags.Static, null, new Type[] { typeof(decimal), typeof(int) }, null), 847result.Add(typeof(Math).GetMethod("Abs", BindingFlags.Public | BindingFlags.Static, null, new Type[] { argType }, null)); 919yield return typeof(EntityFunctions).GetMethod(ExpressionConverter.AsUnicode, BindingFlags.Public | BindingFlags.Static, null, new Type[] { typeof(string) }, null); 930yield return typeof(EntityFunctions).GetMethod(ExpressionConverter.AsNonUnicode, BindingFlags.Public | BindingFlags.Static, null, new Type[] { typeof(string) }, null); 940typeof(Math).GetMethod("Pow", BindingFlags.Public | BindingFlags.Static, null, new Type[] { typeof(double), typeof(double) }, null), 960typeof(Guid).GetMethod("NewGuid", BindingFlags.Public | BindingFlags.Static, null, Type.EmptyTypes, null), 1260yield return typeof(String).GetMethod("IsNullOrEmpty", BindingFlags.Public | BindingFlags.Static, null, new Type[] { typeof(string) }, null); 1289yield return typeof(String).GetMethod("Concat", BindingFlags.Public | BindingFlags.Static, null, new Type[] { typeof(string), typeof(string) }, null); 1290yield return typeof(String).GetMethod("Concat", BindingFlags.Public | BindingFlags.Static, null, new Type[] { typeof(string), typeof(string), typeof(string) }, null); 1291yield return typeof(String).GetMethod("Concat", BindingFlags.Public | BindingFlags.Static, null, new Type[] { typeof(string), typeof(string), typeof(string), typeof(string) }, null); 1403yield return stringsType.GetMethod("Trim", BindingFlags.Public | BindingFlags.Static, null, new Type[] { typeof(string) }, null); 1404yield return stringsType.GetMethod("LTrim", BindingFlags.Public | BindingFlags.Static, null, new Type[] { typeof(string) }, null); 1405yield return stringsType.GetMethod("RTrim", BindingFlags.Public | BindingFlags.Static, null, new Type[] { typeof(string) }, null); 1406yield return stringsType.GetMethod("Left", BindingFlags.Public | BindingFlags.Static, null, new Type[] { typeof(string), typeof(int) }, null); 1407yield return stringsType.GetMethod("Right", BindingFlags.Public | BindingFlags.Static, null, new Type[] { typeof(string), typeof(int) }, null); 1411yield return dateTimeType.GetMethod("Year", BindingFlags.Public | BindingFlags.Static, null, new Type[] { typeof(DateTime) }, null); 1412yield return dateTimeType.GetMethod("Month", BindingFlags.Public | BindingFlags.Static, null, new Type[] { typeof(DateTime) }, null); 1413yield return dateTimeType.GetMethod("Day", BindingFlags.Public | BindingFlags.Static, null, new Type[] { typeof(DateTime) }, null); 1414yield return dateTimeType.GetMethod("Hour", BindingFlags.Public | BindingFlags.Static, null, new Type[] { typeof(DateTime) }, null); 1415yield return dateTimeType.GetMethod("Minute", BindingFlags.Public | BindingFlags.Static, null, new Type[] { typeof(DateTime) }, null); 1416yield return dateTimeType.GetMethod("Second", BindingFlags.Public | BindingFlags.Static, null, new Type[] { typeof(DateTime) }, null); 1447MethodInfo methodInfo = declaringType.GetMethod(methodName, BindingFlags.Public | BindingFlags.Static, null, argumentTypes, null); 1490yield return dateAndTimeType.GetMethod("DatePart", BindingFlags.Public | BindingFlags.Static, null,
System\Data\Objects\ELinq\ReflectionUtil.cs (2)
498return typeof(Queryable).GetMethods(BindingFlags.Static | BindingFlags.Public).Concat( 499typeof(Enumerable).GetMethods(BindingFlags.Static | BindingFlags.Public));
System\Data\Objects\ELinq\Translator.cs (5)
228propertyInfo = propertyInfo.DeclaringType.GetGenericTypeDefinition().GetProperty(propertyInfo.Name, BindingFlags.DeclaredOnly | BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public); 573yield return GetProperty(typeof(DateTime), "Now", BindingFlags.Public | BindingFlags.Static, ExpressionConverter.CurrentDateTime); 574yield return GetProperty(typeof(DateTime), "UtcNow", BindingFlags.Public | BindingFlags.Static, ExpressionConverter.CurrentUtcDateTime); 575yield return GetProperty(typeof(DateTimeOffset), "Now", BindingFlags.Public | BindingFlags.Static, ExpressionConverter.CurrentDateTimeOffset); 621return vbAssembly.GetType(s_dateAndTimeTypeFullName).GetProperty("Now", BindingFlags.Public | BindingFlags.Static);
System\Data\Objects\ELinq\TypeSystem.cs (2)
24"GetDefault", BindingFlags.Static | BindingFlags.NonPublic); 139BindingFlags.Static | BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic))
System\Data\Objects\Internal\EntityProxyFactory.cs (4)
463FieldInfo interceptorField = proxyType.GetField(LazyLoadImplementor.GetInterceptorFieldName(member.Name), BindingFlags.DeclaredOnly | BindingFlags.Static | BindingFlags.NonPublic); 466Delegate interceptorDelegate = typeof(LazyLoadBehavior).GetMethod("GetInterceptorDelegate", BindingFlags.NonPublic | BindingFlags.Static). 497var resetFKSetterFlagField = proxyType.GetField(ResetFKSetterFlagFieldName, BindingFlags.DeclaredOnly | BindingFlags.Static | BindingFlags.NonPublic); 541var compareByteArraysField = proxyType.GetField(CompareByteArraysFieldName, BindingFlags.DeclaredOnly | BindingFlags.Static | BindingFlags.NonPublic);
System\Data\Objects\Internal\EntityWrapperFactory.cs (3)
92createDelegate = typeof(EntityWrapperFactory).GetMethod("CreateWrapperDelegateTypedLightweight", BindingFlags.NonPublic | BindingFlags.Static); 98createDelegate = typeof(EntityWrapperFactory).GetMethod("CreateWrapperDelegateTypedWithRelationships", BindingFlags.NonPublic | BindingFlags.Static); 102createDelegate = typeof(EntityWrapperFactory).GetMethod("CreateWrapperDelegateTypedWithoutRelationships", BindingFlags.NonPublic | BindingFlags.Static);
System\Data\Objects\Internal\ObjectQueryState.cs (1)
314MethodInfo createMethod = typeof(ObjectQueryState).GetMethod("CreateObjectQuery", BindingFlags.Static | BindingFlags.Public);
System\Data\Objects\Internal\PocoPropertyAccessorStrategy.cs (2)
23private static readonly MethodInfo s_AddToCollectionGeneric = typeof(PocoPropertyAccessorStrategy).GetMethod("AddToCollection", BindingFlags.NonPublic | BindingFlags.Static); 24private static readonly MethodInfo s_RemoveFromCollectionGeneric = typeof(PocoPropertyAccessorStrategy).GetMethod("RemoveFromCollection", BindingFlags.NonPublic | BindingFlags.Static);
System\Data\SqlClient\SqlSpatialServices.cs (2)
264return this.SqlTypes.SqlGeographyType.GetMethod(methodName, BindingFlags.Public | BindingFlags.Static, null, argTypes, null); 274return this.SqlTypes.SqlGeometryType.GetMethod(methodName, BindingFlags.Public | BindingFlags.Static, null, argTypes, null);
System\Data\SqlClient\SqlTypesAssembly.cs (1)
522var staticCtorMethod = spatialType.GetMethod(methodName, BindingFlags.Public | BindingFlags.Static);
System.Data.Entity.Design (1)
System\Data\EntityModel\Emitters\Utils.cs (1)
64| BindingFlags.Instance | BindingFlags.Static;
System.Data.Linq (9)
DbConvert.cs (1)
168(mi = toType.GetMethod("Parse", BindingFlags.Static | BindingFlags.Public, null, StringArg, null)) != null) {
SqlClient\Common\TypeSystem.cs (3)
121_sequenceMethods = typeof(Enumerable).GetMethods(BindingFlags.Static | BindingFlags.Public).ToLookup(m => m.Name); 137_queryMethods = typeof(Queryable).GetMethods(BindingFlags.Static | BindingFlags.Public).ToLookup(m => m.Name); 148MethodInfo mi = type.GetMethods(BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic)
SqlClient\Reader\ObjectReaderCompiler.cs (5)
1781MethodInfo miGetTypeFromHandle = typeof(Type).GetMethod("GetTypeFromHandle", BindingFlags.Static | BindingFlags.Public); 1784MethodInfo miChangeType = typeof(DBConvert).GetMethod("ChangeType", BindingFlags.Static | BindingFlags.Public, null, new Type[] { typeof(object), typeof(Type) }, null); 2064MethodInfo miEquals = typeof(object).GetMethod("Equals", BindingFlags.Static | BindingFlags.Public); 2089"GetTypeFromHandle", BindingFlags.Static | BindingFlags.Public)); 2093.GetMethod("ErrorAssignmentToNull", BindingFlags.Static | BindingFlags.Public);
System.Data.Services (53)
System\Data\Services\DataServiceConfiguration.cs (1)
948BindingFlags flags = BindingFlags.DeclaredOnly | BindingFlags.Static | BindingFlags.Public;
System\Data\Services\OpenTypes\OpenTypeMethods.cs (18)
29internal static readonly MethodInfo AddMethodInfo = typeof(OpenTypeMethods).GetMethod("Add", BindingFlags.Static | BindingFlags.Public); 32internal static readonly MethodInfo AndAlsoMethodInfo = typeof(OpenTypeMethods).GetMethod("AndAlso", BindingFlags.Static | BindingFlags.Public); 35internal static readonly MethodInfo ConvertMethodInfo = typeof(OpenTypeMethods).GetMethod("Convert", BindingFlags.Static | BindingFlags.Public); 38internal static readonly MethodInfo DivideMethodInfo = typeof(OpenTypeMethods).GetMethod("Divide", BindingFlags.Static | BindingFlags.Public); 41internal static readonly MethodInfo EqualMethodInfo = typeof(OpenTypeMethods).GetMethod("Equal", BindingFlags.Static | BindingFlags.Public); 44internal static readonly MethodInfo GreaterThanMethodInfo = typeof(OpenTypeMethods).GetMethod("GreaterThan", BindingFlags.Static | BindingFlags.Public); 47internal static readonly MethodInfo GreaterThanOrEqualMethodInfo = typeof(OpenTypeMethods).GetMethod("GreaterThanOrEqual", BindingFlags.Static | BindingFlags.Public); 50internal static readonly MethodInfo LessThanMethodInfo = typeof(OpenTypeMethods).GetMethod("LessThan", BindingFlags.Static | BindingFlags.Public); 53internal static readonly MethodInfo LessThanOrEqualMethodInfo = typeof(OpenTypeMethods).GetMethod("LessThanOrEqual", BindingFlags.Static | BindingFlags.Public); 56internal static readonly MethodInfo ModuloMethodInfo = typeof(OpenTypeMethods).GetMethod("Modulo", BindingFlags.Static | BindingFlags.Public); 59internal static readonly MethodInfo MultiplyMethodInfo = typeof(OpenTypeMethods).GetMethod("Multiply", BindingFlags.Static | BindingFlags.Public); 62internal static readonly MethodInfo NegateMethodInfo = typeof(OpenTypeMethods).GetMethod("Negate", BindingFlags.Static | BindingFlags.Public); 65internal static readonly MethodInfo NotMethodInfo = typeof(OpenTypeMethods).GetMethod("Not", BindingFlags.Static | BindingFlags.Public); 68internal static readonly MethodInfo NotEqualMethodInfo = typeof(OpenTypeMethods).GetMethod("NotEqual", BindingFlags.Static | BindingFlags.Public); 71internal static readonly MethodInfo OrElseMethodInfo = typeof(OpenTypeMethods).GetMethod("OrElse", BindingFlags.Static | BindingFlags.Public); 74internal static readonly MethodInfo SubtractMethodInfo = typeof(OpenTypeMethods).GetMethod("Subtract", BindingFlags.Static | BindingFlags.Public); 77internal static readonly MethodInfo TypeIsMethodInfo = typeof(OpenTypeMethods).GetMethod("TypeIs", BindingFlags.Static | BindingFlags.Public); 82BindingFlags.Static | BindingFlags.Public,
System\Data\Services\Parsing\FunctionDescription.cs (2)
166BindingFlags.Static | BindingFlags.Public, 455BindingFlags flags = BindingFlags.Public | (instance ? BindingFlags.Instance : BindingFlags.Static);
System\Data\Services\Parsing\RequestQueryParser.cs (8)
150.GetMethods(BindingFlags.Public | BindingFlags.Static) 155.GetMethods(BindingFlags.Public | BindingFlags.Static) 160.GetMethods(BindingFlags.Public | BindingFlags.Static) 165.GetMethods(BindingFlags.Public | BindingFlags.Static) 170.GetMethods(BindingFlags.Public | BindingFlags.Static) 175.GetMethod("ByteArraysEqual", BindingFlags.NonPublic | BindingFlags.Static); 179.GetMethod("ByteArraysNotEqual", BindingFlags.NonPublic | BindingFlags.Static); 2343BindingFlags flags = BindingFlags.Public | BindingFlags.DeclaredOnly | BindingFlags.Static | BindingFlags.Instance;
System\Data\Services\Providers\BasicExpandProvider.cs (7)
238query = (IQueryable) typeof(BasicExpandProvider).GetMethod("InvokeOrderBy", BindingFlags.Static | BindingFlags.NonPublic) 280query = (IQueryable) typeof(BasicExpandProvider).GetMethod("InvokeOrderBy", BindingFlags.Static | BindingFlags.NonPublic) 305query = (IQueryable) typeof(BasicExpandProvider).GetMethod("InvokeSkipOrTake", BindingFlags.Static | BindingFlags.NonPublic) 312query = (IQueryable) typeof(BasicExpandProvider).GetMethod("InvokeSkipOrTake", BindingFlags.Static | BindingFlags.NonPublic) 572.GetMethods(BindingFlags.Static | BindingFlags.Public) 577.GetMethods(BindingFlags.Static | BindingFlags.Public) 582.GetMethod("Take", BindingFlags.Static | BindingFlags.Public);
System\Data\Services\Providers\DataServiceProviderMethods.cs (4)
30BindingFlags.Static | BindingFlags.Public, 38BindingFlags.Static | BindingFlags.Public, 46BindingFlags.Static | BindingFlags.Public); 51BindingFlags.Static | BindingFlags.Public);
System\Data\Services\Providers\ObjectContextServiceProvider.cs (1)
274MethodInfo includeMethod = typeof(ObjectContextServiceProvider).GetMethod("Include", BindingFlags.Static | BindingFlags.NonPublic);
System\Data\Services\RequestQueryProcessor.cs (3)
34private static readonly MethodInfo InvokeSkipMethodInfo = typeof(RequestQueryProcessor).GetMethod("InvokeSkip", BindingFlags.NonPublic | BindingFlags.Static); 37private static readonly MethodInfo InvokeTakeMethodInfo = typeof(RequestQueryProcessor).GetMethod("InvokeTake", BindingFlags.NonPublic | BindingFlags.Static); 40private static readonly MethodInfo countQueryResultMethodInfo = typeof(RequestQueryProcessor).GetMethod("CountQueryResult", BindingFlags.NonPublic | BindingFlags.Static);
System\Data\Services\RequestUriProcessor.cs (7)
44private static readonly MethodInfo InvokeWhereMethodInfo = typeof(RequestUriProcessor).GetMethod("InvokeWhere", BindingFlags.NonPublic | BindingFlags.Static); 413MethodInfo method = typeof(RequestUriProcessor).GetMethod("InvokeSelect", BindingFlags.Static | BindingFlags.NonPublic); 1120MethodInfo method = typeof(RequestUriProcessor).GetMethod("InvokeSelect", BindingFlags.Static | BindingFlags.NonPublic); 1145MethodInfo method = typeof(RequestUriProcessor).GetMethod("InvokeSelectMany", BindingFlags.Static | BindingFlags.NonPublic); 1164MethodInfo method = typeof(RequestUriProcessor).GetMethod("InvokeSelect", BindingFlags.Static | BindingFlags.NonPublic); 1184MethodInfo method = typeof(RequestUriProcessor).GetMethod("InvokeSelect", BindingFlags.Static | BindingFlags.NonPublic); 1205MethodInfo method = typeof(RequestUriProcessor).GetMethod("InvokeSelectMany", BindingFlags.Static | BindingFlags.NonPublic);
System\Data\Services\Serializers\SyndicationSerializer.cs (1)
787MethodInfo methodWritePrimitiveValue = typeof(SyndicationSerializer).GetMethod("WritePrimitiveValue", BindingFlags.Static | BindingFlags.NonPublic);
System\Data\Services\WebUtil.cs (1)
49BindingFlags.Static | BindingFlags.NonPublic);
System.Data.Services.Client (5)
System\Data\Services\Client\ALinq\ExpressionNormalizer.cs (1)
503private static readonly MethodInfo s_relationalOperatorPlaceholderMethod = typeof(ExpressionNormalizer).GetMethod("RelationalOperatorPlaceholder", BindingFlags.Static | BindingFlags.NonPublic);
System\Data\Services\Client\ALinq\ReflectionUtil.cs (2)
510return typeof(Queryable).GetMethods(BindingFlags.Static | BindingFlags.Public).Concat( 511typeof(Enumerable).GetMethods(BindingFlags.Static | BindingFlags.Public));
System\Data\Services\Client\Binding\BindingObserver.cs (1)
205.GetMethod("VerifyObserverNotPresent", BindingFlags.NonPublic | BindingFlags.Static)
System\Data\Services\Client\ProjectionPlanCompiler.cs (1)
418MethodInfo method = typeof(AtomMaterializerInvoker).GetMethod(methodName, BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.Static);
System.Data.Services.Design (2)
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (1)
112private static readonly System.Reflection.MethodInfo s_getDefaultMethod = typeof(TypeSystem).GetMethod("GetDefault", System.Reflection.BindingFlags.Static | System.Reflection.BindingFlags.NonPublic);
System\Data\EntityModel\Emitters\Utils.cs (1)
68| BindingFlags.Instance | BindingFlags.Static;
System.Data.SqlXml (4)
System\Xml\Xsl\IlGen\XmlILModule.cs (1)
314methodsBaked[methName] = typBaked.GetMethod(methName, BindingFlags.NonPublic | BindingFlags.Static);
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (2)
220internal const BindingFlags EarlyBoundFlags = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static; 221internal const BindingFlags LateBoundFlags = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static;
System\Xml\Xsl\XsltOld\XsltCompileContext.cs (1)
159private const BindingFlags bindingFlags = BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static;
System.Drawing (2)
commonui\System\Drawing\Advanced\ImageFormatConverter.cs (1)
127return typeof(ImageFormat).GetProperties(BindingFlags.Static | BindingFlags.Public);
parent\parent\parent\InternalApis\Clr\inc\LocalAppContext.cs (1)
92BindingFlags.Static | BindingFlags.Public, // binding flags
System.IdentityModel (1)
parent\parent\parent\parent\parent\InternalApis\Clr\inc\LocalAppContext.cs (1)
92BindingFlags.Static | BindingFlags.Public, // binding flags
System.IO.Compression.FileSystem (1)
parent\parent\parent\InternalApis\Clr\inc\LocalAppContext.cs (1)
92BindingFlags.Static | BindingFlags.Public, // binding flags
System.Runtime.Serialization (7)
System\Runtime\Serialization\CodeGenerator.cs (1)
114objectEquals = Globals.TypeOfObject.GetMethod("Equals", BindingFlags.Public | BindingFlags.Static);
System\Runtime\Serialization\DataContract.cs (2)
1233MethodInfo method = UnderlyingType.GetMethod(Globals.ParseMethodName, BindingFlags.Public | BindingFlags.Static, null, new Type[] { Globals.TypeOfString }, null); 2101MethodInfo method = type.GetMethod(methodName, BindingFlags.Static | BindingFlags.NonPublic | BindingFlags.Public, null, Globals.EmptyTypeArray, null);
System\Runtime\Serialization\EnumDataContract.cs (1)
272FieldInfo[] fields = type.GetFields(BindingFlags.Static | BindingFlags.Public);
System\Runtime\Serialization\Globals.cs (1)
24internal const BindingFlags ScanAllMembers = BindingFlags.Static | BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public;
System\Runtime\Serialization\Json\JsonFormatGeneratorStatics.cs (1)
547parseEnumMethod = typeof(Enum).GetMethod("Parse", BindingFlags.Static | BindingFlags.Public, null, new Type[] { typeof(Type), typeof(string) }, null);
System\Runtime\Serialization\SchemaExporter.cs (1)
634MethodInfo getMethod = clrType.GetMethod(methodName, /*BindingFlags.DeclaredOnly |*/ BindingFlags.Static | BindingFlags.NonPublic | BindingFlags.Public, null, new Type[] { typeof(XmlSchemaSet) }, null);
System.ServiceModel (5)
parent\parent\parent\parent\parent\InternalApis\Clr\inc\LocalAppContext.cs (1)
92BindingFlags.Static | BindingFlags.Public, // binding flags
System\ServiceModel\Configuration\ServiceModelEnumValidator.cs (1)
21this.isDefined = this.enumHelperType.GetMethod("IsDefined", BindingFlags.Static | BindingFlags.NonPublic | BindingFlags.Public);
System\ServiceModel\Description\TypeLoader.cs (1)
389MethodInfo method = type.GetMethod(knownTypeAttribute.MethodName, BindingFlags.Static | BindingFlags.NonPublic | BindingFlags.Public, null, knownTypesMethodParamType, null);
System\ServiceModel\Diagnostics\OperationInvokerTrace.cs (1)
36traceInstructionMethod = typeof(OperationInvokerTrace).GetMethod("TraceInstruction", BindingFlags.Static | BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public);
System\ServiceModel\ServiceHost.cs (1)
1862MethodInfo configure = serviceType.GetMethod("Configure", BindingFlags.Static | BindingFlags.Public, null, new[] { typeof(ServiceConfiguration) }, null);
System.ServiceModel.Activation (2)
System\ServiceModel\Activation\HostedTransportConfigurationManager.cs (1)
76MethodInfo method = type.GetMethod(CreateMetabaseSettingsIis7MethodName, BindingFlags.NonPublic | BindingFlags.Static);
System\ServiceModel\Activities\Activation\XamlBuildProviderExtension.cs (1)
123MethodInfo createExpressionRootMethod = generatedType.GetMethod(CreateExpressionRootMethodName, BindingFlags.Public | BindingFlags.Static);
System.ServiceModel.Activities (1)
System\ServiceModel\Activities\Configuration\ServiceModelActivitiesEnumValidator.cs (1)
22this.isDefined = this.enumHelperType.GetMethod("IsDefined", BindingFlags.Static | BindingFlags.NonPublic | BindingFlags.Public);
System.ServiceModel.Web (1)
System\ServiceModel\Configuration\InternalEnumValidator.cs (1)
21this.isDefined = this.enumHelperType.GetMethod("IsDefined", BindingFlags.Static | BindingFlags.NonPublic | BindingFlags.Public);
System.Web (26)
Administration\WebAdminConfigurationHelper.cs (3)
48BindingFlags allBindingFlags = BindingFlags.Static | BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic; 81BindingFlags allBindingFlags = BindingFlags.GetProperty | BindingFlags.Static | BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic; 96BindingFlags allBindingFlags = BindingFlags.Static | BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic;
Compilation\BuildManager.cs (2)
544t.InvokeMember("RestoreSnapshot", BindingFlags.Static | BindingFlags.Public | BindingFlags.InvokeMethod, null, t, args, CultureInfo.InvariantCulture); 976method = type.GetMethod(methodName, BindingFlags.Public | BindingFlags.Static | BindingFlags.IgnoreCase,
Compilation\BuildResult.cs (1)
711BindingFlags.Public | BindingFlags.Static| BindingFlags.IgnoreCase,
HttpApplicationFactory.cs (2)
304methods = _theApplicationType.GetMethods(BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static); 313methods = baseType.GetMethods(BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.Static);
Security\RolePrincipal.cs (1)
207s_type.InvokeMember("AddDynamicRoleClaims", BindingFlags.InvokeMethod | BindingFlags.Public | BindingFlags.Static, null, null, new object[] { claimsIdentity, claimProvider.Claims }, CultureInfo.InvariantCulture);
UI\CollectionBuilder.cs (1)
50tagName, BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.IgnoreCase);
UI\ControlBuilder.cs (2)
1586PropertyInfo pInfo = TargetFrameworkUtil.GetProperty(_controlType, tagName, BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.IgnoreCase); 1730PropertyInfo pInfo = TargetFrameworkUtil.GetProperty(_controlType, tagName, BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.IgnoreCase);
UI\PropertyMapper.cs (1)
60BindingFlags flags = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.IgnoreCase;
UI\WebControls\DataBoundControlHelper.cs (1)
132BindingFlags.Public | BindingFlags.Static,
UI\WebControls\ModelDataSourceView.cs (2)
1129flags = BindingFlags.Public | BindingFlags.Static | BindingFlags.FlattenHierarchy; 1141flags = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.FlattenHierarchy;
UI\WebControls\ObjectDataSourceView.cs (2)
1349BindingFlags.Static | 1470BindingFlags.Static |
UI\WebControls\ValidatorCompatibilityHelper.cs (6)
21BindingFlags.Public | BindingFlags.Static | BindingFlags.InvokeMethod, 33BindingFlags.Public | BindingFlags.Static | BindingFlags.InvokeMethod, 45BindingFlags.Public | BindingFlags.Static | BindingFlags.InvokeMethod, 56BindingFlags.Public | BindingFlags.Static | BindingFlags.InvokeMethod, 67BindingFlags.Public | BindingFlags.Static | BindingFlags.InvokeMethod, 78BindingFlags.Public | BindingFlags.Static | BindingFlags.InvokeMethod,
Util\ExecutionContextUtil.cs (1)
24PropertyInfo propInfo = typeof(ExecutionContext).GetProperty("PreAllocatedDefault", BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Static);
Util\QueryableUtility.cs (1)
8private static readonly MethodInfo[] _methods = typeof(Queryable).GetMethods(BindingFlags.Public | BindingFlags.Static);
System.Web.Entity (2)
System\Data\WebControls\EntityDataSourceView.cs (2)
229MethodInfo getCreatorMethod = builderType.GetMethod("GetCreator", BindingFlags.Static | BindingFlags.NonPublic); 293var newQueryBuilderCreateMethod = typeof(EntityDataSourceObjectQueryBuilder<>).MakeGenericType(queryReturned.ElementType).GetMethod("Create", System.Reflection.BindingFlags.Static | System.Reflection.BindingFlags.NonPublic, null, queryBuilderCreatorArgTypes, null);
System.Web.Extensions (10)
ClientServices\Providers\ClientSettingsProvider.cs (1)
223_SettingsBaseClass = oType.InvokeMember("Default", BindingFlags.GetProperty | BindingFlags.Public | BindingFlags.Static,
Script\Services\ProxyGenerator.cs (1)
47MethodInfo getClientProxyMethod = wcfProxyType.GetMethod(WCFProxyMethodName, BindingFlags.Static | BindingFlags.NonPublic);
Script\Services\WebServiceData.cs (1)
225if (_pageMethods) flags |= BindingFlags.Static;
UI\BundleReflectionHelper.cs (1)
119PropertyInfo bundleResolverCurrentProperty = bundleResolverType.GetProperty("Current", BindingFlags.Static | BindingFlags.Public);
UI\WebControls\ContextDataSourceView.cs (1)
143BindingFlags.Static, /*filter*/null, /*filterCriteria*/null);
UI\WebControls\Dynamic.cs (3)
1389(staticAccess ? BindingFlags.Static : BindingFlags.Instance); 1400(staticAccess ? BindingFlags.Static : BindingFlags.Instance); 1584BindingFlags.Public | BindingFlags.DeclaredOnly | BindingFlags.Static,
UI\WebControls\Expressions\MethodExpression.cs (1)
15private static readonly BindingFlags MethodFlags = BindingFlags.Static | BindingFlags.Public | BindingFlags.Instance | BindingFlags.FlattenHierarchy;
UI\WebControls\LinqDataSourceView.cs (1)
616BindingFlags.Static, /*filter*/null, /*filterCriteria*/null);
System.Web.Services (3)
System\Web\Services\Protocols\DiscoveryServerProtocol.cs (1)
57methodInfo = new LogicalMethodInfo(typeof(DiscoveryServerProtocol).GetMethod("Discover", BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic));
System\Web\Services\Protocols\DocumentationServerProtocol.cs (1)
57methodInfo = new LogicalMethodInfo(typeof(DocumentationServerProtocol).GetMethod("Documentation", BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic));
System\Web\Services\Protocols\ServerProtocol.cs (1)
181BindingFlags.Public | BindingFlags.Static | BindingFlags.ExactBinding | BindingFlags.FlattenHierarchy,
System.Windows.Forms (8)
parent\parent\parent\InternalApis\Clr\inc\LocalAppContext.cs (1)
92BindingFlags.Static | BindingFlags.Public, // binding flags
winforms\Managed\System\WinForms\Control.cs (2)
18148BindingFlags.Static | BindingFlags.NonPublic | BindingFlags.InvokeMethod, 18223BindingFlags.Static | BindingFlags.NonPublic | BindingFlags.InvokeMethod,
winforms\Managed\System\WinForms\CursorConverter.cs (1)
154return typeof(Cursors).GetProperties(BindingFlags.Static | BindingFlags.Public);
winforms\Managed\System\WinForms\Formatter.cs (3)
411BindingFlags.Public | BindingFlags.Static, 420BindingFlags.Public | BindingFlags.Static, 429BindingFlags.Public | BindingFlags.Static,
winforms\Managed\System\WinForms\WinFormsUtils.cs (1)
767PropertyInfo runningOnV4_5_Property = binaryCompatibitlityType.GetProperty(propertyName, Reflection.BindingFlags.Public | Reflection.BindingFlags.NonPublic | Reflection.BindingFlags.Static);
System.Workflow.Activities (20)
Common\BasePropertyDescriptor.cs (1)
429foreach (MemberInfo memberInfo in ownerType.GetMembers(BindingFlags.FlattenHierarchy | BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic))
Rules\Expressions.cs (3)
938bindingFlags |= BindingFlags.Static | BindingFlags.FlattenHierarchy; 1092BindingFlags bindingFlags = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.FlattenHierarchy; 1370bindingFlags |= BindingFlags.Static | BindingFlags.FlattenHierarchy;
Rules\Literal.cs (4)
821MethodInfo[] possible = type.GetMethods(BindingFlags.Static | BindingFlags.Public); 842possible = type.GetMethods(BindingFlags.Static | BindingFlags.Public); 862MethodInfo[] possible = type.GetMethods(BindingFlags.Static | BindingFlags.Public); 884possible = type.GetMethods(BindingFlags.Static | BindingFlags.Public);
Rules\Parser\Parser.cs (4)
239flags |= BindingFlags.Static | BindingFlags.FlattenHierarchy; 417flags |= BindingFlags.Static | BindingFlags.FlattenHierarchy; 816MemberInfo[] members = thisType.GetMembers(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.Static | BindingFlags.FlattenHierarchy); 1684BindingFlags bindingFlags = BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Static | BindingFlags.FlattenHierarchy | BindingFlags.Instance;
Rules\RuleAction.cs (1)
135BindingFlags bindingFlags = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.FlattenHierarchy;
Rules\RuleAttributes.cs (3)
136BindingFlags bindingFlags = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.FlattenHierarchy; 341MemberInfo[] members = contextType.GetMember(methodInvoked, MemberTypes.Method | MemberTypes.Property, BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.FlattenHierarchy); 415MemberInfo[] members = contextType.GetMember(methodInvoked, MemberTypes.Method | MemberTypes.Property, BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.FlattenHierarchy);
Rules\RuleValidation.cs (4)
2219MethodInfo[] possible = t.GetMethods(BindingFlags.Static | BindingFlags.Public); 2242MethodInfo[] possible = t.GetMethods(BindingFlags.Static | BindingFlags.Public); 2361BindingFlags bindingFlags = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.FlattenHierarchy; 3395MethodInfo[] staticMethods = type.GetMethods(BindingFlags.Static | BindingFlags.Public);
System.Workflow.ComponentModel (39)
AuthoringOM\Bind.cs (3)
786memberInfo = dataSourceType.GetMethod(path, BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.FlattenHierarchy, null, paramTypes.ToArray(), null); 1366members.AddRange(type.GetMember(memberName, MemberTypes.Field | MemberTypes.Property | MemberTypes.Event | MemberTypes.Method, BindingFlags.Public | BindingFlags.Static | BindingFlags.Instance | BindingFlags.FlattenHierarchy)); 1373members.AddRange(implementedInterface.GetMember(memberName, MemberTypes.Field | MemberTypes.Property | MemberTypes.Event | MemberTypes.Method, BindingFlags.Public | BindingFlags.Static | BindingFlags.Instance | BindingFlags.FlattenHierarchy));
AuthoringOM\Compiler\TypeSystem\CodeDomLoader.cs (1)
62foreach (Type nestedType2 in type.GetNestedTypes(BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic))
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (4)
653BindingFlags supported = BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Static | BindingFlags.FlattenHierarchy | BindingFlags.Instance | BindingFlags.DeclaredOnly | BindingFlags.IgnoreCase; 749return ((((isPublic) && ((bindingFlags & BindingFlags.Public) != 0)) || ((!isPublic) && ((bindingFlags & BindingFlags.NonPublic) != 0))) && (((isStatic) && ((bindingFlags & BindingFlags.Static) != 0)) || ((!isStatic) && ((bindingFlags & BindingFlags.Instance) != 0)))); 776bindingAttr &= ~BindingFlags.Static; 857bindingAttr &= ~BindingFlags.Static;
AuthoringOM\Compiler\TypeSystem\Helper.cs (2)
237baseMemberInfo = ((DesignTimeType)memberInfo.DeclaringType).GetBaseMember(memberInfo.GetType(), memberInfo.DeclaringType.BaseType, BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Static | BindingFlags.Instance, new DesignTimeType.MemberSignature(memberInfo)); 274baseMemberInfo = ((DesignTimeType)memberInfo.DeclaringType).GetBaseMember(memberInfo.GetType(), memberInfo.DeclaringType.BaseType, BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Static | BindingFlags.Instance, new DesignTimeType.MemberSignature(memberInfo));
AuthoringOM\Compiler\Validation\BindValidator.cs (4)
118FieldInfo fieldInfo = resolvedType.GetField(dsName, BindingFlags.Public | BindingFlags.Static | BindingFlags.Instance | BindingFlags.FlattenHierarchy); 296propertyInfo = resolvedType.GetProperty(dsName, BindingFlags.Public | BindingFlags.Static | BindingFlags.Instance); 534MethodInfo methodInfo = Helpers.GetMethodExactMatch(resolvedType, dsName, BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.FlattenHierarchy, null, paramTypes.ToArray(), null); 537if (resolvedType.GetMethod(dsName, BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.FlattenHierarchy) != null)
AuthoringOM\Compiler\Validation\DependencyObjectValidator.cs (1)
208MethodInfo methodInfo = Helpers.GetMethodExactMatch(objType, propValue as string, BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.Static | BindingFlags.FlattenHierarchy, null, paramTypes.ToArray(), null);
AuthoringOM\DependencyProperty.cs (2)
187fieldInfo = ownerType.GetField(name + "Event", BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.DeclaredOnly | BindingFlags.GetProperty); 189fieldInfo = ownerType.GetField(name + "Property", BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.DeclaredOnly | BindingFlags.GetProperty);
AuthoringOM\Design\ActivityDesigner.cs (1)
2126foreach (MemberInfo memberInfo in customActivityType.GetMembers(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.Static))
AuthoringOM\Design\CustomActivityDesigner.cs (1)
444FieldInfo fieldInfo = customActivityType.GetField(member.Name + fieldSuffix, BindingFlags.Public | BindingFlags.Static);
AuthoringOM\Design\DesignerHelpers.cs (1)
1622BindingFlags bindingFlags = BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.Static | BindingFlags.FlattenHierarchy;
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (3)
331foreach (MemberInfo memberInfo in customActivityType.GetMembers(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.Static)) 576members.AddRange(type.GetProperties(BindingFlags.Public | BindingFlags.Static | BindingFlags.Instance | BindingFlags.FlattenHierarchy)); 650foreach (FieldInfo field in typeToGetPropertiesOn.GetFields(BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.FlattenHierarchy))//BindingFlags.Static is needed for the const fields
AuthoringOM\Design\IdentifierCreationService.cs (2)
85foreach (MemberInfo member in customActivityType.GetMembers(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Static | BindingFlags.Instance)) 150foreach (MemberInfo member in customActivityType.GetMembers(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Static | BindingFlags.Instance))
AuthoringOM\Design\PropertyDescriptors.cs (2)
434BindingFlags bindingFlags = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.FlattenHierarchy; 699foreach (MemberInfo memberInfo in ownerType.GetMembers(BindingFlags.FlattenHierarchy | BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic))
AuthoringOM\Serializer\DependencyObjectCodeDomSerializer.cs (3)
74if ((dp.IsEvent && dp.OwnerType.GetField(dp.Name + "Event", BindingFlags.Static | BindingFlags.Public | BindingFlags.DeclaredOnly) != null) || 75(!dp.IsEvent && dp.OwnerType.GetField(dp.Name + "Property", BindingFlags.Static | BindingFlags.Public | BindingFlags.DeclaredOnly) != null)) 105FieldInfo fieldInfo = dependencyProperty.OwnerType.GetField(dependencyPropertyName, BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Static);
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (8)
1539if (dependencyProperty.OwnerType.GetField(dependencyProperty.Name + "Event", BindingFlags.Static | BindingFlags.Public | BindingFlags.DeclaredOnly) == null) 1541MethodInfo methodInfo = dependencyProperty.OwnerType.GetMethod("Add" + dependencyProperty.Name + "Handler", BindingFlags.Public | BindingFlags.Static | BindingFlags.DeclaredOnly); 1550if (dependencyProperty.OwnerType.GetField(dependencyProperty.Name + "Property", BindingFlags.Static | BindingFlags.Public | BindingFlags.DeclaredOnly) == null) 1552MethodInfo methodInfo = dependencyProperty.OwnerType.GetMethod("Set" + dependencyProperty.Name, BindingFlags.Public | BindingFlags.Static | BindingFlags.DeclaredOnly); 1579MethodInfo methodInfo = dependencyProperty.OwnerType.GetMethod("Add" + dependencyProperty.Name + "Handler", BindingFlags.Public | BindingFlags.Static | BindingFlags.DeclaredOnly); 1602MethodInfo methodInfo = dependencyProperty.OwnerType.GetMethod("Set" + dependencyProperty.Name, BindingFlags.Public | BindingFlags.Static | BindingFlags.DeclaredOnly); 2080FieldInfo fieldInfo = ownerType.GetField(propertyName + "Property", BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.FlattenHierarchy); 2082fieldInfo = ownerType.GetField(propertyName + "Event", BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.FlattenHierarchy);
Shared\BasePropertyDescriptor.cs (1)
428foreach (MemberInfo memberInfo in ownerType.GetMembers(BindingFlags.FlattenHierarchy | BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic))
System.Workflow.Runtime (5)
Tracking\PropertyHelper.cs (5)
108BindingFlags.Static, 176BindingFlags.Static | 196BindingFlags.Static | 248BindingFlags.Static); 262BindingFlags.Static |
System.WorkflowServices (2)
System\Workflow\Activities\ContractType.cs (2)
581return ((((isPublic) && ((bindingFlags & BindingFlags.Public) != 0)) || ((!isPublic) && ((bindingFlags & BindingFlags.NonPublic) != 0))) && (((isStatic) && ((bindingFlags & BindingFlags.Static) != 0)) || ((!isStatic) && ((bindingFlags & BindingFlags.Instance) != 0)))); 660bindingAttr &= ~BindingFlags.Static;
System.Xml (15)
parent\parent\parent\parent\InternalApis\Clr\inc\LocalAppContext.cs (1)
92BindingFlags.Static | BindingFlags.Public, // binding flags
System\Xml\Core\BinaryCompatibility.cs (1)
32PropertyInfo property = binaryCompatabilityType.GetProperty(propertyName, BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Static);
System\Xml\Core\SecureStringHasher.cs (1)
79MethodInfo getHashCodeMethodInfo = typeof(String).GetMethod("InternalMarvin32HashString", BindingFlags.NonPublic | BindingFlags.Static);
System\Xml\Serialization\CodeGenerator.cs (2)
39internal static BindingFlags StaticBindingFlags = BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic; 1047Call(typeof(Type).GetMethod("GetTypeFromHandle", BindingFlags.Static | BindingFlags.Public, null, new Type[] { typeof(RuntimeTypeHandle) }, null));
System\Xml\Serialization\Models.cs (1)
131MemberInfo[] members = Type.GetMembers(BindingFlags.DeclaredOnly | BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static);
System\Xml\Serialization\TypeExtensions.cs (1)
32MethodInfo[] methods = targetType.GetMethods(BindingFlags.Static | BindingFlags.Public);
System\Xml\Serialization\XmlReflectionImporter.cs (3)
434MethodInfo getMethod = getMethod = type.GetMethod(provider.MethodName, /* BindingFlags.DeclaredOnly | */ BindingFlags.Static | BindingFlags.Public, null, new Type[] {typeof(XmlSchemaSet)}, null); 1269MemberInfo[] infos = structModel.Type.GetMember(choice.MemberName, BindingFlags.DeclaredOnly | BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static); 1272PropertyInfo info = structModel.Type.GetProperty(choice.MemberName, BindingFlags.DeclaredOnly | BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static);
System\Xml\XmlQualifiedName.cs (1)
174MethodInfo getHashCodeMethodInfo = typeof(String).GetMethod("InternalMarvin32HashString", BindingFlags.NonPublic | BindingFlags.Static);
System\Xml\Xslt\XslCompiledTransform.cs (3)
271FieldInfo fldData = compiledStylesheet.GetField(XmlQueryStaticData.DataFieldName, BindingFlags.Static | BindingFlags.NonPublic); 272FieldInfo fldTypes = compiledStylesheet.GetField(XmlQueryStaticData.TypesFieldName, BindingFlags.Static | BindingFlags.NonPublic); 286MethodInfo executeMethod = compiledStylesheet.GetMethod("Execute", BindingFlags.Static | BindingFlags.NonPublic);
System\Xml\Xslt\XslTransform.cs (1)
295BindingFlags flags = BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static;
UIAutomationClient (1)
MS\Internal\Automation\ProxyManager.cs (1)
83FieldInfo fi = t.GetField("ClientSideProviderDescriptionTable", BindingFlags.Static | BindingFlags.Public);
WindowsBase (7)
Base\MS\Internal\ComponentModel\DependencyObjectPropertyDescriptor.cs (3)
407BindingFlags f = BindingFlags.Static | BindingFlags.Public | BindingFlags.DeclaredOnly; 574BindingFlags f = BindingFlags.Static | BindingFlags.Public | BindingFlags.DeclaredOnly; 608flags |= BindingFlags.Static;
Base\MS\Internal\Interop\ErrorCodes.cs (2)
306foreach (FieldInfo publicStaticField in typeof(HRESULT).GetFields(BindingFlags.Static | BindingFlags.Public)) 321foreach (FieldInfo publicStaticField in typeof(Win32Error).GetFields(BindingFlags.Static | BindingFlags.Public))
Base\System\Windows\Markup\TypeConverterHelper.cs (2)
76BindingFlags.Static | BindingFlags.FlattenHierarchy); 96BindingFlags.Static | BindingFlags.FlattenHierarchy);
XamlBuildTask (1)
Microsoft\Build\Tasks\Xaml\XamlValidatingReader.cs (1)
316BindingFlags.Static | BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public) == null)