Implemented interface member:
method
GetProperty
System.Runtime.InteropServices._Type.GetProperty(System.String)
298 references to GetProperty
mscorlib (6)
system\reflection\customattribute.cs (1)
1783property = attributeType.GetProperty(name) as RuntimePropertyInfo;
system\reflection\RuntimeReflectionExtensions.cs (1)
48return type.GetProperty(name);
system\runtime\interopservices\tceadaptergen\eventproviderwriter.cs (4)
256PropertyInfo ArrayListItemProperty = typeof(ArrayList).GetProperty( "Item" ); 262PropertyInfo ArrayListSizeProperty = typeof(ArrayList).GetProperty( "Count" ); 591PropertyInfo ArrayListItemProperty = typeof(ArrayList).GetProperty( "Item" ); 597PropertyInfo ArrayListSizeProperty = typeof(ArrayList).GetProperty( "Count" );
PresentationBuildTasks (3)
BuildTasks\Ms\Internal\MarkupCompiler\ParserExtension.cs (1)
367PropertyInfo pi = KnownTypes.Types[(int)KnownElements.Application].GetProperty(localAttribName);
Framework\System\Windows\Markup\XamlReaderHelper.cs (2)
3498PropertyInfo propertyMember = parentType.GetProperty(propertyName); 4921PropertyInfo propertyInfo = contentWrapper.GetProperty( contentPropertyName );
PresentationCore (5)
Core\CSharp\System\Windows\DurationConverter.cs (2)
129mi = typeof(Duration).GetProperty("Forever"); 137mi = typeof(Duration).GetProperty("Automatic");
Core\CSharp\System\Windows\Media\Animation\KeyTimeConverter.cs (2)
172mi = typeof(KeyTime).GetProperty("Uniform"); 178mi = typeof(KeyTime).GetProperty("Paced");
Core\CSharp\System\Windows\Media\Animation\RepeatBehaviorConverter.cs (1)
134mi = typeof(RepeatBehavior).GetProperty("Forever");
PresentationFramework (6)
src\Framework\MS\Internal\LayoutDump.cs (1)
935System.Reflection.PropertyInfo prop = type.GetProperty("ColumnCount");
src\Framework\System\Windows\ThemeDictionaryExtension.cs (1)
179_sourceProperty = typeof(ResourceDictionary).GetProperty("Source");
src\Shared\MS\Internal\WindowsRuntime\ReflectionHelper.cs (4)
380/// <exception cref="AmbiguousMatchException">More than one property is found with the specified name. See <see cref="Type.GetProperty(string)"/></exception> 388PropertyInfo p = type.GetProperty(propertyName); 405/// <exception cref="AmbiguousMatchException">More than one property is found with the specified name. See <see cref="Type.GetProperty(string)"/></exception> 421/// <exception cref="AmbiguousMatchException">More than one property is found with the specified name. See <see cref="Type.GetProperty(string)"/></exception>
System.Activities (5)
System\Activities\ActivityUtilities.cs (1)
377genericVariableReferenceType.GetProperty("Variable").SetValue(variableReference, variable, null);
System\Activities\Expressions\MemberExpressionHelper.cs (1)
71result = declaringType.GetProperty(memberName);
System\Activities\Expressions\PropertyReference.cs (1)
60this.propertyInfo = operandType.GetProperty(this.PropertyName);
System\Activities\Expressions\PropertyValue.cs (1)
47propertyInfo = operandType.GetProperty(this.PropertyName);
System\Activities\Expressions\ValueTypePropertyReference.cs (1)
62this.propertyInfo = typeof(TOperand).GetProperty(this.PropertyName);
System.Activities.Core.Presentation (136)
System\Activities\Core\Presentation\CancellationScopeDesigner.xaml.cs (3)
23builder.AddCustomAttributes(type, type.GetProperty("Body"), BrowsableAttribute.No); 24builder.AddCustomAttributes(type, type.GetProperty("CancellationHandler"), BrowsableAttribute.No); 25builder.AddCustomAttributes(type, type.GetProperty("Variables"), BrowsableAttribute.No);
System\Activities\Core\Presentation\CaseDesigner.xaml.cs (1)
68builder.AddCustomAttributes(type, type.GetProperty("Value"), BrowsableAttribute.No);
System\Activities\Core\Presentation\CatchDesigner.xaml.cs (1)
60builder.AddCustomAttributes(type, type.GetProperty("Action"), BrowsableAttribute.No);
System\Activities\Core\Presentation\CompensableActivityDesigner.xaml.cs (5)
26builder.AddCustomAttributes(type, type.GetProperty("Body"), BrowsableAttribute.No); 27builder.AddCustomAttributes(type, type.GetProperty("CompensationHandler"), BrowsableAttribute.No); 28builder.AddCustomAttributes(type, type.GetProperty("ConfirmationHandler"), BrowsableAttribute.No); 29builder.AddCustomAttributes(type, type.GetProperty("CancellationHandler"), BrowsableAttribute.No); 30builder.AddCustomAttributes(type, type.GetProperty("Variables"), BrowsableAttribute.No);
System\Activities\Core\Presentation\DoWhileDesigner.xaml.cs (2)
25builder.AddCustomAttributes(type, type.GetProperty("Body"), BrowsableAttribute.No); 26builder.AddCustomAttributes(type, type.GetProperty("Variables"), BrowsableAttribute.No);
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (7)
256builder.AddCustomAttributes(type, type.GetProperty("StartNode"), BrowsableAttribute.No); 257builder.AddCustomAttributes(type, type.GetProperty("Nodes"), BrowsableAttribute.No); 258builder.AddCustomAttributes(type, type.GetProperty("Variables"), BrowsableAttribute.No); 261PropertyInfo nodesProperty = type.GetProperty("Nodes"); 265builder.AddCustomAttributes(type, type.GetProperty("Action"), BrowsableAttribute.No); 266builder.AddCustomAttributes(type, type.GetProperty("Next"), BrowsableAttribute.No); 269builder.AddCustomAttributes(type, type.GetProperty("Next"), new ShowPropertyInOutlineViewAsSiblingAttribute());
System\Activities\Core\Presentation\FlowDecisionDesigner.xaml.cs (3)
112builder.AddCustomAttributes(type, type.GetProperty("True"), BrowsableAttribute.No); 113builder.AddCustomAttributes(type, type.GetProperty("False"), BrowsableAttribute.No); 114builder.AddCustomAttributes(type, type.GetProperty("Condition"), new HidePropertyInOutlineViewAttribute());
System\Activities\Core\Presentation\FlowSwitchDesigner.xaml.cs (3)
118builder.AddCustomAttributes(type, type.GetProperty("Default"), BrowsableAttribute.No); 139builder.AddCustomAttributes(type, type.GetProperty("Cases"), new ShowPropertyInOutlineViewAttribute() { CurrentPropertyVisible = false, ChildNodePrefix = "Case : " }); 140builder.AddCustomAttributes(type, type.GetProperty("Expression"), new HidePropertyInOutlineViewAttribute());
System\Activities\Core\Presentation\ForEachDesigner.xaml.cs (1)
43builder.AddCustomAttributes(type, type.GetProperty("Body"), BrowsableAttribute.No);
System\Activities\Core\Presentation\IfElseDesigner.xaml.cs (3)
32builder.AddCustomAttributes(type, type.GetProperty("Then"), BrowsableAttribute.No); 33builder.AddCustomAttributes(type, type.GetProperty("Else"), BrowsableAttribute.No); 35builder.AddCustomAttributes(type, type.GetProperty("Condition"), new HidePropertyInOutlineViewAttribute());
System\Activities\Core\Presentation\NoPersistScopeDesigner.xaml.cs (1)
25builder.AddCustomAttributes(type, type.GetProperty(NoPersistScopeDesigner.BodyPropertyName), BrowsableAttribute.No);
System\Activities\Core\Presentation\ParallelDesigner.xaml.cs (4)
27builder.AddCustomAttributes(type, type.GetProperty("Branches"), BrowsableAttribute.No); 28builder.AddCustomAttributes(type, type.GetProperty("Variables"), BrowsableAttribute.No); 30builder.AddCustomAttributes(type, type.GetProperty("Branches"), new ShowPropertyInOutlineViewAttribute() { CurrentPropertyVisible = false }); 31builder.AddCustomAttributes(type, type.GetProperty("CompletionCondition"), new HidePropertyInOutlineViewAttribute());
System\Activities\Core\Presentation\PickBranchDesigner.xaml.cs (3)
28builder.AddCustomAttributes(type, type.GetProperty("Action"), BrowsableAttribute.No); 29builder.AddCustomAttributes(type, type.GetProperty("Trigger"), BrowsableAttribute.No); 30builder.AddCustomAttributes(type, type.GetProperty("Variables"), BrowsableAttribute.No);
System\Activities\Core\Presentation\PickDesigner.xaml.cs (2)
33builder.AddCustomAttributes(type, type.GetProperty("Branches"), BrowsableAttribute.No); 34builder.AddCustomAttributes(type, type.GetProperty("Branches"), new ShowPropertyInOutlineViewAttribute() { CurrentPropertyVisible = false });
System\Activities\Core\Presentation\SequenceDesigner.xaml.cs (3)
43builder.AddCustomAttributes(type, type.GetProperty("Activities"), BrowsableAttribute.No); 44builder.AddCustomAttributes(type, type.GetProperty("Variables"), BrowsableAttribute.No); 45builder.AddCustomAttributes(type, type.GetProperty("Activities"), new ShowPropertyInOutlineViewAttribute() { CurrentPropertyVisible = false });
System\Activities\Core\Presentation\StateDesigner.xaml.cs (6)
62builder.AddCustomAttributes(stateType, stateType.GetProperty(StateDesigner.EntryPropertyName), BrowsableAttribute.No); 63builder.AddCustomAttributes(stateType, stateType.GetProperty(StateDesigner.ExitPropertyName), BrowsableAttribute.No); 64builder.AddCustomAttributes(stateType, stateType.GetProperty(StateDesigner.TransitionsPropertyName), BrowsableAttribute.No); 65builder.AddCustomAttributes(stateType, stateType.GetProperty(StateDesigner.IsFinalPropertyName), BrowsableAttribute.No); 66builder.AddCustomAttributes(stateType, stateType.GetProperty(StateDesigner.VariablesPropertyName), BrowsableAttribute.No); 70builder.AddCustomAttributes(stateType, stateType.GetProperty(StateDesigner.TransitionsPropertyName), new ShowPropertyInOutlineViewAttribute() { CurrentPropertyVisible = false });
System\Activities\Core\Presentation\StateMachineDesigner.xaml.cs (5)
53builder.AddCustomAttributes(stateMachineType, stateMachineType.GetProperty(StateMachineDesigner.StatesPropertyName), BrowsableAttribute.No); 54builder.AddCustomAttributes(stateMachineType, stateMachineType.GetProperty(StateMachineDesigner.VariablesPropertyName), BrowsableAttribute.No); 55builder.AddCustomAttributes(stateMachineType, stateMachineType.GetProperty(StateMachineDesigner.InitialStatePropertyName), BrowsableAttribute.No); 56builder.AddCustomAttributes(stateMachineType, stateMachineType.GetProperty(StateMachineDesigner.InitialStatePropertyName), new ShowPropertyInOutlineViewAttribute() { DuplicatedChildNodesVisible = true }); 57builder.AddCustomAttributes(stateMachineType, stateMachineType.GetProperty(StateMachineDesigner.StatesPropertyName), new ShowPropertyInOutlineViewAttribute());
System\Activities\Core\Presentation\SwitchDesigner.xaml.cs (3)
304builder.AddCustomAttributes(type, type.GetProperty("Default"), BrowsableAttribute.No); 308builder.AddCustomAttributes(type, type.GetProperty("Cases"), new ShowPropertyInOutlineViewAttribute() { CurrentPropertyVisible = false, ChildNodePrefix = "Case : " }); 434object itemKey = caseType.GetProperty("Key").GetGetMethod().Invoke(item.GetCurrentValue(), null);
System\Activities\Core\Presentation\TransactionScopeDesigner.xaml.cs (1)
23builder.AddCustomAttributes(type, type.GetProperty("Body"), BrowsableAttribute.No);
System\Activities\Core\Presentation\TransitionDesigner.xaml.cs (4)
209builder.AddCustomAttributes(transitionType, transitionType.GetProperty(TransitionDesigner.TriggerPropertyName), BrowsableAttribute.No); 210builder.AddCustomAttributes(transitionType, transitionType.GetProperty(TransitionDesigner.ActionPropertyName), BrowsableAttribute.No); 211builder.AddCustomAttributes(transitionType, transitionType.GetProperty(TransitionDesigner.ToPropertyName), BrowsableAttribute.No); 212builder.AddCustomAttributes(transitionType, transitionType.GetProperty(TransitionDesigner.ConditionPropertyName), new HidePropertyInOutlineViewAttribute());
System\Activities\Core\Presentation\TryCatchDesigner.xaml.cs (7)
142builder.AddCustomAttributes(type, type.GetProperty("Try"), BrowsableAttribute.No); 143builder.AddCustomAttributes(type, type.GetProperty("Finally"), BrowsableAttribute.No); 144builder.AddCustomAttributes(type, type.GetProperty("Catches"), BrowsableAttribute.No); 145builder.AddCustomAttributes(type, type.GetProperty("Variables"), BrowsableAttribute.No); 148builder.AddCustomAttributes(type, type.GetProperty("Catches"), new ShowPropertyInOutlineViewAttribute() { CurrentPropertyVisible = false }); 345catchType.GetProperty(PropertyNames.Action).SetValue(catchObject, activityAction, null); 346activityActionType.GetProperty(PropertyNames.ActionArgument).SetValue(activityAction, exceptionArgument, null);
System\Activities\Core\Presentation\WhileDesigner.xaml.cs (3)
27builder.AddCustomAttributes(type, type.GetProperty("Body"), BrowsableAttribute.No); 28builder.AddCustomAttributes(type, type.GetProperty("Variables"), BrowsableAttribute.No); 30builder.AddCustomAttributes(type, type.GetProperty("Condition"), new HidePropertyInOutlineViewAttribute());
System\ServiceModel\Activities\Presentation\CorrelationScopeDesigner.xaml.cs (1)
23builder.AddCustomAttributes(type, type.GetProperty("Body"), BrowsableAttribute.No);
System\ServiceModel\Activities\Presentation\EndpointDesigner.cs (7)
20builder.AddCustomAttributes(endpointType, endpointType.GetProperty("BehaviorConfigurationName"), browsableAttribute); 21builder.AddCustomAttributes(endpointType, endpointType.GetProperty("Headers"), browsableAttribute); 22builder.AddCustomAttributes(endpointType, endpointType.GetProperty("Identity"), browsableAttribute); 23builder.AddCustomAttributes(endpointType, endpointType.GetProperty("Name"), browsableAttribute); 24builder.AddCustomAttributes(endpointType, endpointType.GetProperty("ListenUri"), browsableAttribute); 25builder.AddCustomAttributes(endpointType, endpointType.GetProperty("ServiceContractName"), browsableAttribute); 27builder.AddCustomAttributes(endpointType, endpointType.GetProperty("Binding"),
System\ServiceModel\Activities\Presentation\InitializeCorrelationDesigner.xaml.cs (2)
38builder.AddCustomAttributes(type, type.GetProperty("Correlation"), 41builder.AddCustomAttributes(type, type.GetProperty("CorrelationData"),
System\ServiceModel\Activities\Presentation\ReceiveDesigner.xaml.cs (15)
49builder.AddCustomAttributes(receiveType, receiveType.GetProperty("CorrelationInitializers"), PropertyValueEditor.CreateEditorAttribute(typeof(CorrelationInitializerValueEditor))); 53builder.AddCustomAttributes(receiveType, receiveType.GetProperty("CorrelatesWith"), categoryAttribute, descriptionAttribute); 55builder.AddCustomAttributes(receiveType, receiveType.GetProperty("CorrelatesOn"), categoryAttribute, BrowsableAttribute.Yes, 57builder.AddCustomAttributes(receiveType, receiveType.GetProperty("CorrelationInitializers"), categoryAttribute, BrowsableAttribute.Yes, 61builder.AddCustomAttributes(receiveType, receiveType.GetProperty("DisplayName"), categoryAttribute); 62builder.AddCustomAttributes(receiveType, receiveType.GetProperty("OperationName"), categoryAttribute); 63builder.AddCustomAttributes(receiveType, receiveType.GetProperty("ServiceContractName"), categoryAttribute, new TypeConverterAttribute(typeof(XNameConverter))); 65builder.AddCustomAttributes(receiveType, receiveType.GetProperty("Content"), categoryAttribute, descriptionAttribute, PropertyValueEditor.CreateEditorAttribute(typeof(ReceiveContentPropertyEditor))); 68builder.AddCustomAttributes(receiveType, receiveType.GetProperty("Action"), advancedAttribute, categoryAttribute); 77builder.AddCustomAttributes(receiveType, receiveType.GetProperty("ProtectionLevel"), advancedAttribute, categoryAttribute); 78builder.AddCustomAttributes(receiveType, receiveType.GetProperty("SerializerOption"), advancedAttribute, categoryAttribute); 79builder.AddCustomAttributes(receiveType, receiveType.GetProperty("CanCreateInstance"), advancedAttribute, categoryAttribute); 81Action = receiveType.GetProperty("Action").Name; 84Message = receiveMessageContentType.GetProperty("Message").Name; 85DeclaredMessageType = receiveMessageContentType.GetProperty("DeclaredMessageType").Name;
System\ServiceModel\Activities\Presentation\ReceiveReplyDesigner.xaml.cs (9)
40builder.AddCustomAttributes(receiveType, receiveType.GetProperty("CorrelationInitializers"), PropertyValueEditor.CreateEditorAttribute(typeof(CorrelationInitializerValueEditor))); 44builder.AddCustomAttributes(receiveType, receiveType.GetProperty("CorrelationInitializers"), categoryAttribute, BrowsableAttribute.Yes, 49builder.AddCustomAttributes(receiveType, receiveType.GetProperty("DisplayName"), categoryAttribute); 51builder.AddCustomAttributes(receiveType, receiveType.GetProperty("Content"), categoryAttribute, descriptionAttribute, PropertyValueEditor.CreateEditorAttribute(typeof(ReceiveContentPropertyEditor))); 52builder.AddCustomAttributes(receiveType, receiveType.GetProperty("Request"), 57builder.AddCustomAttributes(receiveType, receiveType.GetProperty("Action"), advancedAttribute, categoryAttribute); 59Action = receiveType.GetProperty("Action").Name; 62Message = receiveMessageContentType.GetProperty("Message").Name; 63DeclaredMessageType = receiveMessageContentType.GetProperty("DeclaredMessageType").Name;
System\ServiceModel\Activities\Presentation\SendDesigner.xaml.cs (17)
50builder.AddCustomAttributes(sendType, sendType.GetProperty("CorrelationInitializers"), PropertyValueEditor.CreateEditorAttribute(typeof(CorrelationInitializerValueEditor))); 54builder.AddCustomAttributes(sendType, sendType.GetProperty("CorrelatesWith"), categoryAttribute, descriptionAttribute); 55builder.AddCustomAttributes(sendType, sendType.GetProperty("CorrelationInitializers"), categoryAttribute, BrowsableAttribute.Yes, 59builder.AddCustomAttributes(sendType, sendType.GetProperty("Endpoint"), categoryAttribute, new TypeConverterAttribute(typeof(ExpandableObjectConverter))); 61builder.AddCustomAttributes(sendType, sendType.GetProperty("EndpointAddress"), categoryAttribute, descriptionAttribute); 62builder.AddCustomAttributes(sendType, sendType.GetProperty("EndpointConfigurationName"), categoryAttribute); 65builder.AddCustomAttributes(sendType, sendType.GetProperty("DisplayName"), categoryAttribute); 66builder.AddCustomAttributes(sendType, sendType.GetProperty("OperationName"), categoryAttribute); 67builder.AddCustomAttributes(sendType, sendType.GetProperty("ServiceContractName"), categoryAttribute, new TypeConverterAttribute(typeof(XNameConverter))); 69builder.AddCustomAttributes(sendType, sendType.GetProperty("Content"), categoryAttribute, descriptionAttribute, PropertyValueEditor.CreateEditorAttribute(typeof(SendContentPropertyEditor))); 72builder.AddCustomAttributes(sendType, sendType.GetProperty("Action"), advancedAttribute, categoryAttribute); 80builder.AddCustomAttributes(sendType, sendType.GetProperty("ProtectionLevel"), advancedAttribute, categoryAttribute); 81builder.AddCustomAttributes(sendType, sendType.GetProperty("SerializerOption"), advancedAttribute, categoryAttribute); 82builder.AddCustomAttributes(sendType, sendType.GetProperty("TokenImpersonationLevel"), advancedAttribute, categoryAttribute); 84Action = sendType.GetProperty("Action").Name; 87Message = sendMessageContentType.GetProperty("Message").Name; 88DeclaredMessageType = sendMessageContentType.GetProperty("DeclaredMessageType").Name;
System\ServiceModel\Activities\Presentation\SendReplyDesigner.xaml.cs (9)
38builder.AddCustomAttributes(sendType, sendType.GetProperty("CorrelationInitializers"), PropertyValueEditor.CreateEditorAttribute(typeof(CorrelationInitializerValueEditor))); 42builder.AddCustomAttributes(sendType, sendType.GetProperty("CorrelationInitializers"), categoryAttribute, BrowsableAttribute.Yes, 47builder.AddCustomAttributes(sendType, sendType.GetProperty("DisplayName"), categoryAttribute); 49builder.AddCustomAttributes(sendType, sendType.GetProperty("Content"), categoryAttribute, descriptionAttribute, PropertyValueEditor.CreateEditorAttribute(typeof(SendContentPropertyEditor))); 50builder.AddCustomAttributes(sendType, sendType.GetProperty("Request"), 55builder.AddCustomAttributes(sendType, sendType.GetProperty("Action"), categoryAttribute, advancedAttribute); 57Action = sendType.GetProperty("Action").Name; 60Message = sendMessageContentType.GetProperty("Message").Name; 61DeclaredMessageType = sendMessageContentType.GetProperty("DeclaredMessageType").Name;
System\ServiceModel\Activities\Presentation\TransactedReceiveScope.xaml.cs (3)
22builder.AddCustomAttributes(type, type.GetProperty("Body"), BrowsableAttribute.No); 23builder.AddCustomAttributes(type, type.GetProperty("Request"), BrowsableAttribute.No); 24builder.AddCustomAttributes(type, type.GetProperty("Variables"), BrowsableAttribute.No);
System\ServiceModel\Presentation\ServiceDesigner.xaml.cs (2)
46builder.AddCustomAttributes(serviceType, serviceType.GetProperty("Endpoints"), BrowsableAttribute.No); 56builder.AddCustomAttributes(serviceType, serviceType.GetProperty("Body"), BrowsableAttribute.No);
System.Activities.Presentation (19)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ActivityTemplateFactoryBuilderXamlMembers.cs (3)
32PropertyInfo namePropertyInfo = typeof(ActivityTemplateFactoryBuilder).GetProperty(NamePropertyName); 39PropertyInfo namePropertyInfo = typeof(ActivityTemplateFactoryBuilder).GetProperty(TargetTypePropertyName); 46PropertyInfo implementationPropertyInfo = typeof(ActivityTemplateFactoryBuilder).GetProperty(ImplementationPropertyName);
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ViewStateXamlHelper.cs (4)
70XamlMember activityBuilderName = new XamlMember(typeof(ActivityBuilder).GetProperty("Name"), inputReader.SchemaContext); 583XamlMember viewStateDataMember = new XamlMember(typeof(ViewStateManager).GetProperty("ViewStateData"), schemaContext); 586XamlMember idMember = new XamlMember(typeof(ViewStateData).GetProperty("Id"), schemaContext); 725XamlMember idMember = new XamlMember(typeof(ViewStateData).GetProperty("Id"), xamlReader.SchemaContext);
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlHelper.cs (2)
37this.dynamicActivityPropertyNameMember = new XamlMember(typeof(DynamicActivityProperty).GetProperty("Name"), this.XamlSchemaContext); 38this.dynamicActivityPropertyValueMember = new XamlMember(typeof(DynamicActivityProperty).GetProperty("Value"), this.XamlSchemaContext);
System.Activities.Presentation\System\Activities\Presentation\ActivityDelegateUtilities.cs (1)
55activityDelegate.GetType().GetProperty(argument.Name).SetValue(activityDelegate, CreateDelegateArgument(argument), null);
System.Activities.Presentation\System\Activities\Presentation\DesignerMetadata.cs (2)
93builder.AddCustomAttributes(type, type.GetProperty("Implementation"), new ShowPropertyInOutlineViewAttribute() { CurrentPropertyVisible = false }); 96builder.AddCustomAttributes(type, type.GetProperty("Body"), new ShowPropertyInOutlineViewAttribute() { CurrentPropertyVisible = false });
System.Activities.Presentation\System\Activities\Presentation\ExpressionHelper.cs (2)
56PropertyInfo literalValueProperty = expressionType.GetProperty("Value"); 78PropertyInfo variableProperty = expression.GetType().GetProperty("Variable");
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (5)
1128this.indexingProperty = type.GetProperty("Item"); 1137this.keyProperty = keyValuePairType.GetProperty("Key"); 1138this.valueProperty = keyValuePairType.GetProperty("Value"); 1147this.isReadOnlyProperty = type.GetProperty("IsReadOnly"); 1148this.countProperty = type.GetProperty("Count");
System.ComponentModel.DataAnnotations (2)
DataAnnotations\CompareAttribute.cs (1)
39PropertyInfo otherPropertyInfo = validationContext.ObjectType.GetProperty(OtherProperty);
DataAnnotations\LocalizableString.cs (1)
114PropertyInfo property = this._resourceType.GetProperty(this._propertyValue);
System.Core (2)
Microsoft\Scripting\Actions\BindingRestrictions.cs (1)
303typeof(WeakReference).GetProperty("Target")
Microsoft\Scripting\Actions\CallSiteBinder.cs (1)
200typeof(CallSite<T>).GetProperty("Update")
System.Data (20)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ActivityTemplateFactoryBuilderXamlMembers.cs (3)
32PropertyInfo namePropertyInfo = typeof(ActivityTemplateFactoryBuilder).GetProperty(NamePropertyName); 39PropertyInfo namePropertyInfo = typeof(ActivityTemplateFactoryBuilder).GetProperty(TargetTypePropertyName); 46PropertyInfo implementationPropertyInfo = typeof(ActivityTemplateFactoryBuilder).GetProperty(ImplementationPropertyName);
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ViewStateXamlHelper.cs (4)
70XamlMember activityBuilderName = new XamlMember(typeof(ActivityBuilder).GetProperty("Name"), inputReader.SchemaContext); 583XamlMember viewStateDataMember = new XamlMember(typeof(ViewStateManager).GetProperty("ViewStateData"), schemaContext); 586XamlMember idMember = new XamlMember(typeof(ViewStateData).GetProperty("Id"), schemaContext); 725XamlMember idMember = new XamlMember(typeof(ViewStateData).GetProperty("Id"), xamlReader.SchemaContext);
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlHelper.cs (2)
37this.dynamicActivityPropertyNameMember = new XamlMember(typeof(DynamicActivityProperty).GetProperty("Name"), this.XamlSchemaContext); 38this.dynamicActivityPropertyValueMember = new XamlMember(typeof(DynamicActivityProperty).GetProperty("Value"), this.XamlSchemaContext);
cdf\src\NetFx40\Tools\System.Activities.Core.Presentation\System\Activities\Core\Presentation\SwitchDesigner.xaml.cs (3)
304builder.AddCustomAttributes(type, type.GetProperty("Default"), BrowsableAttribute.No); 308builder.AddCustomAttributes(type, type.GetProperty("Cases"), new ShowPropertyInOutlineViewAttribute() { CurrentPropertyVisible = false, ChildNodePrefix = "Case : " }); 434object itemKey = caseType.GetProperty("Key").GetGetMethod().Invoke(item.GetCurrentValue(), null);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignerMetadata.cs (2)
93builder.AddCustomAttributes(type, type.GetProperty("Implementation"), new ShowPropertyInOutlineViewAttribute() { CurrentPropertyVisible = false }); 96builder.AddCustomAttributes(type, type.GetProperty("Body"), new ShowPropertyInOutlineViewAttribute() { CurrentPropertyVisible = false });
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ExpressionHelper.cs (1)
56PropertyInfo literalValueProperty = expressionType.GetProperty("Value");
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (5)
1128this.indexingProperty = type.GetProperty("Item"); 1137this.keyProperty = keyValuePairType.GetProperty("Key"); 1138this.valueProperty = keyValuePairType.GetProperty("Value"); 1147this.isReadOnlyProperty = type.GetProperty("IsReadOnly"); 1148this.countProperty = type.GetProperty("Count");
System.Data.Entity (7)
System\Data\Common\Internal\Materialization\Translator.cs (4)
554private static readonly MethodInfo IEntityKeyWithKey_EntityKey = typeof(System.Data.Objects.DataClasses.IEntityWithKey).GetProperty("EntityKey").GetSetMethod(); 592private static readonly PropertyInfo IEntityWrapper_Entity = typeof(IEntityWrapper).GetProperty("Entity"); 621private static readonly Expression Shaper_Context_Options = Expression.Property(Shaper_Context, typeof(ObjectContext).GetProperty("ContextOptions")); 622private static readonly Expression Shaper_ProxyCreationEnabled = Expression.Property(Shaper_Context_Options, typeof(ObjectContextOptions).GetProperty("ProxyCreationEnabled"));
System\Data\Objects\Internal\EntityProxyFactory.cs (3)
1054static readonly MethodInfo s_GetRelationshipManager = typeof(IEntityWithRelationships).GetProperty("RelationshipManager").GetGetMethod(); 1060static readonly MethodInfo s_IEntityWrapper_GetEntity = typeof(IEntityWrapper).GetProperty("Entity").GetGetMethod(); 1517typeof(DataContractAttribute).GetProperty("IsReference")
System.Data.Entity.Design (2)
System\Data\EntityModel\Emitters\CommentEmitter.cs (2)
70PropertyInfo pi = item.GetType().GetProperty("FullName"); 73pi = item.GetType().GetProperty("Name");
System.Data.Linq (8)
SortableBindingList.cs (1)
72PropertyInfo defaultComparer = comparerType.GetProperty("Default");
SqlClient\Query\QueryConverter.cs (1)
1598this.map[resultSelector.Parameters[0]] = sql.Member(kgAliasRef, elementType.GetProperty("Key"));
SqlClient\Reader\ObjectReaderCompiler.cs (1)
1067PropertyInfo piCanDeferLoad = orbType.GetProperty("CanDeferLoad");
SqlClient\SqlProvider.cs (2)
1158PropertyInfo piPrecision = p.GetType().GetProperty("Precision"); 1162PropertyInfo piScale = p.GetType().GetProperty("Scale");
SqlClient\SqlTypeSystemProvider.cs (3)
985PropertyInfo piSqlDbType = parameter.GetType().GetProperty("SqlDbType"); 990PropertyInfo piPrecision = parameter.GetType().GetProperty("Precision"); 994PropertyInfo piScale = parameter.GetType().GetProperty("Scale");
System.Data.Services (18)
System\Data\Services\Internal\ProjectedWrapper.cs (8)
280bindings[0] = Expression.Bind(projectedWrapperType.GetProperty("ResourceTypeName"), bindingExpressions[0]); 281bindings[1] = Expression.Bind(projectedWrapperType.GetProperty("PropertyNameList"), bindingExpressions[1]); 299projectedWrapperType.GetProperty(projectedPropertyNames[propertyIndex]), 340typeof(ProjectedWrapperMany).GetProperty("ResourceTypeName"), 343typeof(ProjectedWrapperMany).GetProperty("PropertyNameList"), 354typeof(ProjectedWrapperMany).GetProperty("Next"), 379typeof(ProjectedWrapperMany).GetProperty("Next"), 383typeof(ProjectedWrapperManyEnd).GetProperty("ResourceTypeName"),
System\Data\Services\Providers\BasicExpandProvider.cs (2)
1332MemberInfo member = type.GetProperty(propertyName); 1516MemberInfo member = projectedSkipTokenType.GetProperty("ProjectedProperty" + i.ToString(System.Globalization.CultureInfo.InvariantCulture));
System\Data\Services\Providers\ObjectContextServiceProvider.cs (1)
1396PropertyInfo propertyInfo = resourceType.InstanceType.GetProperty(member.Name);
System\Data\Services\RequestQueryProcessor.cs (7)
1188resultWrapperBindings[0] = Expression.Bind(resultWrapperType.GetProperty("ExpandedElement"), expandParameter); 1189resultWrapperBindings[1] = Expression.Bind(resultWrapperType.GetProperty("Description"), Expression.Constant(XmlConstants.HttpQueryStringSkipToken)); 1191resultWrapperType.GetProperty("ProjectedProperty0"), 1240skipTokenBindings[0] = Expression.Bind(skipTokenWrapperType.GetProperty("ExpandedElement"), expandParameter); 1241skipTokenBindings[1] = Expression.Bind(skipTokenWrapperType.GetProperty("Description"), Expression.Constant(skipTokenDescription.ToString())); 1248MemberInfo member = skipTokenWrapperType.GetProperty("ProjectedProperty" + i.ToString(System.Globalization.CultureInfo.InvariantCulture)); 1273Expression.MakeMemberAccess(wrapperParameter, resultWrapperType.GetProperty("ExpandedElement")));
System.Data.Services.Client (1)
System\Data\Services\Client\ALinq\ResourceBinder.cs (1)
1531result.Add(property.DeclaringType.GetProperty(property.PropertyName));
System.Data.Services.Design (3)
System\Data\EntityModel\Emitters\CommentEmitter.cs (2)
63PropertyInfo pi = item.GetType().GetProperty("FullName"); 66pi = item.GetType().GetProperty("Name");
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (1)
491if (null != TypeReference.ObjectContextBaseClassType.GetProperty(set.Name))
System.Drawing (2)
commonui\System\Drawing\ColorConverter.cs (2)
299member = typeof(SystemColors).GetProperty(c.Name); 302member = typeof(Color).GetProperty(c.Name);
System.Runtime.Serialization (9)
System\Runtime\Serialization\CodeGenerator.cs (1)
1906static MethodInfo stringLength = typeof(string).GetProperty("Length").GetGetMethod();
System\Runtime\Serialization\Json\JsonFormatGeneratorStatics.cs (3)
173extensionDataProperty = typeof(IExtensibleDataObject).GetProperty("ExtensionData"); 185ienumeratorGetCurrentMethod = typeof(IEnumerator).GetProperty("Current").GetGetMethod(); 413typeHandleProperty = typeof(Type).GetProperty("TypeHandle");
System\Runtime\Serialization\Json\JsonFormatWriterGenerator.cs (2)
481PropertyInfo genericDictionaryKeyProperty = genericDictionaryKeyValueType.GetProperty(JsonGlobals.KeyString); 482PropertyInfo genericDictionaryValueProperty = genericDictionaryKeyValueType.GetProperty(JsonGlobals.ValueString);
System\Runtime\Serialization\XmlFormatGeneratorStatics.cs (3)
77extensionDataProperty = typeof(IExtensibleDataObject).GetProperty("ExtensionData"); 129ienumeratorGetCurrentMethod = typeof(IEnumerator).GetProperty("Current").GetGetMethod(); 656getArrayLengthMethod = Globals.TypeOfArray.GetProperty("Length").GetGetMethod();
System.ServiceModel (8)
System\ServiceModel\Activation\SystemWebHelper.cs (8)
80PropertyInfo rolesEnabledPropertyInfo = roleType.GetProperty("Enabled"); 85PropertyInfo rolesProviderPropertyInfo = roleType.GetProperty("Provider"); 122PropertyInfo roleProvidersPropertyInfo = roleType.GetProperty("Providers"); 157PropertyInfo membershipProviderPropertyInfo = membershipType.GetProperty("Provider"); 185PropertyInfo membershipProvidersPropertyInfo = membershipType.GetProperty("Providers"); 225Fx.Assert(GetSystemWebType("System.Web.Configuration.WebApplicationLevel").GetProperty("AboveApplication") == null || 226(int)GetSystemWebType("System.Web.Configuration.WebApplicationLevel").GetProperty("AboveApplication").GetValue(null, null) == webApplicationLevelAboveApplication, 230PropertyInfo applicationLevelPropertyInfo = webContextType.GetProperty("ApplicationLevel");
System.Web (4)
ModelBinding\CollectionModelBinderUtil.cs (1)
111bool collectionInstanceIsReadOnly = (bool)closedCollectionType.GetProperty("IsReadOnly").GetValue(modelMetadata.Model, null);
parent\DataAnnotations\DataAnnotations\LocalizableString.cs (1)
114PropertyInfo property = this._resourceType.GetProperty(this._propertyValue);
UI\Page.cs (1)
6383PropertyInfo supportsPartialRenderingProperty = scriptManagerType.GetProperty("SupportsPartialRendering");
UI\WebControls\ModelDataSourceView.cs (1)
314var propInfo = o.GetType().GetProperty(name);
System.Web.DataVisualization (4)
Common\Converters\AxisConverters.cs (3)
77 PropertyInfo propertyInfo = context.Instance.GetType().GetProperty("IntervalType"); 84 propertyInfo = context.Instance.GetType().GetProperty("Interval"); 153 PropertyInfo propertyInfo = context.Instance.GetType().GetProperty("intervalType");
Common\Utilities\XmlSerializer.cs (1)
2150 PropertyInfo pi = obj.GetType().GetProperty(attrName);
System.Web.DynamicData (3)
DynamicData\MetaForeignKeyColumn.cs (1)
32CreateForeignKeyFilterMapping(ForeignKeyNames, ParentTable.PrimaryKeyNames, (foreignKey) => Table.EntityType.GetProperty(foreignKey) != null);
DynamicData\ModelProviders\EFColumnProvider.cs (1)
89get { return _table.EntityType.GetProperty(Name); }
DynamicData\ModelProviders\EFTableProvider.cs (1)
43var property = entityClrType.GetProperty(propertyName);
System.Web.Extensions (2)
Compilation\WCFModel\SchemaMerger.cs (1)
555PropertyInfo nameProperty = itemType.GetProperty("Name");
UI\WebControls\Dynamic.cs (1)
1111bindings[i] = Expression.Bind(type.GetProperty(properties[i].Name), expressions[i]);
System.Web.Mobile (1)
UI\MobileControls\Design\PropertyOverridesDialog.cs (1)
799return style.GetType().GetProperty(property.Name) != null;
System.Web.Services (1)
System\Web\Services\Protocols\SoapReflector.cs (1)
456else if ((soapHeader.memberInfo = declaringType.GetProperty(headerAttribute.MemberName)) != null) {
System.Windows.Forms.DataVisualization (4)
Common\Converters\AxisConverters.cs (3)
77 PropertyInfo propertyInfo = context.Instance.GetType().GetProperty("IntervalType"); 84 propertyInfo = context.Instance.GetType().GetProperty("Interval"); 153 PropertyInfo propertyInfo = context.Instance.GetType().GetProperty("intervalType");
Common\Utilities\XmlSerializer.cs (1)
2150 PropertyInfo pi = obj.GetType().GetProperty(attrName);
System.Workflow.Activities (1)
InvokeSchedule.cs (1)
284propertyInfo = targetWorkflowType.GetProperty(paramBinding.ParameterName);
System.Workflow.ComponentModel (7)
AuthoringOM\Compiler\TypeSystem\AttributeInfo.cs (1)
128attributeType.GetProperty(propertyNames[loop]).SetValue(attribute, propertyValues[loop], null);
AuthoringOM\Design\ActivityDesignerLayoutSerializers.cs (4)
368properties.Add(typeof(Size).GetProperty("Width")); 369properties.Add(typeof(Size).GetProperty("Height")); 418properties.Add(typeof(Point).GetProperty("X")); 419properties.Add(typeof(Point).GetProperty("Y"));
AuthoringOM\Serializer\DictionarySurrogate.cs (2)
24PropertyInfo keysProperty = obj.GetType().GetProperty("Keys"); 30PropertyInfo valuesProperty = obj.GetType().GetProperty("Values");
System.Workflow.Runtime (4)
System\Activities\Statements\Interop.cs (1)
502PropertyInfo property = this.ActivityType.GetProperty(name);
System\Activities\Statements\InteropExecutor.cs (2)
476propertyInfo = definition.GetType().GetProperty(truncatedName); 480propertyInfo = definition.GetType().GetProperty(input.Key);
WorkflowExecutor.cs (1)
368PropertyInfo propertyInfo = this.WorkflowDefinition.GetType().GetProperty(arg);
System.Xml (4)
System\Xml\Serialization\CodeGenerator.cs (1)
705currentProperty = currentType.GetProperty(propertyName);
System\Xml\Serialization\Models.cs (1)
261PropertyInfo specifiedProperty = memberInfo.DeclaringType.GetProperty(memberInfo.Name + "Specified");
System\Xml\Serialization\Types.cs (1)
1141PropertyInfo p = enumerator.ReturnType.GetProperty("Current");
System\Xml\Serialization\XmlSerializationWriterILGen.cs (1)
2387PropertyInfo propInfo = initValue.ILG.GetVariableType(fixup).GetProperty(vars[1]);
WindowsBase (1)
Base\System\ComponentModel\DependencyPropertyDescriptor.cs (1)
143if (ownerType.GetProperty(dependencyProperty.Name) != null)