Implemented interface member:
method
GetField
System.Runtime.InteropServices._Type.GetField(System.String)
62 references to GetField
mscorlib (24)
system\reflection\customattribute.cs (18)
423
new CustomAttributeNamedArgument(type.
GetField
("EntryPoint"), dllImport.EntryPoint),
424
new CustomAttributeNamedArgument(type.
GetField
("CharSet"), dllImport.CharSet),
425
new CustomAttributeNamedArgument(type.
GetField
("ExactSpelling"), dllImport.ExactSpelling),
426
new CustomAttributeNamedArgument(type.
GetField
("SetLastError"), dllImport.SetLastError),
427
new CustomAttributeNamedArgument(type.
GetField
("PreserveSig"), dllImport.PreserveSig),
428
new CustomAttributeNamedArgument(type.
GetField
("CallingConvention"), dllImport.CallingConvention),
429
new CustomAttributeNamedArgument(type.
GetField
("BestFitMapping"), dllImport.BestFitMapping),
430
new CustomAttributeNamedArgument(type.
GetField
("ThrowOnUnmappableChar"), dllImport.ThrowOnUnmappableChar)
463
namedArgs[i++] = new CustomAttributeNamedArgument(type.
GetField
("ArraySubType"), marshalAs.ArraySubType);
464
namedArgs[i++] = new CustomAttributeNamedArgument(type.
GetField
("SizeParamIndex"), marshalAs.SizeParamIndex);
465
namedArgs[i++] = new CustomAttributeNamedArgument(type.
GetField
("SizeConst"), marshalAs.SizeConst);
466
namedArgs[i++] = new CustomAttributeNamedArgument(type.
GetField
("IidParameterIndex"), marshalAs.IidParameterIndex);
467
namedArgs[i++] = new CustomAttributeNamedArgument(type.
GetField
("SafeArraySubType"), marshalAs.SafeArraySubType);
469
namedArgs[i++] = new CustomAttributeNamedArgument(type.
GetField
("MarshalType"), marshalAs.MarshalType);
471
namedArgs[i++] = new CustomAttributeNamedArgument(type.
GetField
("MarshalTypeRef"), marshalAs.MarshalTypeRef);
473
namedArgs[i++] = new CustomAttributeNamedArgument(type.
GetField
("MarshalCookie"), marshalAs.MarshalCookie);
475
namedArgs[i++] = new CustomAttributeNamedArgument(type.
GetField
("SafeArrayUserDefinedSubType"), marshalAs.SafeArrayUserDefinedSubType);
1808
RtFieldInfo field = attributeType.
GetField
(name) as RtFieldInfo;
system\reflection\RuntimeReflectionExtensions.cs (1)
63
return type.
GetField
(name);
system\runtime\interopservices\tceadaptergen\eventproviderwriter.cs (5)
99
FieldInfo DelegateField = SinkHelperClass.
GetField
( "m_" + SrcItfMethod.Name + "Delegate" );
103
FieldInfo CookieField = SinkHelperClass.
GetField
( "m_dwCookie" );
242
FieldInfo DelegateField = SinkHelperClass.
GetField
( "m_" + SrcItfMethod.Name + "Delegate" );
246
FieldInfo CookieField = SinkHelperClass.
GetField
( "m_dwCookie" );
587
FieldInfo CookieField = SinkHelperClass.
GetField
( "m_dwCookie" );
PresentationFramework (1)
src\Shared\MS\Internal\WindowsRuntime\ReflectionHelper.cs (1)
284
fieldInfo = obj.GetType().
GetField
(fieldName);
System (1)
compmod\system\componentmodel\EnumConverter.cs (1)
192
FieldInfo info = type.
GetField
(enumName);
System.Activities (4)
System\Activities\Expressions\FieldReference.cs (1)
54
this.fieldInfo = operandType.
GetField
(this.FieldName);
System\Activities\Expressions\FieldValue.cs (1)
48
fieldInfo = operandType.
GetField
(this.FieldName);
System\Activities\Expressions\MemberExpressionHelper.cs (1)
75
result = declaringType.
GetField
(memberName);
System\Activities\Expressions\ValueTypeFieldReference.cs (1)
52
this.fieldInfo = typeof(TOperand).
GetField
(this.FieldName);
System.Configuration (1)
System\Configuration\TypeUtil.cs (1)
200
ilGen.Emit(OpCodes.Ldsfld, typeof(String).
GetField
("Empty"));
System.Core (5)
Microsoft\Scripting\Compiler\BoundConstants.cs (1)
174
lc.IL.Emit(OpCodes.Ldfld, typeof(Closure).
GetField
("Constants"));
Microsoft\Scripting\Compiler\CompilerScope.cs (1)
405
lc.IL.Emit(OpCodes.Ldfld, typeof(Closure).
GetField
("Locals"));
Microsoft\Scripting\Compiler\CompilerScope.Storage.cs (2)
108
_boxValueField = _boxType.
GetField
("Value");
152
_boxValueField = _boxType.
GetField
("Value");
Microsoft\Scripting\Compiler\LambdaCompiler.Expressions.cs (1)
505
_ilg.Emit(OpCodes.Ldfld, siteType.
GetField
("Target"));
System.Data.Entity (5)
System\Data\Common\Internal\Materialization\Translator.cs (4)
617
internal static readonly Expression Shaper_Reader = Expression.Field(Shaper_Parameter, typeof(Shaper).
GetField
("Reader"));
618
private static readonly Expression Shaper_Workspace = Expression.Field(Shaper_Parameter, typeof(Shaper).
GetField
("Workspace"));
619
private static readonly Expression Shaper_State = Expression.Field(Shaper_Parameter, typeof(Shaper).
GetField
("State"));
620
private static readonly Expression Shaper_Context = Expression.Field(Shaper_Parameter, typeof(Shaper).
GetField
("Context"));
System\Data\Objects\Internal\PocoPropertyAccessorStrategy.cs (1)
125
FieldInfo field = entityType.
GetField
(propertyName);
System.Data.SqlXml (1)
System\Xml\Xsl\IlGen\GenerateHelper.cs (1)
95
SeqEmpty = SeqType.
GetField
("Empty");
System.Drawing (1)
commonui\System\Drawing\ColorConverter.cs (1)
296
member = typeof(Color).
GetField
("Empty");
System.Management (7)
Instrumentation\EventSource.cs (3)
583
IntPtr[] objs = new IntPtr[] {(IntPtr)converter.GetType().
GetField
("instWbemObjectAccessIP").GetValue(converter)};
807
objs[count] = (IntPtr)converter.GetType().
GetField
("instWbemObjectAccessIP").GetValue(converter);
829
objs[count] = (IntPtr) funcs[count].Target.GetType().
GetField
("instWbemObjectAccessIP").GetValue(funcs[count].Target);
Instrumentation\Instrumentation.cs (4)
350
mapTypeToConverter = (Hashtable)dynType.
GetField
("mapTypeToConverter").GetValue(null);
556
fieldInfo = convertFunctionsBatch[0].Target.GetType().
GetField
("instWbemObjectAccessIP");
562
fieldInfo = convertFunctionNoBatch.Target.GetType().
GetField
("instWbemObjectAccessIP");
572
return (IntPtr)o.GetType().
GetField
("instWbemObjectAccessIP").GetValue(o);
System.Runtime.Serialization (2)
System\Runtime\Serialization\Json\JsonFormatReaderGenerator.cs (1)
272
ilg.LoadMember(Globals.TypeOfDBNull.
GetField
("Value"));
System\Runtime\Serialization\XmlFormatReaderGenerator.cs (1)
265
ilg.LoadMember(Globals.TypeOfDBNull.
GetField
("Value"));
System.Web (4)
UI\WebControls\FontUnitConverter.cs (2)
91
member = typeof(FontUnit).
GetField
("Empty");
126
member = typeof(FontUnit).
GetField
(fieldName);
UI\WebControls\unitconverter.cs (1)
95
member = typeof(Unit).
GetField
("Empty");
Util\FastPropertyAccessor.cs (1)
289
fieldInfo = type.
GetField
(propertyName);
System.Web.Services (1)
System\Web\Services\Protocols\SoapReflector.cs (1)
453
if ((soapHeader.memberInfo = declaringType.
GetField
(headerAttribute.MemberName)) != null) {
System.Windows.Forms (3)
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2IManagedPerPropertyBrowsingHandler.cs (1)
132
FieldInfo fi = t.
GetField
(fieldName);
winforms\Managed\System\WinForms\FeatureSupport.cs (2)
53
FieldInfo fi = c.
GetField
(featureConstName);
88
FieldInfo fi = c.
GetField
(featureConstName);
System.Workflow.ComponentModel (1)
AuthoringOM\Design\TypeConverters.cs (1)
36
DeclarativeConditionDynamicProp = (DependencyProperty)RuleConditionReferenceType.
GetField
("RuleDefinitionsProperty").GetValue(null);
System.Xml (1)
System\Xml\Serialization\Models.cs (1)
252
FieldInfo specifiedField = memberInfo.DeclaringType.
GetField
(memberInfo.Name + "Specified");