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