Implemented interface members:
method
GetField
System.Reflection.IReflect.GetField(System.String, System.Reflection.BindingFlags)
method
GetField
System.Runtime.InteropServices._Type.GetField(System.String, System.Reflection.BindingFlags)
13 overrides of GetField
mscorlib (7)
system\reflection\emit\enumbuilder.cs (1)
163public override FieldInfo GetField(String name, BindingFlags bindingAttr)
system\reflection\emit\generictypeparameterbuilder.cs (1)
130public override FieldInfo GetField(String name, BindingFlags bindingAttr) { throw new NotSupportedException(); }
system\reflection\emit\symboltype.cs (1)
443public override FieldInfo GetField(String name, BindingFlags bindingAttr)
system\reflection\emit\typebuilder.cs (1)
1171public override FieldInfo GetField(String name, BindingFlags bindingAttr)
system\reflection\emit\typebuilderinstantiation.cs (1)
177public override FieldInfo GetField(String name, BindingFlags bindingAttr) { throw new NotSupportedException(); }
system\reflection\typedelegator.cs (1)
116public override FieldInfo GetField(String name, BindingFlags bindingAttr)
system\rttype.cs (1)
3350public override FieldInfo GetField(String name, BindingFlags bindingAttr)
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
1081public override FieldInfo GetField(string name, BindingFlags bindingAttr) { return _baseReflectionType.GetField(name, bindingAttr); }
System.Data (1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
1081public override FieldInfo GetField(string name, BindingFlags bindingAttr) { return _baseReflectionType.GetField(name, bindingAttr); }
System.Web (1)
Compilation\DelayLoadType.cs (1)
104public override FieldInfo GetField(string name, BindingFlags bindingAttr) {
System.Workflow.ComponentModel (2)
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (1)
391public override FieldInfo GetField(string name, BindingFlags bindingAttr)
AuthoringOM\Compiler\TypeSystem\RTTypeWrapper.cs (1)
326public override FieldInfo GetField(string name, BindingFlags bindingAttr)
System.WorkflowServices (1)
System\Workflow\Activities\ContractType.cs (1)
284public override FieldInfo GetField(string name, BindingFlags bindingAttr)
77 references to GetField
mscorlib (7)
system\object.cs (1)
206FieldInfo fldInfo = t.GetField(fieldName, BindingFlags.Public |
system\reflection\module.cs (1)
764return declaringType.GetField(fieldName,
system\reflection\typedelegator.cs (1)
118return typeImpl.GetField(name,bindingAttr);
system\reflection\typeinfo.cs (1)
91return GetField(name, Type.DeclaredOnlyLookup);
system\runtime\interopservices\marshal.cs (1)
285FieldInfo f = t.GetField(fieldName, BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic);
system\runtime\serialization\objectmanager.cs (1)
395fieldsTemp[currentFieldIndex] = parentField.FieldType.GetField("value", BindingFlags.NonPublic|BindingFlags.Instance);
system\type.cs (1)
573return GetField(name, Type.DefaultLookup);
PresentationBuildTasks (3)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (1)
1860FieldInfo fiEvent = miEvent.DeclaringType.GetField(eventName + EVENT, BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic);
Framework\System\Windows\Markup\BamlRecords.cs (1)
2612FieldInfo enumField = ValueType.GetField(enumValue.Trim(), BindingFlags.Static | BindingFlags.Public | BindingFlags.IgnoreCase);
Framework\System\Windows\Markup\XamlTypeMapper.cs (1)
2476memberInfo = targetType.GetField(memberName, bf);
PresentationFramework (7)
src\Framework\MS\Internal\LayoutDump.cs (2)
907System.Reflection.FieldInfo field = paragraphResultType.GetField("_paraClient", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic); 952System.Reflection.FieldInfo fieldOfParaClient = paragraphResultType.GetField("_paraClient",
src\Framework\MS\Internal\SystemDataHelper.cs (1)
75FieldInfo nullField = type.GetField("Null", BindingFlags.Static | BindingFlags.Public | BindingFlags.FlattenHierarchy);
src\Framework\System\Windows\Input\Command\CommandConverter.cs (1)
158FieldInfo fieldInfo = ownerType.GetField(localName, BindingFlags.Static | BindingFlags.Public);
src\Framework\System\Windows\Input\Command\CommandValueSerializer.cs (1)
54FieldInfo fieldInfo = ownerType.GetField(localName, BindingFlags.Static | BindingFlags.Public);
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\XamlTypeMapper.cs (1)
2476memberInfo = targetType.GetField(memberName, bf);
System (3)
compmod\system\componentmodel\AttributeCollection.cs (1)
331System.Reflection.FieldInfo field = reflect.GetField("Default", BindingFlags.Public | BindingFlags.Static | BindingFlags.GetField);
regex\system\text\regularexpressions\RegexCompiler.cs (2)
181return typeof(RegexRunner).GetField(fieldname, BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static); 3346return typeof(Regex).GetField(fieldname, BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic);
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
1081public override FieldInfo GetField(string name, BindingFlags bindingAttr) { return _baseReflectionType.GetField(name, bindingAttr); }
System.Core (6)
Microsoft\Scripting\Ast\MemberExpression.cs (6)
173FieldInfo fi = expression.Type.GetField(fieldName, BindingFlags.Instance | BindingFlags.Public | BindingFlags.IgnoreCase | BindingFlags.FlattenHierarchy); 175fi = expression.Type.GetField(fieldName, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.IgnoreCase | BindingFlags.FlattenHierarchy); 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); 335FieldInfo fi = expression.Type.GetField(propertyOrFieldName, BindingFlags.Instance | BindingFlags.Public | BindingFlags.IgnoreCase | BindingFlags.FlattenHierarchy); 341fi = expression.Type.GetField(propertyOrFieldName, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.IgnoreCase | BindingFlags.FlattenHierarchy);
System.Data (8)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
1081public override FieldInfo GetField(string name, BindingFlags bindingAttr) { return _baseReflectionType.GetField(name, bindingAttr); }
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\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 (1)
50System.Reflection.FieldInfo fieldInfo = type.GetField("Null", System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.Static);
fx\src\data\System\Data\Sql\sqlnorm.cs (1)
108FieldInfo fi = t.GetField("Null", BindingFlags.Public | BindingFlags.Static);
System.Data.Entity (5)
System\Data\Metadata\Edm\LightweightCodeGenerator.cs (1)
444gen.Emit(OpCodes.Ldsfld, typeof(LightweightCodeGenerator).GetField("MemberAccessReflectionPermission", BindingFlags.Static | BindingFlags.NonPublic));
System\Data\Objects\Internal\EntityProxyFactory.cs (3)
463FieldInfo interceptorField = proxyType.GetField(LazyLoadImplementor.GetInterceptorFieldName(member.Name), BindingFlags.DeclaredOnly | BindingFlags.Static | BindingFlags.NonPublic); 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\EntityProxyTypeInfo.cs (1)
76FieldInfo entityWrapperField = proxyType.GetField(EntityWrapperFieldName, BindingFlags.DeclaredOnly | BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance);
System.Data.Linq (6)
SqlClient\Reader\ObjectReaderCompiler.cs (6)
163this.ordinalsField = orbType.GetField("Ordinals", BindingFlags.Instance | BindingFlags.Public); 164this.globalsField = orbType.GetField("Globals", BindingFlags.Instance | BindingFlags.Public); 165this.argsField = orbType.GetField("Arguments", BindingFlags.Instance | BindingFlags.Public); 166this.readerField = orbType.GetField("DataReader", BindingFlags.Instance | BindingFlags.Public); 167this.bufferReaderField = orbType.GetField("BufferReader", BindingFlags.Instance | BindingFlags.Public); 2163FieldInfo fi = varType.GetField("Value", BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly);
System.Runtime.Serialization (2)
System\Runtime\Serialization\XmlFormatGeneratorStatics.cs (2)
903contractNamespacesField = typeof(ClassDataContract).GetField("ContractNamespaces", Globals.ScanAllMembers); 916memberNamesField = typeof(ClassDataContract).GetField("MemberNames", Globals.ScanAllMembers);
System.Web (7)
Compilation\ClientBuildManagerTypeDescriptionProviderBridge.cs (2)
57FieldInfo runtimeFieldInfo = type.GetField(name, bindingAttr); 62FieldInfo reflectionFieldInfo = reflectionType.GetField(name, bindingAttr);
Compilation\DelayLoadType.cs (1)
105return Type.GetField(name, bindingAttr);
UI\TargetFrameworkUtil.cs (3)
246return type.GetField(name, bindingAttr); 252FieldInfo fieldInfo = targetFrameworkType.GetField(name, bindingAttr); 256return type.GetField(name, bindingAttr);
UI\Util.cs (1)
562FieldInfo fieldInfo = classType.GetField(fieldName,
System.Web.Extensions (1)
Script\Serialization\ObjectConverter.cs (1)
81FieldInfo fieldInfo = serverType.GetField(memberName,
System.Windows.Forms (1)
winforms\Managed\System\WinForms\AccessibleObject.cs (1)
2515return typeof(IAccessible).GetField(name, bindingAttr);
System.Workflow.Activities (3)
Rules\Expressions.cs (1)
944FieldInfo fi = targetType.GetField(fieldRefExpr.FieldName, bindingFlags);
Rules\RuleAction.cs (1)
138FieldInfo field = currentType.GetField(parts[i], bindingFlags);
Rules\RuleAttributes.cs (1)
140FieldInfo field = currentType.GetField(parts[i], bindingFlags);
System.Workflow.ComponentModel (13)
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (1)
907member = baseType.GetField(memberSignature.Name, bindingAttr);
AuthoringOM\Compiler\TypeSystem\RTTypeWrapper.cs (1)
328FieldInfo field = this.runtimeType.GetField(name, bindingAttr);
AuthoringOM\Compiler\Validation\BindValidator.cs (1)
118FieldInfo fieldInfo = resolvedType.GetField(dsName, BindingFlags.Public | BindingFlags.Static | BindingFlags.Instance | BindingFlags.FlattenHierarchy);
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\CustomActivityDesigner.cs (1)
444FieldInfo fieldInfo = customActivityType.GetField(member.Name + fieldSuffix, BindingFlags.Public | BindingFlags.Static);
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 (4)
1539if (dependencyProperty.OwnerType.GetField(dependencyProperty.Name + "Event", BindingFlags.Static | BindingFlags.Public | BindingFlags.DeclaredOnly) == null) 1550if (dependencyProperty.OwnerType.GetField(dependencyProperty.Name + "Property", BindingFlags.Static | BindingFlags.Public | BindingFlags.DeclaredOnly) == null) 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);
System.WorkflowServices (2)
System\Workflow\Activities\ServiceOperationHelpers.cs (1)
314FieldInfo argumentNamesField = typeof(AttributeInfo).GetField("argumentNames", bindingFlags);
System\Workflow\Activities\TypedOperationInfo.cs (1)
246FieldInfo argumentNamesField = typeof(AttributeInfo).GetField("argumentNames", bindingFlags);
System.Xml (1)
System\Xml\Serialization\XmlSerializationWriterILGen.cs (1)
2314FieldInfo DBNull_Value = typeof(DBNull).GetField("Value", CodeGenerator.StaticBindingFlags);
UIAutomationClient (1)
MS\Internal\Automation\ProxyManager.cs (1)
83FieldInfo fi = t.GetField("ClientSideProviderDescriptionTable", BindingFlags.Static | BindingFlags.Public);