Implemented interface member:
method
GetGetMethod
System.Runtime.InteropServices._PropertyInfo.GetGetMethod()
97 references to GetGetMethod
mscorlib (7)
System\Diagnostics\Eventing\TraceLogging\Statics.cs (1)
403result = propInfo.GetGetMethod();
system\rttype.cs (1)
1429MethodInfo associateMethod = propertyInfo.GetGetMethod();
system\runtime\interopservices\tceadaptergen\eventproviderwriter.cs (4)
258MethodInfo ArrayListItemGetMethod = ArrayListItemProperty.GetGetMethod(); 264MethodInfo ArrayListSizeGetMethod = ArrayListSizeProperty.GetGetMethod(); 593MethodInfo ArrayListItemGetMethod = ArrayListItemProperty.GetGetMethod(); 599MethodInfo ArrayListSizeGetMethod = ArrayListSizeProperty.GetGetMethod();
system\runtime\interopservices\windowsruntime\custompropertyimpl.cs (1)
56return m_property.GetGetMethod() != null;
PresentationFramework (1)
src\Framework\System\Windows\PropertyPath.cs (1)
182mi = pi.GetGetMethod();
System (2)
compmod\system\componentmodel\design\serialization\InstanceDescriptor.cs (1)
81MethodInfo mi = pi.GetGetMethod();
compmod\system\componentmodel\ReflectTypeDescriptionProvider.cs (1)
1254MethodInfo getMethod = propertyInfo.GetGetMethod();
System.Activities (7)
System\Activities\Expressions\PropertyReference.cs (3)
68getMethod = this.propertyInfo.GetGetMethod(); 135if (!this.propertyInfo.GetGetMethod().IsStatic && this.owner == null) 142if (this.propertyInfo.GetGetMethod() == null && TypeHelper.AreTypesCompatible(this.propertyInfo.DeclaringType, typeof(Location)) == false)
System\Activities\Expressions\PropertyValue.cs (1)
66MethodInfo getMethod = propertyInfo.GetGetMethod();
System\Activities\Expressions\ValueTypePropertyReference.cs (2)
73this.getMethod = this.propertyInfo.GetGetMethod(); 140if (this.propertyInfo.GetGetMethod() == null && TypeHelper.AreTypesCompatible(this.propertyInfo.DeclaringType, typeof(Location)) == false)
System\Activities\ExpressionUtilities.cs (1)
804MethodInfo getMethodInfo = this.propertyInfo.GetGetMethod();
System.Activities.Core.Presentation (2)
System\Activities\Core\Presentation\FlowchartDesigner.Container.cs (1)
532if (propertyInfo.GetGetMethod() != null && propertyInfo.GetSetMethod() != null)
System\Activities\Core\Presentation\SwitchDesigner.xaml.cs (1)
434object itemKey = caseType.GetProperty("Key").GetGetMethod().Invoke(item.GetCurrentValue(), null);
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\ActivityDelegateUtilities.cs (1)
89if (property.GetGetMethod() != null &&
System.Activities.Presentation\System\Activities\Presentation\ExpressionHelper.cs (1)
57Fx.Assert(literalValueProperty != null && literalValueProperty.GetGetMethod() != null, "Literal<T> must have the Value property with a public get accessor.");
System.ComponentModel.DataAnnotations (1)
DataAnnotations\LocalizableString.cs (1)
124MethodInfo getter = property.GetGetMethod();
System.Core (1)
Microsoft\Scripting\Ast\NewExpression.cs (1)
312if (pi.GetGetMethod().IsStatic) {
System.Data (3)
cdf\src\NetFx40\Tools\System.Activities.Core.Presentation\System\Activities\Core\Presentation\SwitchDesigner.xaml.cs (1)
434object itemKey = caseType.GetProperty("Key").GetGetMethod().Invoke(item.GetCurrentValue(), null);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ActivityDelegateUtilities.cs (1)
89if (property.GetGetMethod() != null &&
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ExpressionHelper.cs (1)
57Fx.Assert(literalValueProperty != null && literalValueProperty.GetGetMethod() != null, "Literal<T> must have the Value property with a public get accessor.");
System.Data.Entity (7)
System\Data\Metadata\Edm\NavigationProperty.cs (1)
52method = propertyInfo.GetGetMethod();
System\Data\Objects\ELinq\SpatialPropertyTranslator.cs (2)
46Debug.Assert(property.GetGetMethod().IsPublic && 47!property.GetGetMethod().IsStatic &&
System\Data\Objects\ELinq\TypeSystem.cs (2)
262MethodInfo getInterfaceProp = interfaceProp.GetGetMethod(); 277MethodInfo getPropertyMethod = propertyInfo.GetGetMethod();
System\Data\Objects\Internal\EntityProxyFactory.cs (2)
1054static readonly MethodInfo s_GetRelationshipManager = typeof(IEntityWithRelationships).GetProperty("RelationshipManager").GetGetMethod(); 1060static readonly MethodInfo s_IEntityWrapper_GetEntity = typeof(IEntityWrapper).GetProperty("Entity").GetGetMethod();
System.Data.Entity.Design (1)
System\Data\EntityModel\Emitters\Utils.cs (1)
159MethodInfo miGet = member.GetGetMethod();
System.Data.Linq (6)
SqlClient\Common\InheritanceRules.cs (1)
39meth = pi.GetGetMethod();
SqlClient\Common\TypeSystem.cs (1)
111MethodInfo mi = pi.GetGetMethod() ?? pi.GetSetMethod();
SqlClient\Query\QueryConverter.cs (1)
901if (pi.CanRead && pi.GetGetMethod() == method) {
SqlClient\Query\Translator.cs (1)
494var gm = pi.GetGetMethod();
SqlClient\Reader\ObjectReaderCompiler.cs (2)
888return this.GenerateMethodCall(new SqlMethodCall(m.ClrType, m.SqlType, pi.GetGetMethod(), m.Expression, null, m.SourceExpression)); 1069MethodInfo miCanDeferLoad = piCanDeferLoad.GetGetMethod();
System.Data.Services (4)
System\Data\Services\Providers\BaseServiceProvider.cs (1)
320return propertyInfo.GetGetMethod().Invoke(target, null);
System\Data\Services\Providers\DataServiceProviderWrapper.cs (1)
450return propertyInfo.GetGetMethod().Invoke(target, null);
System\Data\Services\Providers\ReflectionServiceProvider.cs (1)
315MethodInfo getValueMethod = propertyInfo.GetGetMethod();
System\Data\Services\Serializers\SyndicationSerializer.cs (1)
802generator.Emit(OpCodes.Call, resourceType.GetPropertyInfo(property).GetGetMethod());
System.Data.Services.Client (17)
System\Data\Services\Client\ALinq\ResourceBinder.cs (1)
1760member = properties.Where(property => property.GetGetMethod() == member).FirstOrDefault();
System\Data\Services\Client\ALinq\TypeSystem.cs (15)
61expressionMethodMap.Add(typeof(string).GetProperty("Length", typeof(int)).GetGetMethod(), @"length"); 64expressionMethodMap.Add(typeof(DateTime).GetProperty("Day", typeof(int)).GetGetMethod(), @"day"); 65expressionMethodMap.Add(typeof(DateTime).GetProperty("Hour", typeof(int)).GetGetMethod(), @"hour"); 66expressionMethodMap.Add(typeof(DateTime).GetProperty("Month", typeof(int)).GetGetMethod(), @"month"); 67expressionMethodMap.Add(typeof(DateTime).GetProperty("Minute", typeof(int)).GetGetMethod(), @"minute"); 68expressionMethodMap.Add(typeof(DateTime).GetProperty("Second", typeof(int)).GetGetMethod(), @"second"); 69expressionMethodMap.Add(typeof(DateTime).GetProperty("Year", typeof(int)).GetGetMethod(), @"year"); 106typeof(string).GetProperty("Length", typeof(int)).GetGetMethod()); 109typeof(DateTime).GetProperty("Day", typeof(int)).GetGetMethod()); 112typeof(DateTime).GetProperty("Hour", typeof(int)).GetGetMethod()); 115typeof(DateTime).GetProperty("Minute", typeof(int)).GetGetMethod()); 118typeof(DateTime).GetProperty("Second", typeof(int)).GetGetMethod()); 121typeof(DateTime).GetProperty("Month", typeof(int)).GetGetMethod()); 124typeof(DateTime).GetProperty("Year", typeof(int)).GetGetMethod()); 176MethodInfo mi = pi.GetGetMethod() ?? pi.GetSetMethod();
System\Data\Services\Client\ClientType.cs (1)
887this.propertyGetter = property.GetGetMethod();
System.Data.Services.Design (1)
System\Data\EntityModel\Emitters\Utils.cs (1)
145MethodInfo miGet = member.GetGetMethod();
System.Drawing (1)
commonui\System\Drawing\ColorConverter.cs (1)
342MethodInfo method = prop.GetGetMethod();
System.Management (1)
Instrumentation\SchemaMapping.cs (1)
231 MethodInfo mi = pi.GetGetMethod();
System.Runtime.Serialization (5)
System\Runtime\Serialization\ClassDataContract.cs (1)
946MethodInfo getMethod = property.GetGetMethod();
System\Runtime\Serialization\CodeGenerator.cs (1)
1906static MethodInfo stringLength = typeof(string).GetProperty("Length").GetGetMethod();
System\Runtime\Serialization\Json\JsonFormatGeneratorStatics.cs (1)
185ienumeratorGetCurrentMethod = typeof(IEnumerator).GetProperty("Current").GetGetMethod();
System\Runtime\Serialization\XmlFormatGeneratorStatics.cs (2)
129ienumeratorGetCurrentMethod = typeof(IEnumerator).GetProperty("Current").GetGetMethod(); 656getArrayLengthMethod = Globals.TypeOfArray.GetProperty("Length").GetGetMethod();
System.ServiceModel (1)
System\ServiceModel\Dispatcher\TaskMethodInvoker.cs (1)
41this.taskTResultGetMethod = ((PropertyInfo)taskMethod.ReturnType.GetMember(ResultMethodName)[0]).GetGetMethod();
System.Web (5)
ModelBinding\DataAnnotationsModelMetadata.cs (1)
41if (displayColumnProperty.GetGetMethod() == null) {
parent\DataAnnotations\DataAnnotations\LocalizableString.cs (1)
124MethodInfo getter = property.GetGetMethod();
UI\WebParts\PersonalizableTypeEntry.cs (1)
87if ((paramList != null && paramList.Length > 0) || pi.GetGetMethod() == null || pi.GetSetMethod() == null) {
Util\FastPropertyAccessor.cs (2)
73getterMethodInfo = propInfo.GetGetMethod(); 266MethodInfo baseCheckMethodInfo = propInfo.GetGetMethod();
System.Web.DynamicData (2)
DynamicData\ModelProviders\DLinqTableProvider.cs (1)
46var publicGetAccessor = propInfo.GetGetMethod();
DynamicData\ModelProviders\EFTableProvider.cs (1)
44return property != null && property.GetGetMethod() != null;
System.Web.Extensions (4)
Script\Serialization\JavaScriptSerializer.cs (1)
271MethodInfo getMethodInfo = propInfo.GetGetMethod();
UI\BundleReflectionHelper.cs (1)
121BundleResolverCurrentMethod = MakeDelegate<BundleResolverCurrentDelegate>(null, bundleResolverCurrentProperty.GetGetMethod());
UI\WebControls\Dynamic.cs (1)
1417Select(p => (MethodBase)p.GetGetMethod()).
UI\WebControls\LinqDataSourceView.cs (1)
711MethodInfo propertyGetter = property.GetGetMethod();
System.Web.Services (1)
System\Web\Services\Protocols\PatternMatcher.cs (1)
165MethodInfo getMethod = propertyInfo.GetGetMethod();
System.Windows.Forms (1)
winforms\Managed\System\WinForms\AccessibleObject.cs (1)
2612MethodInfo getMethod = ((PropertyInfo)member[0]).GetGetMethod();
System.Workflow.ComponentModel (11)
AuthoringOM\Bind.cs (3)
1250MethodInfo getter = propertyInfo.GetGetMethod(); 1445MethodInfo getterMethod = memberPropertyInfo.GetGetMethod(); 1553newPropertyType = arrayPropertyInfo.GetGetMethod().ReturnType;
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (1)
1062if ((methodInfo = propertyInfo.GetGetMethod()) != null)
AuthoringOM\Compiler\Validation\BindValidator.cs (3)
316else if (propertyInfo.GetGetMethod() == null) 321else if (dataSourceActivity != activityContext && !propertyInfo.GetGetMethod().IsAssembly && !propertyInfo.GetGetMethod().IsPublic)
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (2)
493getterMethodInfos.Add((member as PropertyInfo).GetGetMethod()); 602MethodInfo getterMethod = property.GetGetMethod();
AuthoringOM\Design\PropertyDescriptors.cs (2)
502MethodInfo getAccessor = propertyInfo.GetGetMethod(); 561MethodInfo getMethod = ((PropertyInfo)matchingMember).GetGetMethod();
System.Workflow.Runtime (1)
System\Activities\Statements\InteropExecutor.cs (1)
511if (property.CanRead && (property.GetGetMethod() != null))
System.Xml (2)
System\Xml\Serialization\Models.cs (1)
206MethodInfo getMethod = propertyInfo.GetGetMethod();
System\Xml\Serialization\Types.cs (1)
1179MethodInfo getMethod = defaultProp.GetGetMethod();