Implemented interface members:
method
GetProperty
System.Reflection.IReflect.GetProperty(System.String, System.Reflection.BindingFlags)
method
GetProperty
System.Runtime.InteropServices._Type.GetProperty(System.String, System.Reflection.BindingFlags)
138 references to GetProperty
mscorlib (4)
system\diagnostics\eventing\eventsource.cs (1)
3185
PropertyInfo p = t.
GetProperty
(namedArgument.MemberInfo.Name, BindingFlags.Public | BindingFlags.Instance);
system\reflection\typedelegator.cs (1)
150
return typeImpl.
GetProperty
(name,bindingAttr);
system\reflection\typeinfo.cs (1)
117
return
GetProperty
(name, Type.DeclaredOnlyLookup);
system\runtime\interopservices\windowsruntime\icustompropertyprovider.cs (1)
57
PropertyInfo propertyInfo = target.GetType().
GetProperty
(
PresentationBuildTasks (4)
Framework\System\Windows\Markup\XamlTypeMapper.cs (4)
1914
typeAndSerializer.XmlLangProperty = (KnownTypes.Types[(int)KnownElements.FrameworkElement]).
GetProperty
("Language",
1948
typeAndSerializer.XmlLangProperty = typeAndSerializer.ObjectType.
GetProperty
(
2018
info = ownerType.
GetProperty
(localName, flags);
2471
memberInfo = targetType.
GetProperty
(memberName, bf);
PresentationCore (3)
Core\CSharp\System\Windows\Diagnostics\XamlSourceInfoHelper.cs (3)
80
s_sourceBamlUriProperty = type.
GetProperty
("SourceBamlUri", BindingFlags.Public | BindingFlags.Instance);
81
s_elementLineNumberProperty = type.
GetProperty
("ElementLineNumber", BindingFlags.Public | BindingFlags.Instance);
82
s_elementLinePositionProperty = type.
GetProperty
("ElementLinePosition", BindingFlags.Public | BindingFlags.Instance);
PresentationFramework (16)
src\Framework\MS\Internal\LayoutDump.cs (3)
910
System.Reflection.PropertyInfo prop = paraClientType.
GetProperty
("Visual", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic);
968
System.Reflection.PropertyInfo propOfColumnIndex = typeOfCell.
GetProperty
("ColumnIndex",
976
System.Reflection.PropertyInfo propOfRowIndex = typeOfCell.
GetProperty
("RowIndex",
src\Framework\MS\Internal\SystemDataHelper.cs (1)
82
PropertyInfo nullProperty = type.
GetProperty
("Null", BindingFlags.Static | BindingFlags.Public | BindingFlags.FlattenHierarchy);
src\Framework\System\Windows\Input\Command\CommandConverter.cs (1)
151
PropertyInfo propertyInfo = ownerType.
GetProperty
(localName, BindingFlags.Public | BindingFlags.Static);
src\Framework\System\Windows\Input\Command\CommandValueSerializer.cs (1)
49
PropertyInfo propertyInfo = ownerType.
GetProperty
(localName, BindingFlags.Public | BindingFlags.Static);
src\Framework\System\Windows\Markup\BamlMapTable.cs (1)
661
record.PropInfo = ownerType.
GetProperty
(record.Name, BindingFlags.Instance | BindingFlags.Public);
src\Framework\System\Windows\Markup\BamlReader.cs (1)
1015
attrInfo.PropInfo = attrInfo.OwnerType.
GetProperty
(attrInfo.Name,
src\Framework\System\Windows\Markup\XamlTypeMapper.cs (5)
1914
typeAndSerializer.XmlLangProperty = (KnownTypes.Types[(int)KnownElements.FrameworkElement]).
GetProperty
("Language",
1948
typeAndSerializer.XmlLangProperty = typeAndSerializer.ObjectType.
GetProperty
(
2022
info = ownerType.
GetProperty
(localName, flags);
2030
info = ownerType.
GetProperty
(localName, flags | BindingFlags.NonPublic);
2471
memberInfo = targetType.
GetProperty
(memberName, bf);
src\Framework\System\Windows\PropertyPath.cs (2)
663
result = ownerType.
GetProperty
(propertyName, BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.FlattenHierarchy);
680
result = ownerType.
GetProperty
(propertyName, BindingFlags.DeclaredOnly | BindingFlags.Instance | BindingFlags.Public);
src\Shared\MS\Internal\WindowsRuntime\ReflectionHelper.cs (1)
427
PropertyInfo p = type.
GetProperty
(propertyName, BindingFlags.Static);
System (2)
compmod\system\componentmodel\ComponentResourceManager.cs (2)
162
prop = value.GetType().
GetProperty
(propName, flags);
169
prop = t.
GetProperty
(propName, flags | BindingFlags.DeclaredOnly);
System.Activities (1)
System\Activities\XamlIntegration\ActivityXamlServices.cs (1)
513
PropertyInfo schemaContextPropertyInfo = schemaContextType.
GetProperty
("SchemaContext",
System.Activities.Presentation (3)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ActivityTemplateFactoryBuilderXamlMembers.cs (1)
25
PropertyInfo implementationPropertyInfo = typeof(ActivityTemplateFactory).
GetProperty
(ImplementationPropertyName, BindingFlags.Instance | BindingFlags.NonPublic);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
1383
info = _baseReflectionType.
GetProperty
(name, bindingAttr);
System.Activities.Presentation\System\Activities\Presentation\Validation\ValidationService.cs (1)
549
parentPropertyInfo = typeof(Activity).
GetProperty
("Parent", BindingFlags.Instance | BindingFlags.GetProperty | BindingFlags.NonPublic);
System.ComponentModel.DataAnnotations (1)
DataAnnotations\ValidationAttribute.cs (1)
240
var property = this._errorMessageResourceType.
GetProperty
(this._errorMessageResourceName, BindingFlags.Public | BindingFlags.Static | BindingFlags.NonPublic);
System.Core (6)
Microsoft\Scripting\Ast\MemberExpression.cs (6)
220
PropertyInfo pi = expression.Type.
GetProperty
(propertyName, BindingFlags.Instance | BindingFlags.Public | BindingFlags.IgnoreCase | BindingFlags.FlattenHierarchy);
222
pi = expression.Type.
GetProperty
(propertyName, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.IgnoreCase | BindingFlags.FlattenHierarchy);
241
PropertyInfo pi = type.
GetProperty
(propertyName, BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public | BindingFlags.IgnoreCase | BindingFlags.FlattenHierarchy);
243
pi = type.
GetProperty
(propertyName, BindingFlags.Static | BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.IgnoreCase | BindingFlags.FlattenHierarchy);
332
PropertyInfo pi = expression.Type.
GetProperty
(propertyOrFieldName, BindingFlags.Instance | BindingFlags.Public | BindingFlags.IgnoreCase | BindingFlags.FlattenHierarchy);
338
pi = expression.Type.
GetProperty
(propertyOrFieldName, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.IgnoreCase | BindingFlags.FlattenHierarchy);
System.Data (6)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ActivityTemplateFactoryBuilderXamlMembers.cs (1)
25
PropertyInfo implementationPropertyInfo = typeof(ActivityTemplateFactory).
GetProperty
(ImplementationPropertyName, BindingFlags.Instance | BindingFlags.NonPublic);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
1383
info = _baseReflectionType.
GetProperty
(name, bindingAttr);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Validation\ValidationService.cs (1)
549
parentPropertyInfo = typeof(Activity).
GetProperty
("Parent", BindingFlags.Instance | BindingFlags.GetProperty | BindingFlags.NonPublic);
fx\src\data\System\Data\Common\SQLTypes\SqlUDTStorage.cs (1)
46
System.Reflection.PropertyInfo propInfo = type.
GetProperty
("Null", System.Reflection.BindingFlags.Public |System.Reflection.BindingFlags.Static);
fx\src\data\System\Data\DataColumn.cs (1)
676
System.Reflection.PropertyInfo propInfo = this.dataType.
GetProperty
("Null", System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.Static);
fx\src\data\System\Data\Sql\sqlnorm.cs (1)
105
PropertyInfo pi = t.
GetProperty
("Null",
System.Data.Entity (28)
System\Data\Common\EntityUtil.cs (1)
2021
propertyInfo = t.
GetProperty
(propertyName, BindingFlags.Instance |
System\Data\Common\Internal\Materialization\Translator.cs (2)
591
private static readonly PropertyInfo EntityWrapperFactory_NullWrapper = typeof(EntityWrapperFactory).
GetProperty
("NullWrapper", BindingFlags.Static | BindingFlags.NonPublic);
599
private static readonly PropertyInfo SnapshotChangeTrackingStrategy_Instance = typeof(SnapshotChangeTrackingStrategy).
GetProperty
("Instance", BindingFlags.Static | BindingFlags.Public);
System\Data\Objects\ELinq\Translator.cs (21)
228
propertyInfo = propertyInfo.DeclaringType.GetGenericTypeDefinition().
GetProperty
(propertyInfo.Name, BindingFlags.DeclaredOnly | BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public);
537
yield return typeof(String).
GetProperty
("Length", BindingFlags.Public | BindingFlags.Instance);
538
yield return typeof(DateTime).
GetProperty
("Year", BindingFlags.Public | BindingFlags.Instance);
539
yield return typeof(DateTime).
GetProperty
("Month", BindingFlags.Public | BindingFlags.Instance);
540
yield return typeof(DateTime).
GetProperty
("Day", BindingFlags.Public | BindingFlags.Instance);
541
yield return typeof(DateTime).
GetProperty
("Hour", BindingFlags.Public | BindingFlags.Instance);
542
yield return typeof(DateTime).
GetProperty
("Minute", BindingFlags.Public | BindingFlags.Instance);
543
yield return typeof(DateTime).
GetProperty
("Second", BindingFlags.Public | BindingFlags.Instance);
544
yield return typeof(DateTime).
GetProperty
("Millisecond", BindingFlags.Public | BindingFlags.Instance);
546
yield return typeof(DateTimeOffset).
GetProperty
("Year", BindingFlags.Public | BindingFlags.Instance);
547
yield return typeof(DateTimeOffset).
GetProperty
("Month", BindingFlags.Public | BindingFlags.Instance);
548
yield return typeof(DateTimeOffset).
GetProperty
("Day", BindingFlags.Public | BindingFlags.Instance);
549
yield return typeof(DateTimeOffset).
GetProperty
("Hour", BindingFlags.Public | BindingFlags.Instance);
550
yield return typeof(DateTimeOffset).
GetProperty
("Minute", BindingFlags.Public | BindingFlags.Instance);
551
yield return typeof(DateTimeOffset).
GetProperty
("Second", BindingFlags.Public | BindingFlags.Instance);
552
yield return typeof(DateTimeOffset).
GetProperty
("Millisecond", BindingFlags.Public | BindingFlags.Instance);
585
PropertyInfo propertyInfo = declaringType.
GetProperty
(propertyName, bindingFlages);
621
return vbAssembly.GetType(s_dateAndTimeTypeFullName).
GetProperty
("Now", BindingFlags.Public | BindingFlags.Static);
639
return typeof(EntityCollection<>).
GetProperty
(ExpressionConverter.s_entityCollectionCountPropertyName, BindingFlags.Public | BindingFlags.Instance);
659
return typeof(Nullable<>).
GetProperty
(ExpressionConverter.s_nullableHasValuePropertyName, BindingFlags.Public | BindingFlags.Instance);
679
return typeof(Nullable<>).
GetProperty
(ExpressionConverter.s_nullableValuePropertyName, BindingFlags.Public | BindingFlags.Instance);
System\Data\Objects\ELinq\TypeSystem.cs (1)
245
PropertyInfo interfaceProp = interfaceType.
GetProperty
(propertyInfo.Name, BindingFlags.Public | BindingFlags.Instance);
System\Data\SqlClient\SqlSpatialServices.cs (2)
269
return this.SqlTypes.SqlGeographyType.
GetProperty
(propertyName, BindingFlags.Public | BindingFlags.Instance);
284
return this.SqlTypes.SqlGeometryType.
GetProperty
(propertyName, BindingFlags.Public | BindingFlags.Instance);
System\Data\SqlClient\SqlTypesAssembly.cs (1)
79
PropertyInfo prop = exp.Type.
GetProperty
(propertyName, BindingFlags.Instance | BindingFlags.Public);
System.Data.Services (4)
System\Data\Services\IgnorePropertiesAttribute.cs (1)
92
PropertyInfo property = type.
GetProperty
(propertyName, bindingFlags);
System\Data\Services\Parsing\FunctionDescription.cs (1)
465
member = targetType.
GetProperty
(name, flags);
System\Data\Services\Providers\ReflectionServiceProvider.cs (1)
314
PropertyInfo propertyInfo = this.Type.
GetProperty
(resourceContainer.Name, WebUtil.PublicInstanceBindingFlags);
System\Data\Services\Providers\ResourceType.cs (1)
1111
propertyInfo = this.InstanceType.
GetProperty
(resourceProperty.Name, bindingFlags);
System.Data.Services.Client (1)
parent\Server\System\Data\Services\Providers\EntityPropertyMappingInfo.cs (1)
152
PropertyInfo pi = element.GetType().
GetProperty
(srcPathPart, BindingFlags.Instance | BindingFlags.Public);
System.Runtime.Serialization (16)
System\Runtime\Serialization\Json\JsonFormatGeneratorStatics.cs (7)
149
collectionItemNameProperty = typeof(XmlObjectSerializerWriteContextComplexJson).
GetProperty
("CollectionItemName", Globals.ScanAllMembers);
197
getItemContractMethod = typeof(CollectionDataContract).
GetProperty
("ItemContract", Globals.ScanAllMembers).GetGetMethod(true); // nonPublic
281
localNameProperty = typeof(XmlReaderDelegator).
GetProperty
("LocalName", Globals.ScanAllMembers);
293
namespaceProperty = typeof(XmlReaderDelegator).
GetProperty
("NamespaceProperty", Globals.ScanAllMembers);
329
nodeTypeProperty = typeof(XmlReaderDelegator).
GetProperty
("NodeType", Globals.ScanAllMembers);
437
useSimpleDictionaryFormatReadProperty = typeof(XmlObjectSerializerReadContextComplexJson).
GetProperty
("UseSimpleDictionaryFormat", Globals.ScanAllMembers);
449
useSimpleDictionaryFormatWriteProperty = typeof(XmlObjectSerializerWriteContextComplexJson).
GetProperty
("UseSimpleDictionaryFormat", Globals.ScanAllMembers);
System\Runtime\Serialization\XmlFormatGeneratorStatics.cs (9)
142
getItemContractMethod = typeof(CollectionDataContract).
GetProperty
("ItemContract", Globals.ScanAllMembers).GetGetMethod(true/*nonPublic*/);
220
nodeTypeProperty = typeof(XmlReaderDelegator).
GetProperty
("NodeType", Globals.ScanAllMembers);
890
namespaceProperty = typeof(DataContract).
GetProperty
("Namespace", Globals.ScanAllMembers);
942
childElementNamespacesProperty = typeof(ClassDataContract).
GetProperty
("ChildElementNamespaces", Globals.ScanAllMembers);
955
collectionItemNameProperty = typeof(CollectionDataContract).
GetProperty
("CollectionItemName", Globals.ScanAllMembers);
968
childElementNamespaceProperty = typeof(CollectionDataContract).
GetProperty
("ChildElementNamespace", Globals.ScanAllMembers);
1033
serializeReadOnlyTypesProperty = typeof(XmlObjectSerializerWriteContext).
GetProperty
("SerializeReadOnlyTypes", Globals.ScanAllMembers);
1046
classSerializationExceptionMessageProperty = typeof(ClassDataContract).
GetProperty
("SerializationExceptionMessage", Globals.ScanAllMembers);
1059
collectionSerializationExceptionMessageProperty = typeof(CollectionDataContract).
GetProperty
("SerializationExceptionMessage", Globals.ScanAllMembers);
System.ServiceModel (1)
System\ServiceModel\Configuration\ConfigurationHelpers.cs (1)
297
PropertyInfo elementPresent = element.GetType().
GetProperty
("ElementPresent", BindingFlags.Instance | BindingFlags.NonPublic);
System.Web (8)
Compilation\CompilationUtil.cs (1)
552
PropertyInfo pi = ci.GetType().
GetProperty
("ProviderOptions",
ModelBinding\DataAnnotationsModelMetadata.cs (1)
20
PropertyInfo displayColumnProperty = ModelType.
GetProperty
(_displayColumnAttribute.DisplayColumn, BindingFlags.Public | BindingFlags.IgnoreCase | BindingFlags.Instance);
UI\DataBinder.cs (1)
338
PropertyInfo propInfo = container.GetType().
GetProperty
(dataItemPropertyName,
UI\Util.cs (2)
582
propInfo = classType.
GetProperty
(propName, flags);
591
propInfo = classType.
GetProperty
(propName, flags);
Util\ExecutionContextUtil.cs (1)
24
PropertyInfo propInfo = typeof(ExecutionContext).
GetProperty
("PreAllocatedDefault", BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Static);
Util\FastPropertyAccessor.cs (2)
283
propInfo = declaringType.
GetProperty
(propertyName, _declaredFlags);
404
propInfo = currentType.
GetProperty
(name, _declaredFlags);
System.Web.DynamicData (1)
DynamicData\DynamicControl.cs (1)
198
var propInfo = ucType.
GetProperty
(entry.Key, BindingFlags.Public | BindingFlags.Instance | BindingFlags.IgnoreCase);
System.Web.Extensions (2)
Script\Serialization\ObjectConverter.cs (1)
52
PropertyInfo propInfo = serverType.
GetProperty
(memberName,
UI\BundleReflectionHelper.cs (1)
119
PropertyInfo bundleResolverCurrentProperty = bundleResolverType.
GetProperty
("Current", BindingFlags.Static | BindingFlags.Public);
System.Windows.Forms (4)
winforms\Managed\System\WinForms\AccessibleObject.cs (1)
2532
return typeof(IAccessible).
GetProperty
(name, bindingAttr);
winforms\Managed\System\WinForms\AxHost.cs (2)
6382
PropertyInfo prop = GetP().GetType().
GetProperty
(name, bindingAttr);
6384
prop = this.GetType().
GetProperty
(name, bindingAttr);
winforms\Managed\System\WinForms\WinFormsUtils.cs (1)
767
PropertyInfo runningOnV4_5_Property = binaryCompatibitlityType.
GetProperty
(propertyName, Reflection.BindingFlags.Public | Reflection.BindingFlags.NonPublic | Reflection.BindingFlags.Static);
System.Workflow.Activities (6)
Designers\StateDesignerConnector.cs (4)
263
properties.Add(typeof(StateDesignerConnector).
GetProperty
("SetStateName", BindingFlags.Instance | BindingFlags.NonPublic));
264
properties.Add(typeof(StateDesignerConnector).
GetProperty
("SourceStateName", BindingFlags.Instance | BindingFlags.NonPublic));
265
properties.Add(typeof(StateDesignerConnector).
GetProperty
("TargetStateName", BindingFlags.Instance | BindingFlags.NonPublic));
266
properties.Add(typeof(StateDesignerConnector).
GetProperty
("EventHandlerName", BindingFlags.Instance | BindingFlags.NonPublic));
Rules\RuleAction.cs (1)
145
PropertyInfo property = currentType.
GetProperty
(parts[i], bindingFlags);
Rules\RuleAttributes.cs (1)
147
PropertyInfo property = currentType.
GetProperty
(parts[i], bindingFlags);
System.Workflow.ComponentModel (18)
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (1)
893
member = baseType.
GetProperty
(memberSignature.Name, bindingAttr);
AuthoringOM\Compiler\Validation\BindValidator.cs (1)
296
propertyInfo = resolvedType.
GetProperty
(dsName, BindingFlags.Public | BindingFlags.Static | BindingFlags.Instance);
AuthoringOM\Compiler\Validation\DependencyObjectValidator.cs (1)
43
if (obj.GetType().
GetProperty
(prop.Name, BindingFlags.Public | BindingFlags.Instance) == null)
AuthoringOM\Design\ActivityDesignerLayoutSerializers.cs (10)
117
PropertyInfo nameProperty = activityDesigner.GetType().
GetProperty
("Name", BindingFlags.Instance | BindingFlags.NonPublic);
134
properties.Add(typeof(CompositeActivityDesigner).
GetProperty
("Designers", BindingFlags.Instance | BindingFlags.NonPublic));
170
serializableProperties.Add(typeof(FreeformActivityDesigner).
GetProperty
("DesignerConnectors", BindingFlags.Instance | BindingFlags.NonPublic));
191
properties.Add(typeof(Connector).
GetProperty
("SourceActivity", BindingFlags.Instance | BindingFlags.NonPublic));
192
properties.Add(typeof(Connector).
GetProperty
("SourceConnectionIndex", BindingFlags.Instance | BindingFlags.NonPublic));
193
properties.Add(typeof(Connector).
GetProperty
("SourceConnectionEdge", BindingFlags.Instance | BindingFlags.NonPublic));
194
properties.Add(typeof(Connector).
GetProperty
("TargetActivity", BindingFlags.Instance | BindingFlags.NonPublic));
195
properties.Add(typeof(Connector).
GetProperty
("TargetConnectionIndex", BindingFlags.Instance | BindingFlags.NonPublic));
196
properties.Add(typeof(Connector).
GetProperty
("TargetConnectionEdge", BindingFlags.Instance | BindingFlags.NonPublic));
197
properties.Add(typeof(Connector).
GetProperty
("Segments", BindingFlags.Instance | BindingFlags.NonPublic));
AuthoringOM\Design\ComponentSerializationService.cs (1)
106
propertyInfo = type.
GetProperty
(name, bindingFlags);
AuthoringOM\Design\WorkflowInlining.cs (1)
426
PropertyInfo parameterProperty = Activity.GetType().
GetProperty
("ParameterBindings", BindingFlags.Instance | BindingFlags.Public);
AuthoringOM\Serializer\CompositeActivityTypeDescriptor.cs (1)
40
PropertyInfo propInfo = typeof(CompositeActivity).
GetProperty
("CanModifyActivities", BindingFlags.NonPublic | BindingFlags.Instance);
AuthoringOM\Serializer\DictionaryMarkupSerializer.cs (1)
145
new ExtendedPropertyInfo(typeof(DictionaryEntry).
GetProperty
("Key", BindingFlags.Public | BindingFlags.Instance),
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (1)
3096
contentProperty = parentObject.GetType().
GetProperty
(contentPropertyName, BindingFlags.Instance | BindingFlags.FlattenHierarchy | BindingFlags.Public);
System.Xml (2)
System\Xml\Core\BinaryCompatibility.cs (1)
32
PropertyInfo property = binaryCompatabilityType.
GetProperty
(propertyName, BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Static);
System\Xml\Serialization\XmlReflectionImporter.cs (1)
1272
PropertyInfo info = structModel.Type.
GetProperty
(choice.MemberName, BindingFlags.DeclaredOnly | BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static);
WindowsBase (1)
Base\System\Windows\Markup\TypeConverterHelper.cs (1)
62
memberInfo = dp.OwnerType.
GetProperty
(