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