510 references to NonPublic
ComSvcConfig (9)
ComplusTypeValidator.cs (8)
37object resolver = typeOfInterfaceResolver.InvokeMember("Provider", BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.GetProperty, null, null, null, CultureInfo.InvariantCulture); 42asm = typeOfInterfaceResolver.InvokeMember("ResolveAssemblyFromIID", BindingFlags.InvokeMethod | BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance, null, resolver, args, CultureInfo.InvariantCulture) as Assembly; 94object resolver = typeOfInterfaceResolver.InvokeMember("Provider", BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.GetProperty, null, null, null, CultureInfo.InvariantCulture); 99typeOfInterface = typeOfInterfaceResolver.InvokeMember("VerifyType", BindingFlags.InvokeMethod | BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance, null, resolver, args, CultureInfo.InvariantCulture) as Type; 170object resolver = typeOfInterfaceResolver.InvokeMember("Provider", BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.GetProperty, null, null, null, CultureInfo.InvariantCulture); 175typeOfInterface = typeOfInterfaceResolver.InvokeMember("VerifyType", BindingFlags.InvokeMethod | BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance, null, resolver, args, CultureInfo.InvariantCulture) as Type; 220object resolver = typeOfInterfaceResolver.InvokeMember("Provider", BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.GetProperty, null, null, null, CultureInfo.InvariantCulture); 225typeOfInterface = typeOfInterfaceResolver.InvokeMember("VerifyType", BindingFlags.InvokeMethod | BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance, null, resolver, args, CultureInfo.InvariantCulture) as Type;
SvcFileManager.cs (1)
217dictionary = (IDictionary<string, string>)serviceParser.InvokeMember("ParseServiceDirective", BindingFlags.InvokeMethod | BindingFlags.Static | BindingFlags.NonPublic,
mscorlib (47)
system\__comobject.cs (1)
191Object EvProvider = Activator.CreateInstance(t, Activator.ConstructorDefault | BindingFlags.NonPublic, null, new Object[]{this}, null);
system\attribute.cs (3)
122BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly, 847FieldInfo[] thisFields = thisType.GetFields(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic); 916FieldInfo[] fields = type.GetFields(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic);
system\diagnostics\eventing\eventsource.cs (3)
3288MethodInfo[] methods = eventSourceType.GetMethods(BindingFlags.DeclaredOnly | BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance); 3340foreach (FieldInfo staticField in nestedType.GetFields(BindingFlags.DeclaredOnly | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Static)) 6728FieldInfo[] fields = type.GetFields(BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance);
System\Diagnostics\Eventing\TraceLogging\Statics.cs (1)
416BindingFlags.DeclaredOnly | BindingFlags.Static | BindingFlags.NonPublic);
system\reflection\customattribute.cs (2)
380FieldInfo[] fields = m_ctor.DeclaringType.GetFields(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic); 381PropertyInfo[] properties = m_ctor.DeclaringType.GetProperties(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic);
system\reflection\emit\typebuilder.cs (3)
1817BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, Type.EmptyTypes, null)); 1820BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, Type.EmptyTypes, null); 1825con = m_typeParent.GetConstructor(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, Type.EmptyTypes, null);
system\reflection\memberinfoserializationholder.cs (1)
106BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic |
system\reflection\module.cs (1)
766BindingFlags.Public | BindingFlags.NonPublic |
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\resources\manifestbasedresourcegroveler.cs (1)
372BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.CreateInstance,
system\rttype.cs (7)
1770BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, 2038BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance) as MethodBase[]; 2299BindingFlags bindingFlags = isPublic ? BindingFlags.Public : BindingFlags.NonPublic; 2413if ((bindingFlags & BindingFlags.NonPublic) == 0) 2460((bindingFlags & BindingFlags.NonPublic) != 0) && // BindingFlag.NonPublic present 3395BindingFlags bindingAttr = BindingFlags.Public | BindingFlags.NonPublic; 5215server = CreateInstanceDefaultCtor((bindingAttr & BindingFlags.NonPublic) == 0 , false, true, ref stackMark);
system\runtime\interopservices\marshal.cs (1)
285FieldInfo f = t.GetField(fieldName, BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic);
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)
107ConstructorInfo SinkHelperCons = SinkHelperClass.GetConstructor(EventProviderWriter.DefaultLookup | BindingFlags.NonPublic, null, new Type[0], null );
system\runtime\remoting\configuration.cs (1)
1089BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.CreateInstance,
system\runtime\remoting\message.cs (2)
2818private const BindingFlags LookupAll = BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic; 4402BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.CreateInstance,
system\runtime\remoting\remotingservices.cs (1)
49private const BindingFlags LookupAll = BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Static;
system\runtime\remoting\soap.cs (1)
201foreach (FieldInfo field in type.GetFields(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly))
system\runtime\serialization\formatterservices.cs (2)
54FieldInfo[] fields = type.GetFields(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance); 120typeFields = parentType.GetFields(BindingFlags.NonPublic | BindingFlags.Instance);
system\runtime\serialization\objectmanager.cs (1)
395fieldsTemp[currentFieldIndex] = parentField.FieldType.GetField("value", BindingFlags.NonPublic|BindingFlags.Instance);
system\runtime\serialization\serializationeventscache.cs (1)
41MethodInfo[] mis = baseType.GetMethods(BindingFlags.DeclaredOnly | BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public);
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\principal\windowsidentity.cs (1)
113BindingFlags.Instance | BindingFlags.NonPublic,
system\type.cs (4)
461return GetConstructorImpl(BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic, 1424FieldInfo[] flds = GetFields(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Static); 1474FieldInfo[] fields = GetFields(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance); 1869internal const BindingFlags DeclaredOnlyLookup = BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
system\typenameparser.cs (1)
285BindingFlags bindingFlags = BindingFlags.NonPublic | BindingFlags.Public;
system\valuetype.cs (1)
46FieldInfo[] thisFields = thisType.GetFields(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic);
PresentationBuildTasks (7)
Base\System\Windows\Markup\TypeConverterHelper.cs (1)
95BindingFlags.Public | BindingFlags.NonPublic |
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)
84BindingFlags.NonPublic | BindingFlags.CreateInstance,
BuildTasks\MS\Internal\Tasks\TaskHelper.cs (1)
381BindingFlags bf = BindingFlags.Public | BindingFlags.InvokeMethod | BindingFlags.CreateInstance | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.SetProperty;
Framework\System\Windows\Markup\XamlTypeMapper.cs (3)
1343defaultBinding |= BindingFlags.NonPublic; 2016flags |= BindingFlags.NonPublic; 2466bf |= BindingFlags.NonPublic;
PresentationFramework (22)
src\Framework\MS\Internal\Data\StaticPropertyChangedEventManager.cs (2)
278return typeof(TypeRecord).GetMethod("OnStaticPropertyChanged", BindingFlags.Instance | BindingFlags.NonPublic); 607return typeof(PropertyRecord).GetMethod("OnStaticPropertyChanged", BindingFlags.Instance | BindingFlags.NonPublic);
src\Framework\MS\Internal\LayoutDump.cs (5)
907System.Reflection.FieldInfo field = paragraphResultType.GetField("_paraClient", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic); 910System.Reflection.PropertyInfo prop = paraClientType.GetProperty("Visual", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic); 953System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic); 969System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.DeclaredOnly); 977System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.DeclaredOnly);
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\BamlRecordReader.cs (1)
5187BindingFlags.NonPublic);
src\Framework\System\Windows\Markup\Primitives\ElementMarkupObject.cs (8)
233BindingFlags.NonPublic | BindingFlags.Public, null, _shouldSerializeArgsObject, null); 236BindingFlags.NonPublic | BindingFlags.Public, null, _shouldSerializeArgsManager, null); 239BindingFlags.NonPublic | BindingFlags.Public, null, _shouldSerializeArgsMode, null); 242BindingFlags.NonPublic | BindingFlags.Public, null, _shouldSerializeArgsObjectManager, null); 256BindingFlags.NonPublic | BindingFlags.Public, null, _shouldSerializeArgsObject, null); 259BindingFlags.NonPublic | BindingFlags.Public, null, _shouldSerializeArgsManager, null); 262BindingFlags.NonPublic | BindingFlags.Public, null, _shouldSerializeArgsMode, null); 265BindingFlags.NonPublic | BindingFlags.Public, null, _shouldSerializeArgsObjectManager, null);
src\Framework\System\Windows\Markup\XamlTypeMapper.cs (4)
968attachedPropertyInfo = propertyOwnerType.GetMethod(propName, flags | BindingFlags.NonPublic); 2030info = ownerType.GetProperty(localName, flags | BindingFlags.NonPublic); 2466bf |= BindingFlags.NonPublic; 2869BindingFlags.NonPublic |
System (25)
compmod\system\codedom\compiler\CodeCompiler.cs (1)
561MethodInfo methodInfo = typeof(Assembly).GetMethod("LoadImageSkipIntegrityCheck", BindingFlags.NonPublic | 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\componentmodel\ReflectEventDescriptor.cs (1)
334BindingFlags bindingFlags = BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic;
compmod\system\componentmodel\ReflectPropertyDescriptor.cs (3)
345BindingFlags bindingFlags = BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.GetProperty; 481BindingFlags bindingFlags = BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.GetProperty; 804BindingFlags bindingFlags = BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.DeclaredOnly;
compmod\system\diagnostics\SwitchAttribute.cs (1)
71 MemberInfo[] members = type.GetMembers(BindingFlags.Public | BindingFlags.NonPublic |
compmod\system\security\permissions\ResourcePermissionBase.cs (1)
194return (ResourcePermissionBase)Activator.CreateInstance(this.GetType(), BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.CreateInstance, null, null, null);
misc\SecurityUtils.cs (3)
124flags |= BindingFlags.NonPublic; 171BindingFlags flags = BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | extraFlags; 173flags &= ~BindingFlags.NonPublic;
net\System\Net\_AuthenticationManager2.cs (1)
335| BindingFlags.NonPublic
net\System\Net\_AuthenticationManagerDefault.cs (1)
116| BindingFlags.NonPublic
net\System\Net\_AutoWebProxyScriptWrapper.cs (1)
550BindingFlags.CreateInstance | BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.InvokeMethod,
net\System\Net\Configuration\DefaultProxySection.cs (1)
202| BindingFlags.NonPublic
net\System\Net\Internal.cs (1)
1618| BindingFlags.NonPublic
net\System\Net\WebRequest.cs (1)
1193var bindingFlags = BindingFlags.Instance|BindingFlags.NonPublic|BindingFlags.Public;
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); 3208_ilg.Emit(OpCodes.Call, typeof(Regex).GetConstructor(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance, 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 (10)
System\Activities\ActivityUtilities.cs (1)
1457locationAccessExpressionType, BindingFlags.Instance | BindingFlags.NonPublic, null, new object[] { null }, null);
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\XamlIntegration\ActivityXamlServices.cs (2)
514BindingFlags.NonPublic | BindingFlags.Static); 516BindingFlags.NonPublic | BindingFlags.Static | BindingFlags.GetProperty, null, null, null);
System.Activities.Core.Presentation (2)
System\ServiceModel\Activities\Presentation\TypeToTreeConverter.cs (2)
74.GetMembers(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic) 81.GetMembers(BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public)
System.Activities.Presentation (3)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ActivityTemplateFactoryBuilderXamlMembers.cs (1)
25PropertyInfo implementationPropertyInfo = typeof(ActivityTemplateFactory).GetProperty(ImplementationPropertyName, BindingFlags.Instance | BindingFlags.NonPublic);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\Metadata\AttributeDataCache.cs (1)
30BindingFlags.DeclaredOnly | BindingFlags.Instance | BindingFlags.NonPublic |
System.Activities.Presentation\System\Activities\Presentation\Validation\ValidationService.cs (1)
549parentPropertyInfo = typeof(Activity).GetProperty("Parent", BindingFlags.Instance | BindingFlags.GetProperty | BindingFlags.NonPublic);
System.AddIn (3)
System\Addin\Hosting\AddInActivator.cs (2)
346false, BindingFlags.Instance | BindingFlags.NonPublic, null, 449BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance,
System\Addin\Hosting\Store\AddInAdapter.cs (1)
80foreach (ConstructorInfo ctor in type.GetConstructors(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance))
System.ComponentModel.DataAnnotations (1)
DataAnnotations\ValidationAttribute.cs (1)
240var property = this._errorMessageResourceType.GetProperty(this._errorMessageResourceName, BindingFlags.Public | BindingFlags.Static | BindingFlags.NonPublic);
System.Configuration (3)
System\Configuration\ConfigurationElement.cs (2)
739foreach (PropertyInfo propertyInformation in type.GetProperties(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance)) { 829foreach (PropertyInfo propertyInformation in type.GetProperties(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance)) {
System\Configuration\TypeUtil.cs (1)
210BindingFlags bindingFlags = BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic;
System.Core (26)
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 (1)
689BindingFlags flags = BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic;
Microsoft\Scripting\Ast\IndexExpression.cs (1)
231flags = BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.IgnoreCase | BindingFlags.FlattenHierarchy;
Microsoft\Scripting\Ast\LambdaExpression.cs (1)
268create = typeof(Expression<>).MakeGenericType(delegateType).GetMethod("Create", BindingFlags.Static | BindingFlags.NonPublic);
Microsoft\Scripting\Ast\ListInitExpression.cs (1)
154MethodInfo addMethod = FindMethod(newExpression.Type, "Add", null, new Expression[] { initializerlist[0] }, BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic);
Microsoft\Scripting\Ast\MemberExpression.cs (7)
175fi = expression.Type.GetField(fieldName, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.IgnoreCase | BindingFlags.FlattenHierarchy); 198fi = type.GetField(fieldName, BindingFlags.Static | BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.IgnoreCase | BindingFlags.FlattenHierarchy); 222pi = expression.Type.GetProperty(propertyName, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.IgnoreCase | BindingFlags.FlattenHierarchy); 243pi = type.GetProperty(propertyName, BindingFlags.Static | BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.IgnoreCase | BindingFlags.FlattenHierarchy); 293BindingFlags flags = BindingFlags.Public | BindingFlags.NonPublic; 338pi = expression.Type.GetProperty(propertyOrFieldName, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.IgnoreCase | BindingFlags.FlattenHierarchy); 341fi = expression.Type.GetField(propertyOrFieldName, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.IgnoreCase | BindingFlags.FlattenHierarchy);
Microsoft\Scripting\Ast\MethodCallExpression.cs (2)
758BindingFlags flags = BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.FlattenHierarchy; 779BindingFlags flags = BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.FlattenHierarchy;
Microsoft\Scripting\Ast\NewExpression.cs (1)
216ci = type.GetConstructor(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, System.Type.EmptyTypes, null);
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;
System\Linq\SequenceQuery.cs (4)
25return (IQueryable) Activator.CreateInstance(seqType, BindingFlags.Instance|BindingFlags.Public|BindingFlags.NonPublic, null, new object[] {sequence}, null); 34return (IQueryable) Activator.CreateInstance(seqType, BindingFlags.Instance|BindingFlags.Public|BindingFlags.NonPublic, null, new object[] {expression}, null); 155return (EnumerableExecutor)Activator.CreateInstance(execType, BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, new object[] { expression }, null); 213BindingFlags flags = BindingFlags.Static | (m.Method.IsPublic ? BindingFlags.Public : BindingFlags.NonPublic);
System.Data (10)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ActivityTemplateFactoryBuilderXamlMembers.cs (1)
25PropertyInfo implementationPropertyInfo = typeof(ActivityTemplateFactory).GetProperty(ImplementationPropertyName, BindingFlags.Instance | BindingFlags.NonPublic);
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\VisualStudio\Activities\WorkflowDesignerExtensionManager.cs (2)
40internalGetExtensionMethodInfo = typeof(WorkflowDesignerExtensionManager).GetMethod("InternalGetExtension", BindingFlags.Instance | BindingFlags.NonPublic); 54internalGetExtensionsMethodInfo = typeof(WorkflowDesignerExtensionManager).GetMethod("InternalGetExtensions", BindingFlags.Instance | BindingFlags.NonPublic);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\Metadata\AttributeDataCache.cs (1)
30BindingFlags.DeclaredOnly | BindingFlags.Instance | BindingFlags.NonPublic |
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Validation\ValidationService.cs (1)
549parentPropertyInfo = typeof(Activity).GetProperty("Parent", BindingFlags.Instance | BindingFlags.GetProperty | BindingFlags.NonPublic);
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\System\Data\Common\GreenMethods.cs (1)
39SystemDataSqlClientSqlProviderServices_Instance_FieldInfo = t.GetField("Instance", BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Static);
fx\src\data\System\Data\Sql\sqlnorm.cs (1)
68return t.GetFields(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic);
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\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 (55)
System\Data\Common\CommandTrees\ExpressionBuilder\DbExpressionBuilder.cs (1)
1817typeof(TInstance).GetProperties(BindingFlags.Instance | BindingFlags.NonPublic).Length == 0)
System\Data\Common\EntityUtil.cs (1)
2023BindingFlags.NonPublic |
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 (22)
551private static readonly ConstructorInfo EntityKey_ctor_SingleKey = typeof(EntityKey).GetConstructor(BindingFlags.NonPublic | BindingFlags.Instance, null, new Type[] { typeof(EntitySet), typeof(object) }, null); 552private static readonly ConstructorInfo EntityKey_ctor_CompositeKey = typeof(EntityKey).GetConstructor(BindingFlags.NonPublic | BindingFlags.Instance, null, new Type[] { typeof(EntitySet), typeof(object[]) }, null); 559BindingFlags.NonPublic | BindingFlags.Instance, 563private static readonly MethodInfo RecordState_GatherData = typeof(RecordState).GetMethod("GatherData", BindingFlags.NonPublic | BindingFlags.Instance); 564private static readonly MethodInfo RecordState_SetNullRecord = typeof(RecordState).GetMethod("SetNullRecord", BindingFlags.NonPublic | BindingFlags.Instance); 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); 588private static readonly MethodInfo Translator_MultipleDiscriminatorPolymorphicColumnMapHelper = typeof(Translator).GetMethod("MultipleDiscriminatorPolymorphicColumnMapHelper", BindingFlags.NonPublic | BindingFlags.Instance); 589private static readonly MethodInfo Translator_TypedCreateInlineDelegate = typeof(Translator).GetMethod("TypedCreateInlineDelegate", BindingFlags.NonPublic | BindingFlags.Instance); 591private static readonly PropertyInfo EntityWrapperFactory_NullWrapper = typeof(EntityWrapperFactory).GetProperty("NullWrapper", BindingFlags.Static | BindingFlags.NonPublic); 593private static readonly MethodInfo EntityProxyTypeInfo_SetEntityWrapper = typeof(EntityProxyTypeInfo).GetMethod("SetEntityWrapper", BindingFlags.NonPublic | BindingFlags.Instance); 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); 768ConstructorInfo ci = genericType.GetConstructor(BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.CreateInstance, null, 794ConstructorInfo ci = genericType.GetConstructor(BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.CreateInstance, null, 1407BindingFlags bindingAttr = BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance; 1865MethodInfo getElementsExpression = typeof(Coordinator<>).MakeGenericType(elementType).GetMethod("GetElements", BindingFlags.NonPublic | BindingFlags.Instance);
System\Data\Metadata\Edm\ItemCollection.cs (1)
220MethodInfo mi = typeof(ItemCollection).GetMethod("GenericGetItems", BindingFlags.NonPublic | BindingFlags.Static);
System\Data\Metadata\Edm\LightweightCodeGenerator.cs (4)
153ConstructorInfo ci = type.GetConstructor(BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance | BindingFlags.CreateInstance, null, System.Type.EmptyTypes, null); 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\Metadata\Edm\MetadataPropertyCollection.cs (1)
85foreach (PropertyInfo propertyInfo in clrType.GetProperties(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic))
System\Data\Metadata\ObjectLayer\ObjectItemAssemblyLoader.cs (1)
22BindingFlags.NonPublic;
System\Data\Objects\ELinq\InitializerFacet.cs (1)
33internal static readonly MethodInfo UserExpressionMarker = typeof(InitializerMetadata).GetMethod("MarkAsUserExpression", BindingFlags.NonPublic | BindingFlags.Static);
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\TypeSystem.cs (2)
24"GetDefault", BindingFlags.Static | BindingFlags.NonPublic); 139BindingFlags.Static | BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic))
System\Data\Objects\Internal\EntityProxyFactory.cs (6)
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); 568ConstructorInfo ctor = ospaceEntityType.ClrType.GetConstructor(BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance | BindingFlags.CreateInstance, null, Type.EmptyTypes, null); 1581_serializationConstructor = _baseClrType.GetConstructor(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, new Type[] { typeof(SerializationInfo), typeof(StreamingContext) }, null);
System\Data\Objects\Internal\EntityProxyTypeInfo.cs (1)
76FieldInfo entityWrapperField = proxyType.GetField(EntityWrapperFieldName, BindingFlags.DeclaredOnly | BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance);
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\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\Objects\ObjectQuery_TResultType.cs (2)
133MethodInfo mergeAsMethod = objectQueryType.GetMethod("MergeAs", BindingFlags.Instance | BindingFlags.NonPublic); 141MethodInfo includeSpanMethod = objectQueryType.GetMethod("IncludeSpan", BindingFlags.Instance | BindingFlags.NonPublic);
System\Data\Objects\ObjectViewFactory.cs (3)
122ConstructorInfo viewDataConstructor = objectViewDataType.GetConstructor(BindingFlags.Instance | BindingFlags.NonPublic, 205ConstructorInfo viewDataConstructor = objectViewDataType.GetConstructor(BindingFlags.Instance | BindingFlags.NonPublic, 238ConstructorInfo viewConstructor = objectViewType.GetConstructor(BindingFlags.Instance | BindingFlags.NonPublic,
System\Data\Query\InternalTrees\ColumnMapFactory.cs (2)
135ConstructorInfo constructor = type.GetConstructor(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance, 145foreach (PropertyInfo prop in type.GetProperties(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance))
System.Data.Entity.Design (3)
System\Data\Entity\Design\Common\MetadataItemSerializer.cs (1)
580MethodInfo mi = typeof(EdmType).GetMethod("GetAssociatedFacetDescriptions", BindingFlags.NonPublic | BindingFlags.Instance);
System\Data\Entity\Design\EntityCodeGenerator.cs (1)
604BindingFlags flags = BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.FlattenHierarchy;
System\Data\EntityModel\Emitters\Utils.cs (1)
63BindingFlags bindingFlags = BindingFlags.FlattenHierarchy | BindingFlags.NonPublic | BindingFlags.Public
System.Data.Linq (62)
DataBindingList.cs (1)
19BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null,
DataContext.cs (1)
397tb = (ITable)Activator.CreateInstance(tbType, BindingFlags.Instance|BindingFlags.Public|BindingFlags.NonPublic, null, new object[] { this, metaTable }, null);
DataServices.cs (1)
294BindingFlags.Instance | BindingFlags.NonPublic, null,
IdentityManager.cs (3)
66BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, 82BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, 90BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null,
Mapping\Accessors.cs (2)
59BindingFlags.Instance | BindingFlags.NonPublic, null, 127BindingFlags.Instance|BindingFlags.NonPublic, null,
Mapping\AttributedMetaModel.cs (12)
131FieldInfo[] fields = type.GetFields(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly); 139PropertyInfo[] props = type.GetProperties(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly); 165foreach (MethodInfo mi in type.GetMethods(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.DeclaredOnly)) { 367BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, 373BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, 379BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, 576BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, 583BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, 600BindingFlags flags = BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.FlattenHierarchy; 1040MemberInfo[] mis = mi.DeclaringType.GetMember(this.attr.Storage, BindingFlags.Instance | BindingFlags.NonPublic); 1241BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, 1304return (MetaAccessor)Activator.CreateInstance(accessorType, BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, args, null);
Mapping\MappedMetaModel.cs (15)
95FieldInfo[] fields = type.GetFields(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly); 109PropertyInfo[] props = type.GetProperties(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly); 240return type.GetMethod(methodName, BindingFlags.Instance|BindingFlags.Public|BindingFlags.NonPublic); 395BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, 401BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, 407BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, 613BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, 620BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, 637BindingFlags flags = BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.FlattenHierarchy; 702foreach(MemberInfo mi in aboveRoot.GetMembers(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic)) { 971MemberInfo[] mis = mi.DeclaringType.GetMember(this.memberMap.StorageMemberName, BindingFlags.Instance | BindingFlags.NonPublic); 1146BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, 1209return (MetaAccessor)Activator.CreateInstance(accessorType, BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, args, null); 1495MemberInfo[] rmis = mtype.Type.GetMember(names[i], BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic); 1666BindingFlags flags = BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.FlattenHierarchy;
parent\parent\misc\SecurityUtils.cs (3)
124flags |= BindingFlags.NonPublic; 171BindingFlags flags = BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | extraFlags; 173flags &= ~BindingFlags.NonPublic;
SqlClient\Common\TypeSystem.cs (1)
148MethodInfo mi = type.GetMethods(BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic)
SqlClient\Query\QueryConverter.cs (1)
899foreach (PropertyInfo pi in mi.DeclaringType.GetProperties(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic)) {
SqlClient\Query\Translator.cs (1)
111ConstructorInfo cons = rowType.Type.GetConstructor(BindingFlags.Instance|BindingFlags.Public|BindingFlags.NonPublic, null, System.Type.EmptyTypes, null);
SqlClient\Reader\ObjectReaderCompiler.cs (16)
159this.miDRisDBNull = dataReaderType.GetMethod("IsDBNull", BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic); 160this.miBRisDBNull = typeof(DbDataReader).GetMethod("IsDBNull", BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic); 210factoryType, BindingFlags.Instance | BindingFlags.NonPublic, null, 260return (IObjectReaderSession)Activator.CreateInstance(sessionType, BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, 815BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, 985BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, 1038BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, 1206MethodInfo miSetSource = memberType.GetMethod("SetSource", BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, new Type[] { argType }, null); 1268MethodInfo miAssign = memberType.GetMethod("Assign", BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, new Type[] { argType }, null); 1312ConstructorInfo ci = memberType.GetConstructor(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, new Type[] { argType }, null); 1380mi = typeof(ObjectMaterializer<>).MakeGenericType(this.compiler.dataReaderType).GetMethod("GetNestedLinkSource", BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic); 1399mi = typeof(ObjectMaterializer<>).MakeGenericType(this.compiler.dataReaderType).GetMethod("GetLinkSource", BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic); 1452.GetMethod("ExecuteSubQuery", BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic); 1510MethodInfo miRead = orbType.GetMethod("Read", BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, Type.EmptyTypes, null); 1725MethodInfo miAssign = expectedType.GetMethod("Assign", BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, new Type[] { seqType }, null); 2163FieldInfo fi = varType.GetField("Value", BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly);
SqlClient\SqlProvider.cs (5)
1019BindingFlags.Instance | BindingFlags.NonPublic, null, new object[] { obj }, null 1054BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, 1106BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, 1117BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, 1227return (IEnumerable)Activator.CreateInstance(enumerableType, BindingFlags.Instance | BindingFlags.NonPublic, null, new object[] { e }, null);
System.Data.Services (19)
System\Data\Services\Parsing\RequestQueryParser.cs (2)
175.GetMethod("ByteArraysEqual", BindingFlags.NonPublic | BindingFlags.Static); 179.GetMethod("ByteArraysNotEqual", BindingFlags.NonPublic | BindingFlags.Static);
System\Data\Services\Providers\BasicExpandProvider.cs (4)
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)
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 (9)
System\Data\Services\Client\ALinq\DataServiceQueryProvider.cs (2)
54BindingFlags.NonPublic | BindingFlags.Instance, 81MethodInfo mi = typeof(DataServiceQueryProvider).GetMethod("ReturnSingleton", BindingFlags.NonPublic | BindingFlags.Instance);
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\Binding\BindingGraph.cs (1)
105.GetMethod("SetObserver", BindingFlags.Instance | BindingFlags.NonPublic)
System\Data\Services\Client\Binding\BindingObserver.cs (1)
205.GetMethod("VerifyObserverNotPresent", BindingFlags.NonPublic | BindingFlags.Static)
System\Data\Services\Client\DataServiceQueryContinuation.cs (1)
96var constructors = typeof(DataServiceQueryContinuation<>).MakeGenericType(plan.ProjectedType).GetConstructors(BindingFlags.NonPublic | BindingFlags.Instance);
System\Data\Services\Client\ProjectionPlanCompiler.cs (2)
418MethodInfo method = typeof(AtomMaterializerInvoker).GetMethod(methodName, BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.Static); 845nex.Type.GetConstructors(BindingFlags.NonPublic | BindingFlags.Instance).First(
System\Data\Services\Client\QueryResponse.cs (1)
141BindingFlags.CreateInstance | BindingFlags.NonPublic | BindingFlags.Instance,
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)
67const BindingFlags bindingFlags = BindingFlags.FlattenHierarchy | BindingFlags.NonPublic | BindingFlags.Public
System.Data.SqlXml (5)
System\Xml\Xsl\IlGen\XmlILModule.cs (1)
314methodsBaked[methName] = typBaked.GetMethod(methName, BindingFlags.NonPublic | BindingFlags.Static);
System\Xml\Xsl\Runtime\XmlExtensionFunction.cs (1)
186methods = this.objectType.GetMethods(this.flags | BindingFlags.NonPublic);
System\Xml\Xsl\XsltOld\Compiler.cs (1)
731lang == ScriptingLanguage.JScript ? (CodeDomProvider) Activator.CreateInstance(Type.GetType("Microsoft.JScript.JScriptCodeProvider, " + AssemblyRef.MicrosoftJScript), BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.CreateInstance, null, null, null) :
System\Xml\Xsl\XsltOld\Processor.cs (1)
340BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.CreateInstance, null, null, null));
System\Xml\Xsl\XsltOld\XsltCompileContext.cs (1)
159private const BindingFlags bindingFlags = BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static;
System.Drawing (1)
commonui\System\Drawing\Printing\PrintDocument.cs (1)
145BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.CreateInstance,
System.IdentityModel (1)
System\IdentityModel\Configuration\TypeResolveHelper.cs (1)
52BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.CreateInstance,
System.Runtime.Caching (1)
System\Caching\SRef.cs (1)
19BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.CreateInstance,
System.Runtime.Remoting (4)
metadata\wsdlparser.cs (2)
3621BindingFlags bFlags = BindingFlags.DeclaredOnly | BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic; 5219BindingFlags.Public | BindingFlags.NonPublic;
metadata\wsdlwriter.cs (2)
2466if (!mi.IsPublic && type.GetMethod(mi.Name, bFlags | BindingFlags.NonPublic) != null) 2519bFlags |= BindingFlags.NonPublic;
System.Runtime.Serialization (12)
System\Runtime\Serialization\ClassDataContract.cs (4)
405type.GetConstructor(BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public, null, Globals.EmptyTypeArray, null) != null); 862memberInfos = type.GetMembers(BindingFlags.DeclaredOnly | BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic); 1110MethodInfo[] methods = type.GetMethods(BindingFlags.DeclaredOnly | BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic); 1324ConstructorInfo ctor = type.GetConstructor(BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public, null, Globals.EmptyTypeArray, null);
System\Runtime\Serialization\CollectionDataContract.cs (2)
997defaultCtor = type.GetConstructor(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, Globals.EmptyTypeArray, null); 1202addMethod = type.GetMethod(Globals.AddMethodName, BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, addMethodTypeArray, null);
System\Runtime\Serialization\DataContract.cs (1)
2101MethodInfo method = type.GetMethod(methodName, BindingFlags.Static | BindingFlags.NonPublic | BindingFlags.Public, null, Globals.EmptyTypeArray, null);
System\Runtime\Serialization\Globals.cs (1)
24internal const BindingFlags ScanAllMembers = BindingFlags.Static | BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public;
System\Runtime\Serialization\Json\JsonFormatReaderGenerator.cs (2)
653constructor = type.GetConstructor(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, Globals.EmptyTypeArray, null); 657constructor = type.GetConstructor(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, Globals.EmptyTypeArray, 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\Runtime\Serialization\XmlDataContract.cs (1)
316ConstructorInfo ctor = type.GetConstructor(BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public, null, Globals.EmptyTypeArray, null);
System.ServiceModel (15)
System\ServiceModel\Administration\AppDomainInstanceProvider.cs (2)
90string initializeData = (string)type.InvokeMember(AdministrationStrings.InitializeData, BindingFlags.GetField | BindingFlags.NonPublic | BindingFlags.Instance, null, traceListener, null, CultureInfo.InvariantCulture); 91string[] supportedAttributes = (string[])type.InvokeMember(AdministrationStrings.GetSupportedAttributes, BindingFlags.InvokeMethod | BindingFlags.NonPublic | BindingFlags.Instance, null, traceListener, null, CultureInfo.InvariantCulture);
System\ServiceModel\Configuration\BindingsSection.cs (1)
228MethodInfo tryAddMethod = bindingCollectionElement.GetType().GetMethod("TryAdd", BindingFlags.Instance | BindingFlags.NonPublic);
System\ServiceModel\Configuration\ConfigurationHelpers.cs (1)
297PropertyInfo elementPresent = element.GetType().GetProperty("ElementPresent", BindingFlags.Instance | BindingFlags.NonPublic);
System\ServiceModel\Configuration\ServiceModelEnumValidator.cs (1)
21this.isDefined = this.enumHelperType.GetMethod("IsDefined", BindingFlags.Static | BindingFlags.NonPublic | BindingFlags.Public);
System\ServiceModel\Configuration\StandardEndpointsSection.cs (1)
140MethodInfo tryAddMethod = endpointCollectionElement.GetType().GetMethod("TryAdd", BindingFlags.Instance | BindingFlags.NonPublic);
System\ServiceModel\Description\MetadataSet.cs (1)
589o.@Metadata = (global::System.ServiceModel.Description.MetadataReference)ReadSerializable((System.Xml.Serialization.IXmlSerializable)System.Activator.CreateInstance(typeof(global::System.ServiceModel.Description.MetadataReference), System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.CreateInstance | System.Reflection.BindingFlags.NonPublic, null, new object[0], null));
System\ServiceModel\Description\ServiceReflector.cs (1)
336internal const BindingFlags ServiceModelBindingFlags = BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance;
System\ServiceModel\Description\TypeLoader.cs (3)
42internal const BindingFlags DefaultBindingFlags = BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.Public; 389MethodInfo method = type.GetMethod(knownTypeAttribute.MethodName, BindingFlags.Static | BindingFlags.NonPublic | BindingFlags.Public, null, knownTypesMethodParamType, null); 1264foreach (MemberInfo memberInfo in baseType.GetMembers(BindingFlags.DeclaredOnly | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance))
System\ServiceModel\Diagnostics\OperationInvokerTrace.cs (1)
36traceInstructionMethod = typeof(OperationInvokerTrace).GetMethod("TraceInstruction", BindingFlags.Static | BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public);
System\ServiceModel\Diagnostics\PerformanceCounters.cs (1)
678MethodInfo method = o.GetType().GetMethod(methodName, BindingFlags.NonPublic | BindingFlags.Instance);
System\ServiceModel\Dispatcher\InstanceBehavior.cs (1)
18const BindingFlags DefaultBindingFlags = BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.Public;
System\ServiceModel\Dispatcher\OperationFormatter.cs (1)
158BindingFlags bindingFlags = BindingFlags.Instance | BindingFlags.Public | BindingFlags.CreateInstance | BindingFlags.NonPublic;
System.ServiceModel.Activation (2)
System\ServiceModel\Activation\HostedTransportConfigurationManager.cs (1)
76MethodInfo method = type.GetMethod(CreateMetabaseSettingsIis7MethodName, BindingFlags.NonPublic | BindingFlags.Static);
System\ServiceModel\ServiceHostingEnvironment.cs (1)
1989BindingFlags.CreateInstance | BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance,
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 (20)
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;
AspNetEventSource.cs (1)
39"WriteEventWithRelatedActivityIdCore", BindingFlags.Instance | BindingFlags.NonPublic, null,
Compilation\BrowserCapabilitiesCompiler.cs (1)
293BindingFlags flags = BindingFlags.IgnoreCase | BindingFlags.Instance | BindingFlags.NonPublic;
Compilation\CompilationUtil.cs (1)
553BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.IgnoreCase | BindingFlags.Instance);
HttpApplicationFactory.cs (2)
304methods = _theApplicationType.GetMethods(BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static); 313methods = baseType.GetMethods(BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.Static);
HttpRuntime.cs (1)
3416BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.CreateInstance,
parent\parent\parent\Misc\SecurityUtils.cs (3)
124flags |= BindingFlags.NonPublic; 171BindingFlags flags = BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | extraFlags; 173flags &= ~BindingFlags.NonPublic;
UI\ControlBuilder.cs (1)
2525BindingFlags.IgnoreCase | BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance);
UI\Util.cs (2)
563BindingFlags.IgnoreCase | BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance); 579| BindingFlags.IgnoreCase | BindingFlags.NonPublic;
UI\WebControls\AdRotator.cs (1)
520BindingFlags.NonPublic | BindingFlags.Instance,
UI\WebParts\PersonalizableTypeEntry.cs (1)
60BindingFlags flags = BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic;
UI\WebParts\WebPartManager.cs (1)
1772MethodInfo[] methods = type.GetMethods(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance);
Util\ExecutionContextUtil.cs (1)
24PropertyInfo propInfo = typeof(ExecutionContext).GetProperty("PreAllocatedDefault", BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Static);
Util\ReflectionUtil.cs (1)
32FieldInfo[] allFields = targetType.GetFields(BindingFlags.Instance | BindingFlags.DeclaredOnly | BindingFlags.NonPublic | BindingFlags.Public);
System.Web.ApplicationServices (1)
Hosting\CustomLoaderHelper.cs (1)
70bindingAttr: BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.CreateInstance | BindingFlags.Instance,
System.Web.DataVisualization (7)
Common\Utilities\XmlSerializer.cs (6)
404 MethodInfo mi = objectToReset.GetType().GetMethod("Reset" + pi.Name, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public); 473MethodInfo mi = objectToReset.GetType().GetMethod("Reset" + pi.Name, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public); 1550 MethodInfo mi = objectToSerialize.GetType().GetMethod("ShouldSerialize" + pi.Name, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public ); 1719MethodInfo mi = parent.GetType().GetMethod("ShouldSerialize" + elementName, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public); 2400MethodInfo mi = objectToSerialize.GetType().GetMethod("ShouldSerialize" + pi.Name, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public); 2615 MethodInfo mi = parent.GetType().GetMethod("ShouldSerialize" + elementName, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public );
WebForm\General\ChartHttpHandler.cs (1)
1044BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance,
System.Web.Entity (7)
System\Data\WebControls\EntityDataSourceUtil.cs (2)
249ConstructorInfo constructorInfo = type.GetConstructor(BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance | BindingFlags.CreateInstance, null, System.Type.EmptyTypes, null); 264PropertyInfo propertyInfo = type.GetProperty(name, BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance, null, null, Type.EmptyTypes, null);
System\Data\WebControls\EntityDataSourceView.cs (5)
182private static readonly MethodInfo _executeSelectMethod = typeof(EntityDataSourceView).GetMethod("ExecuteSelectTyped", BindingFlags.NonPublic | BindingFlags.Instance); 183private static readonly MethodInfo _continueSelectMethod = typeof(EntityDataSourceView).GetMethod("ContinueSelectTyped", BindingFlags.NonPublic | BindingFlags.Instance); 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); 1130BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance | BindingFlags.CreateInstance,
System.Web.Entity.Design (1)
System\Data\WebControls\Design\EntityDataSourceStatementEditorForm.cs (1)
161this._parameterEditorUserControl = (ParameterEditorUserControl)Activator.CreateInstance(typeof(ParameterEditorUserControl), BindingFlags.NonPublic | BindingFlags.Instance, null, new object[] { ServiceProvider, _entityDataSource }, null);
System.Web.Extensions (1)
Script\Services\ProxyGenerator.cs (1)
47MethodInfo getClientProxyMethod = wcfProxyType.GetMethod(WCFProxyMethodName, BindingFlags.Static | BindingFlags.NonPublic);
System.Web.Mobile (3)
UI\MobileControls\Design\MobileContainerDesigner.cs (1)
88BindingFlags.Instance | BindingFlags.GetProperty | BindingFlags.NonPublic,
UI\MobileControls\Design\MobileControlDesigner.cs (1)
130BindingFlags.Instance | BindingFlags.GetProperty | BindingFlags.NonPublic,
UI\MobileControls\Design\MobileTemplatedControlDesigner.cs (1)
181BindingFlags.Instance | BindingFlags.GetProperty | BindingFlags.NonPublic,
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\WebMethodAttribute.cs (1)
271MethodInfo[] methods = type.GetMethods(BindingFlags.Public | BindingFlags.Instance | BindingFlags.NonPublic);
System.Windows.Forms (6)
misc\SecurityUtils.cs (3)
124flags |= BindingFlags.NonPublic; 171BindingFlags flags = BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | extraFlags; 173flags &= ~BindingFlags.NonPublic;
winforms\Managed\System\WinForms\Control.cs (2)
18148BindingFlags.Static | BindingFlags.NonPublic | BindingFlags.InvokeMethod, 18223BindingFlags.Static | BindingFlags.NonPublic | BindingFlags.InvokeMethod,
winforms\Managed\System\WinForms\WinFormsUtils.cs (1)
767PropertyInfo runningOnV4_5_Property = binaryCompatibitlityType.GetProperty(propertyName, Reflection.BindingFlags.Public | Reflection.BindingFlags.NonPublic | Reflection.BindingFlags.Static);
System.Windows.Forms.DataVisualization (6)
Common\Utilities\XmlSerializer.cs (6)
404 MethodInfo mi = objectToReset.GetType().GetMethod("Reset" + pi.Name, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public); 473MethodInfo mi = objectToReset.GetType().GetMethod("Reset" + pi.Name, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public); 1550 MethodInfo mi = objectToSerialize.GetType().GetMethod("ShouldSerialize" + pi.Name, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public ); 1719MethodInfo mi = parent.GetType().GetMethod("ShouldSerialize" + elementName, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public); 2400MethodInfo mi = objectToSerialize.GetType().GetMethod("ShouldSerialize" + pi.Name, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public); 2615 MethodInfo mi = parent.GetType().GetMethod("ShouldSerialize" + elementName, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public );
System.Workflow.Activities (26)
Common\BasePropertyDescriptor.cs (1)
429foreach (MemberInfo memberInfo in ownerType.GetMembers(BindingFlags.FlattenHierarchy | BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic))
Designers\StateDesignerConnector.cs (4)
263properties.Add(typeof(StateDesignerConnector).GetProperty("SetStateName", BindingFlags.Instance | BindingFlags.NonPublic)); 264properties.Add(typeof(StateDesignerConnector).GetProperty("SourceStateName", BindingFlags.Instance | BindingFlags.NonPublic)); 265properties.Add(typeof(StateDesignerConnector).GetProperty("TargetStateName", BindingFlags.Instance | BindingFlags.NonPublic)); 266properties.Add(typeof(StateDesignerConnector).GetProperty("EventHandlerName", BindingFlags.Instance | BindingFlags.NonPublic));
LocalService\CorrelationResolver.cs (1)
389BindingFlags bindingFlags = BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic;
Rules\Expressions.cs (5)
942bindingFlags |= BindingFlags.NonPublic; 1095bindingFlags |= BindingFlags.NonPublic; 1374bindingFlags |= BindingFlags.NonPublic; 2368bindingFlags |= BindingFlags.NonPublic; 2979bindingFlags |= BindingFlags.NonPublic;
Rules\Parser\Parser.cs (10)
243flags |= BindingFlags.NonPublic; 322MethodInfo[] accessors = prop.GetAccessors((flags & BindingFlags.NonPublic) != 0); 339MethodInfo[] accessors = prop.GetAccessors((flags & BindingFlags.NonPublic) != 0); 366flags |= BindingFlags.NonPublic; 378flags |= BindingFlags.NonPublic; 413flags |= BindingFlags.NonPublic; 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; 1944bindingFlags |= BindingFlags.NonPublic; 2256bindingFlags |= BindingFlags.NonPublic;
Rules\RuleAction.cs (1)
137bindingFlags |= BindingFlags.NonPublic;
Rules\RuleAttributes.cs (3)
138bindingFlags |= BindingFlags.NonPublic; 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 (1)
2363bindingFlags |= BindingFlags.NonPublic;
System.Workflow.ComponentModel (35)
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 (3)
653BindingFlags supported = BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Static | BindingFlags.FlattenHierarchy | BindingFlags.Instance | BindingFlags.DeclaredOnly | BindingFlags.IgnoreCase; 746return ((((isPublic) && ((bindingFlags & BindingFlags.Public) != 0)) || ((!isPublic) && ((bindingFlags & BindingFlags.NonPublic) != 0)))); 749return ((((isPublic) && ((bindingFlags & BindingFlags.Public) != 0)) || ((!isPublic) && ((bindingFlags & BindingFlags.NonPublic) != 0))) && (((isStatic) && ((bindingFlags & BindingFlags.Static) != 0)) || ((!isStatic) && ((bindingFlags & BindingFlags.Instance) != 0))));
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\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\Compiler\XomlCompilerHelpers.cs (1)
110MethodInfo initializeComponent = type.GetMethod("InitializeComponent", BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance, null, Type.EmptyTypes, 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 (2)
2029designer = Activator.CreateInstance(designerType, BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.CreateInstance, null, null, null) as IDesigner; 2126foreach (MemberInfo memberInfo in customActivityType.GetMembers(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.Static))
AuthoringOM\Design\ActivityDesignerLayoutSerializers.cs (10)
117PropertyInfo nameProperty = activityDesigner.GetType().GetProperty("Name", BindingFlags.Instance | BindingFlags.NonPublic); 134properties.Add(typeof(CompositeActivityDesigner).GetProperty("Designers", BindingFlags.Instance | BindingFlags.NonPublic)); 170serializableProperties.Add(typeof(FreeformActivityDesigner).GetProperty("DesignerConnectors", BindingFlags.Instance | BindingFlags.NonPublic)); 191properties.Add(typeof(Connector).GetProperty("SourceActivity", BindingFlags.Instance | BindingFlags.NonPublic)); 192properties.Add(typeof(Connector).GetProperty("SourceConnectionIndex", BindingFlags.Instance | BindingFlags.NonPublic)); 193properties.Add(typeof(Connector).GetProperty("SourceConnectionEdge", BindingFlags.Instance | BindingFlags.NonPublic)); 194properties.Add(typeof(Connector).GetProperty("TargetActivity", BindingFlags.Instance | BindingFlags.NonPublic)); 195properties.Add(typeof(Connector).GetProperty("TargetConnectionIndex", BindingFlags.Instance | BindingFlags.NonPublic)); 196properties.Add(typeof(Connector).GetProperty("TargetConnectionEdge", BindingFlags.Instance | BindingFlags.NonPublic)); 197properties.Add(typeof(Connector).GetProperty("Segments", BindingFlags.Instance | BindingFlags.NonPublic));
AuthoringOM\Design\DesignerHelpers.cs (1)
1622BindingFlags bindingFlags = BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.Static | BindingFlags.FlattenHierarchy;
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (1)
331foreach (MemberInfo memberInfo in customActivityType.GetMembers(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.Static))
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)
436bindingFlags |= BindingFlags.NonPublic; 699foreach (MemberInfo memberInfo in ownerType.GetMembers(BindingFlags.FlattenHierarchy | BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic))
AuthoringOM\Serializer\CompositeActivityTypeDescriptor.cs (1)
40PropertyInfo propInfo = typeof(CompositeActivity).GetProperty("CanModifyActivities", BindingFlags.NonPublic | BindingFlags.Instance);
AuthoringOM\Serializer\DependencyObjectCodeDomSerializer.cs (1)
105FieldInfo fieldInfo = dependencyProperty.OwnerType.GetField(dependencyPropertyName, BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Static);
AuthoringOM\Serializer\FormatterServicesNoSerializableCheck.cs (2)
60FieldInfo[] fields = type.GetFields(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance); 142typeFields = parentType.GetFields(BindingFlags.NonPublic | BindingFlags.Instance);
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (2)
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 (7)
DebugEngine\DebugController.cs (2)
1102MethodInfo getInvocationListMethod = activity.GetType().GetMethod("System.Workflow.ComponentModel.IDependencyObjectAccessor.GetInvocationList", BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.FlattenHierarchy); 1104foreach (EventInfo eventInfo in activity.GetType().GetEvents(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.FlattenHierarchy))
Tracking\PropertyHelper.cs (5)
104BindingFlags.NonPublic | 174BindingFlags.NonPublic | 194BindingFlags.NonPublic | 244BindingFlags.NonPublic | 258BindingFlags.NonPublic |
System.WorkflowServices (4)
System\Workflow\Activities\ContractType.cs (2)
578return ((((isPublic) && ((bindingFlags & BindingFlags.Public) != 0)) || ((!isPublic) && ((bindingFlags & BindingFlags.NonPublic) != 0)))); 581return ((((isPublic) && ((bindingFlags & BindingFlags.Public) != 0)) || ((!isPublic) && ((bindingFlags & BindingFlags.NonPublic) != 0))) && (((isStatic) && ((bindingFlags & BindingFlags.Static) != 0)) || ((!isStatic) && ((bindingFlags & BindingFlags.Instance) != 0))));
System\Workflow\Activities\ServiceOperationHelpers.cs (1)
313BindingFlags bindingFlags = BindingFlags.DeclaredOnly | BindingFlags.Instance | BindingFlags.NonPublic;
System\Workflow\Activities\TypedOperationInfo.cs (1)
245BindingFlags bindingFlags = BindingFlags.DeclaredOnly | BindingFlags.Instance | BindingFlags.NonPublic;
System.Xaml.Hosting (2)
System\Xaml\Hosting\XamlBuildProvider.cs (1)
162BindingFlags.CreateInstance | BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance,
System\Xaml\Hosting\XamlHttpHandlerFactory.cs (1)
51BindingFlags.CreateInstance | BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance,
System.Xml (13)
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)
38internal static BindingFlags InstanceBindingFlags = BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic; 39internal static BindingFlags StaticBindingFlags = BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic;
System\Xml\Serialization\Types.cs (3)
1092ConstructorInfo ctor = type.GetConstructor(BindingFlags.Public | BindingFlags.Instance | BindingFlags.NonPublic, null, new Type[0], null); 1118foreach (MemberInfo member in type.GetMember("System.Collections.Generic.IEnumerable<*", BindingFlags.Public | BindingFlags.Instance | BindingFlags.NonPublic)) { 1132enumerator = type.GetMethod("System.Collections.IEnumerable.GetEnumerator", BindingFlags.Public | BindingFlags.Instance | BindingFlags.NonPublic, null, new Type[0], null);
System\Xml\Serialization\XmlSerializationWriterILGen.cs (1)
2348bindingFlags |= BindingFlags.NonPublic;
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;
WindowsBase (5)
Base\MS\Internal\ComponentModel\DependencyObjectPropertyDescriptor.cs (1)
600BindingFlags flags = BindingFlags.Public | BindingFlags.NonPublic;
Base\System\Windows\Markup\TypeConverterHelper.cs (3)
65BindingFlags.NonPublic | BindingFlags.FlattenHierarchy); 75BindingFlags.Public | BindingFlags.NonPublic | 95BindingFlags.Public | BindingFlags.NonPublic |
Base\System\Windows\WeakEventManager.cs (1)
107s_DeliverEventMethodInfo = typeof(WeakEventManager).GetMethod("DeliverEvent", BindingFlags.NonPublic | BindingFlags.Instance);
XamlBuildTask (1)
Microsoft\Build\Tasks\Xaml\XamlValidatingReader.cs (1)
316BindingFlags.Static | BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public) == null)