2 overrides of Name
System.Workflow.Activities (1)
Common\BasePropertyDescriptor.cs (1)
411public override string Name
System.Workflow.ComponentModel (1)
Shared\BasePropertyDescriptor.cs (1)
410public override string Name
387 references to Name
PresentationFramework (24)
src\Framework\MS\Internal\Data\ClrBindingWorker.cs (1)
815return pd.Name;
src\Framework\MS\Internal\Data\PropertyPathWorker.cs (5)
132(pd != null) ? pd.Name : 1503name = properties[index].Name; 1628throw new InvalidOperationException(SR.Get(SRID.CannotWriteToReadOnly, item.GetType(), pd.Name)); 1763string columnName = (pd != null) ? pd.Name : 1804_host.OnSourcePropertyChanged(sender, e.PropertyDescriptor.Name);
src\Framework\MS\Internal\Data\ValueTable.cs (1)
175PropertyChangedEventManager.AddHandler(inpc, OnPropertyChanged, pd.Name);
src\Framework\MS\Internal\TraceData.cs (1)
299return Format("{0}({1})", pd.GetType().Name, pd.Name);
src\Framework\System\Windows\Data\CollectionView.cs (1)
1512list.Add(new ItemPropertyInfo(pd.Name, pd.PropertyType, pd));
src\Framework\System\Windows\Markup\Primitives\ElementMarkupObject.cs (4)
251if (!TryGetShouldSerializeMethod(new ShouldSerializeKey(instance.GetType(), pd.Name), out shouldSerializeMethod)) 254string methodName = "ShouldSerialize" + pd.Name; 268CacheShouldSerializeMethod(new ShouldSerializeKey(instanceType, pd.Name), shouldSerializeMethod); 773get { return _descriptor.Name; }
src\Framework\System\Windows\Markup\Primitives\MarkupWriter.cs (8)
597if (xlpa != null && xlpa.Name == property.PropertyDescriptor.Name) 602else if (upa != null && upa.Name == property.PropertyDescriptor.Name) 605_writer.WriteAttributeString(scope.GetPrefixOf(xamlUri), property.PropertyDescriptor.Name, xamlUri, property.StringValue); 609_writer.WriteAttributeString(property.PropertyDescriptor.Name, property.StringValue); 723WritePropertyStart(prefix, item.ObjectType.Name + "." + property.PropertyDescriptor.Name, uri); 849_writer.WriteStartElement(prefix, item.ObjectType.Name + "." + property.PropertyDescriptor.Name, uri); 901descriptor.Name == cpa.Name) 1126if (property.IsContent || (cpa != null && property.PropertyDescriptor != null && property.PropertyDescriptor.Name == cpa.Name))
src\Framework\System\Windows\Media\Animation\Storyboard.cs (1)
781return ((PropertyDescriptor)propertyAccessor).Name;
src\Framework\System\Windows\PropertyPath.cs (1)
957return pd.Name;
src\Framework\System\Windows\PropertyPathConverter.cs (1)
240name = pd.Name;
System (50)
compmod\system\componentmodel\design\DesignerOptionService.cs (1)
449internal WrappedPropertyDescriptor(PropertyDescriptor property, object target) : base(property.Name, null) {
compmod\system\componentmodel\design\serialization\MemberRelationshipService.cs (2)
107throw new ArgumentException(SR.GetString(SR.MemberRelationshipService_RelationshipNotSupported, sourceName, source.Member.Name, relName, relationship.Member.Name));
compmod\system\componentmodel\EventDescriptorCollection.cs (3)
225if (String.Equals(events[i].Name, name, StringComparison.OrdinalIgnoreCase)) { 233if (String.Equals(events[i].Name, name, StringComparison.Ordinal)) { 378if (currentEvent != null && currentEvent.Name.Equals(names[i])) {
compmod\system\componentmodel\MemberDescriptor.cs (2)
87this.name = descr.Name; 107this.name = oldMemberDescriptor.Name;
compmod\system\componentmodel\PropertyDescriptor.cs (2)
199&& pd.Name.Equals(this.Name)) {
compmod\system\componentmodel\PropertyDescriptorCollection.cs (8)
264if (String.Equals(properties[i].Name, name, StringComparison.OrdinalIgnoreCase)) { 271if (properties[i].Name.Equals(name)) { 403if (currentProp != null && currentProp.Name.Equals(names[i])) { 548if (properties[i].Name.Equals((string)key)) { 576keys[i] = properties[i].Name; 703return new DictionaryEntry(curProp.Name, curProp); 709return owner[index].Name; 715return owner[index].Name;
compmod\system\componentmodel\ReflectEventDescriptor.cs (8)
200throw new ArgumentException(SR.GetString(SR.ErrorInvalidEventHandler, Name)); 253Debug.Assert(removeMethod != null, "Null remove method for " + Name); 256Debug.Assert(addMethod != null, "Null remove method for " + Name); 356realEvent = this.componentClass.GetEvent(Name); 365addMethod = FindMethod(componentClass, "AddOn" + Name, argsType, typeof(void)); 366removeMethod = FindMethod(componentClass, "RemoveOn" + Name, argsType, typeof(void)); 368Debug.Fail("Missing event accessors for " + componentClass.FullName + "." + Name); 369throw new ArgumentException(SR.GetString(SR.ErrorMissingEventAccessors, Name));
compmod\system\componentmodel\ReflectPropertyDescriptor.cs (15)
265realChangedEvent = TypeDescriptor.GetEvents(ComponentType)[string.Format(CultureInfo.InvariantCulture, "{0}Changed", Name)]; 346propInfo = componentClass.GetProperty(Name, bindingFlags, null, PropertyType, new Type[0], new ParameterModifier[0]); 352throw new InvalidOperationException(SR.GetString(SR.ErrorMissingPropertyAccessors, componentClass.FullName + "." + Name)); 356getMethod = FindMethod(componentClass, "Get" + Name, new Type[] { receiverType }, type); 358throw new ArgumentException(SR.GetString(SR.ErrorMissingPropertyAccessors, Name)); 423resetMethod = FindMethod(componentClass, "Reset" + Name, args, typeof(void), /* publicOnly= */ false); 482propInfo = componentClass.GetProperty(Name, bindingFlags, null, PropertyType, new Type[0], new ParameterModifier[0]); 489setMethod = FindMethod(componentClass, "Set" + Name, 526shouldSerializeMethod = FindMethod(componentClass, "ShouldSerialize" + Name, 830memberInfo = currentReflectType.GetMethod("Get" + Name, bindingFlags, null, new Type[] { receiverType }, null); 833memberInfo = currentReflectType.GetProperty(Name, bindingFlags, null, PropertyType, new Type[0], new ParameterModifier[0]); 927Debug.WriteLineIf(PropDescUsageSwitch.TraceVerbose, "[" + Name + "]: ---> returning: null"); 964throw new TargetInvocationException(SR.GetString(SR.ErrorPropertyAccessorException, Name, name, message), t); 967Debug.WriteLineIf(PropDescUsageSwitch.TraceVerbose, "[" + Name + "]: ---> returning: null"); 978String.Compare(e.PropertyName, Name, true, System.Globalization.CultureInfo.InvariantCulture) == 0) {
compmod\system\componentmodel\ReflectTypeDescriptionProvider.cs (5)
527Debug.Assert(eppa != null, "Extender property " + prop.Name + " has no provider attribute. We will skip it."); 1896if (!eventList.ContainsKey(ed.Name)) { 1897eventList.Add(ed.Name, ed); 1933if (!propertyList.ContainsKey(p.Name)) { 1934propertyList.Add(p.Name, p);
compmod\system\componentmodel\TypeDescriptor.cs (4)
2550string descName = desc.Name; 2583filterTable[origDesc.Name + suffix] = origDesc; 3683return string.Compare(((MemberDescriptor)left).Name, ((MemberDescriptor)right).Name, false, CultureInfo.InvariantCulture);
System.Activities (10)
System\Activities\Activity.cs (3)
1476RuntimeArgument argument = new RuntimeArgument(propertyDescriptor.Name, argumentType, direction, isRequired, overloadGroupNames, propertyDescriptor, activity); 1510IList<RuntimeArgument> runtimeArguments = DictionaryArgumentHelper.TryGetRuntimeArguments(property, propertyDescriptor.Name); 1519DictionaryArgumentHelper helper = Activator.CreateInstance(concreteHelperType, new object[] { property, propertyDescriptor.Name }) as DictionaryArgumentHelper;
System\Activities\ActivityDelegate.cs (1)
123runtimeDelegateArguments.Add(new RuntimeDelegateArgument(propertyDescriptor.Name, innerType, direction, (DelegateArgument)propertyDescriptor.GetValue(this)));
System\Activities\DynamicActivityTypeDescriptor.cs (2)
204throw FxTrace.Exception.AsError(new InvalidOperationException(SR.InvalidDynamicActivityProperty(this.Name))); 215throw FxTrace.Exception.AsError(new InvalidOperationException(SR.InvalidDynamicActivityProperty(this.Name)));
System\Activities\RuntimeArgument.cs (1)
226if (property.Name == this.Name && property.PropertyType.IsGenericType)
System\Activities\WorkflowDataContext.cs (3)
149handler(this, new PropertyChangedEventArgs(property.Name)); 153handler(this, new PropertyChangedEventArgs(property.Name + "." + e.PropertyName)); 268throw FxTrace.Exception.AsError(new NotSupportedException(SR.PropertyReadOnlyInWorkflowDataContext(this.Name)));
System.Activities.Presentation (14)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\Metadata\MutableAttributeTable.cs (2)
96AddAttributes(GetMemberList(ownerType, descriptor.Name), attributes); 257return GetCustomAttributes(ownerType, descriptor.Name);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\ExtensibilityAccessor.cs (1)
764ModelProperty subProperty = item.Properties[subPropertyDescriptor.Name];
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (4)
792: base(parent.Name, null) 904_rawAttributes = MetadataStoreProvider.GetRawAttributes(_objectType, Name, _parent, false); 1000: base(parent.Name, null) 1013Attribute[] attrs = MetadataStoreProvider.GetRawAttributes(_objectType, Name, _parent, true);
System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (5)
577if (string.Equals(properties[i].Name, e.PropertyName)) 680instance.ValidationErrors[this.Name] = exception.Message; 685else if (null != instance.validationErrors && instance.validationErrors.ContainsKey(this.Name)) 687instance.validationErrors.Remove(this.Name); 699(instance.Content as IModelTreeItem).ModelTreeManager.AddToCurrentEditingScope(new FakeModelNotifyPropertyChange(instance.Content as IModelTreeItem, this.Name));
System.Activities.Presentation\System\Activities\Presentation\Model\ModelPropertyImpl.cs (1)
148return propertyDescriptor.Name;
System.Activities.Presentation\System\Activities\Presentation\Model\ModelTypeConverter.cs (1)
145ModelProperty modelProp = item.Properties.Find(p.Name);
System.ComponentModel.DataAnnotations (3)
DataAnnotations\AssociatedMetadataTypeTypeDescriptor.cs (1)
47Attribute[] newMetadata = TypeDescriptorCache.GetAssociatedMetadata(AssociatedMetadataType, propDescriptor.Name);
DataAnnotations\ValidationAttributeStore.cs (1)
214propertyStoreItems[property.Name] = item;
DataAnnotations\Validator.cs (1)
447context.MemberName = property.Name;
System.Data (39)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\Metadata\MutableAttributeTable.cs (2)
96AddAttributes(GetMemberList(ownerType, descriptor.Name), attributes); 257return GetCustomAttributes(ownerType, descriptor.Name);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\ExtensibilityAccessor.cs (1)
764ModelProperty subProperty = item.Properties[subPropertyDescriptor.Name];
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (4)
792: base(parent.Name, null) 904_rawAttributes = MetadataStoreProvider.GetRawAttributes(_objectType, Name, _parent, false); 1000: base(parent.Name, null) 1013Attribute[] attrs = MetadataStoreProvider.GetRawAttributes(_objectType, Name, _parent, true);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (5)
577if (string.Equals(properties[i].Name, e.PropertyName)) 680instance.ValidationErrors[this.Name] = exception.Message; 685else if (null != instance.validationErrors && instance.validationErrors.ContainsKey(this.Name)) 687instance.validationErrors.Remove(this.Name); 699(instance.Content as IModelTreeItem).ModelTreeManager.AddToCurrentEditingScope(new FakeModelNotifyPropertyChange(instance.Content as IModelTreeItem, this.Name));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelPropertyImpl.cs (1)
148return propertyDescriptor.Name;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelTypeConverter.cs (1)
145ModelProperty modelProp = item.Properties.Find(p.Name);
fx\src\data\System\Data\Common\DbConnectionStringBuilder.cs (2)
366if (ADP.ConnectionString != reflected.Name) { 370PropertyDescriptor descriptor = new DbConnectionStringBuilderDescriptor(reflected.Name,
fx\src\data\System\Data\DataView.cs (7)
1078GetFindIndex(property.Name, /*keepIndex:*/true); 1090if ((null == findIndexes) || !findIndexes.TryGetValue(property.Name, out findIndex)) { 1092findIndex = table.GetIndex(property.Name, recordStates, GetFilter()); 1116GetFindIndex(property.Name, /*keepIndex:*/false); 1142if (!this.table.Columns.Contains(property.Name)) { // just check if column does not exist, we will handle duplicate column in Sort 1143throw ExceptionBuilder.ColumnToSortIsOutOfRange(property.Name); 1161resultString.Append(property.Name);
fx\src\data\System\Data\SqlClient\SqlConnectionStringBuilder.cs (1)
1025DbConnectionStringBuilderDescriptor descriptor = new DbConnectionStringBuilderDescriptor(reflected.Name,
fx\src\data\System\Data\xmlsaver.cs (15)
1590 == String.Compare(pd.Name, "Namespace" , StringComparison.Ordinal) || 1600 == String.Compare(pd.Name, "PrimaryKey" , StringComparison.Ordinal) || 1610 == String.Compare(pd.Name, "ColumnName" , StringComparison.Ordinal) || 1620 == String.Compare(pd.Name, "DefaultValue" , StringComparison.Ordinal) || 1630 == String.Compare(pd.Name, "TableName" , StringComparison.Ordinal) || 1640 == String.Compare(pd.Name, "DataSetName" , StringComparison.Ordinal) || 1650 == String.Compare(pd.Name, "AllowDBNull" , StringComparison.Ordinal) || 1660 == String.Compare(pd.Name, "Unique" , StringComparison.Ordinal) || 1670 == String.Compare(pd.Name, "NestedInDataSet" , StringComparison.Ordinal) || 1680 == String.Compare(pd.Name, "Locale" , StringComparison.Ordinal) || 1690 == String.Compare(pd.Name, "CaseSensitive", StringComparison.Ordinal) || 1700 == String.Compare(pd.Name, "RemotingFormat" , StringComparison.Ordinal) 176if (0 == String.Compare(pd.Name, "DataType", StringComparison.Ordinal)) { 191if (0 == String.Compare(pd.Name, "Attribute", StringComparison.Ordinal)) { 197root.SetAttribute(pd.Name, Keywords.MSDNS, textValue);
System.Data.Linq (1)
SortableBindingList.cs (1)
65throw new MissingMemberException(typeof(T).Name, prop.Name);
System.Web (23)
Compilation\AppSettingsExpressionBuilder.cs (1)
73throw new InvalidOperationException(SR.GetString(SR.AppSetting_not_convertible, value, propDesc.PropertyType.Name, propDesc.Name));
HttpApplication.cs (1)
1908EventInfo reflectionEvent = targetType.GetEvent(foundEvent.Name);
ModelBinding\AssociatedMetadataProvider.cs (1)
63ModelMetadata result = CreateMetadata(attributes, containerType, modelAccessor, propertyDescriptor.PropertyType, propertyDescriptor.Name);
ModelBinding\MutableObjectModelBinder.cs (2)
145requiredProperties.Add(propertyDescriptor.Name); 149skipProperties.Add(propertyDescriptor.Name);
Routing\RouteValueDictionary.cs (1)
66Add(prop.Name, val);
UI\ControlBuilder.cs (7)
1091if (!Parser.PageParserFilterProcessedEventHookupAttribute(ID, eventDesc.Name, value)) { 1097entry.Name = eventDesc.Name; 3026throw new InvalidOperationException(SR.GetString(SR.Property_theme_disabled, ParseTimeData.FirstNonThemableProperty.Name, ControlType.FullName)); 3107throw new HttpException(SR.GetString(SR.Property_Not_Persistable, propDesc.Name)); 3113throw new HttpException(SR.GetString(SR.Property_Not_Persistable, propDesc.Name)); 3123throw new InvalidOperationException(SR.GetString(SR.Illegal_Device, propDesc.Name)); 3133throw new InvalidOperationException(SR.GetString(SR.Property_theme_disabled, propDesc.Name, ControlType.FullName));
UI\ControlPropertyNameConverter.cs (1)
33array.Add(desc.Name);
UI\WebControls\AdRotator.cs (1)
371generatedFields.Add(pd.Name);
UI\WebControls\DataGrid.cs (3)
951column.HeaderText = pd.Name; 952column.DataField = pd.Name; 953column.SortExpression = pd.Name;
UI\WebControls\DetailsViewRowsGenerator.cs (1)
75string name = pd.Name;
UI\WebControls\GridViewColumnsGenerator.cs (1)
121string name = pd.Name;
UI\WebParts\PropertyGridEditorPart.cs (1)
229return pd.Name;
UI\WebParts\RowToParametersTransformer.cs (1)
115parametersData[consumerProp.Name] = providerProp.GetValue(rowData);
UI\WebParts\TransformerConfigurationWizardBase.cs (1)
153names[2*i + 1] = descriptor.Name;
System.Web.DataVisualization (3)
Common\Converters\DataManagerConverters.cs (1)
225if (context.PropertyDescriptor != null && context.PropertyDescriptor.Name == "YValueMembers")
Common\General\Chart.cs (2)
581names.Add(pd.Name); 595names.Add(pd.Name);
System.Web.DynamicData (3)
DynamicData\ModelProviders\SimpleColumnProvider.cs (1)
16Name = propertyDescriptor.Name;
DynamicData\Util\DictionaryCustomTypeDescriptor.cs (1)
58return typeDescriptor.GetValue(Name);
DynamicData\Util\Misc.cs (1)
75values[p.Name] = p.GetValue(instance);
System.Web.Entity (3)
System\Data\WebControls\EntityDataSourceView.cs (2)
847propValue = EntityDataSourceUtil.ConvertType(propValue, propertyDescriptor.PropertyType, propertyDescriptor.Name); 859string propertyName = pd.Name;
System\Data\WebControls\EntityDataSourceViewSchema.cs (1)
100column.ColumnName = property.Name;
System.Web.Entity.Design (1)
System\Data\WebControls\Design\EntityDataSourceStatementEditor.cs (1)
40return Initialize(designer, entityDataSource, context.PropertyDescriptor.Name, serviceProvider, value);
System.Web.Extensions (7)
UI\WebControls\DataSourceHelper.cs (1)
149validationErrors[property.Name] = e;
UI\WebControls\LinqDataSourceView.cs (5)
856validateExceptions[property.Name] = e; 870StoreOriginalValues(results, p => columns.ContainsKey(p.Name) && 871(columns[p.Name].IsPrimaryKey || 872columns[p.Name].IsVersion || 873(columns[p.Name].UpdateCheck != UpdateCheck.Never)));
UI\WebControls\QueryableDataSourceView.cs (1)
594_originalValues[p.Name] = values;
System.Web.Mobile (39)
UI\MobileControls\Design\Converters\DataFieldConverter.cs (1)
196list.Add(propDesc.Name);
UI\MobileControls\Design\ImageDesigner.cs (1)
185if ((e.Member != null) && e.Member.Name.Equals("NavigateUrl"))
UI\MobileControls\Design\LinkDesigner.cs (1)
128if ((e.Member != null) && e.Member.Name.Equals("NavigateUrl"))
UI\MobileControls\Design\ListDesigner.cs (1)
563String memberName = e.Member.Name;
UI\MobileControls\Design\MobileContainerDesigner.cs (1)
356String propName = propDesc.Name;
UI\MobileControls\Design\MobileControlDesigner.cs (1)
467String propName = propDesc.Name;
UI\MobileControls\Design\MobileControlPersister.cs (14)
114"Invalid collection property : " + propDesc.Name); 130sw.Write(propDesc.Name); 218sw.Write(propDesc.Name); 264sw.Write(propDesc.Name); 273if (!propDesc.Name.Equals("DeviceSpecific")) 281sw.Write(propDesc.Name); 378if (dataBindings == null || dataBindings[propDescs[i].Name] == null) { 395Debug.Fail("Cannot persist template property " + propDescs[i].Name + " not marked with PersistenceMode.InnerProperty"); 417Debug.Fail("Cannot persist collection property " + propDescs[i].Name + " not marked with PersistenceMode.InnerProperty or PersistenceMode.InnerDefaultProperty"); 426Debug.Fail("Cannot persist complex property " + propDescs[i].Name + " not marked with PersistenceMode.InnerProperty"); 452"Invalid string property : " + propDesc.Name); 534string propName = properties[i].Name; 693"Invalid template property : " + propDesc.Name); 696String templateName = propDesc.Name;
UI\MobileControls\Design\MobileTemplatedControlDesigner.cs (1)
451switch (propDesc.Name)
UI\MobileControls\Design\ObjectListDesigner.cs (1)
193String memberName = e.Member.Name;
UI\MobileControls\Design\ObjectListFieldsPage.cs (1)
189_cmbDataField.Items.Add(propDesc.Name);
UI\MobileControls\Design\PhoneCallDesigner.cs (1)
118if ((e.Member != null) && e.Member.Name.Equals("AlternateUrl"))
UI\MobileControls\Design\PropertyOverridesDialog.cs (9)
678(property.Name == _navigateUrl || 679property.Name == _alternateUrl)) 683if (property.Name == _navigateUrl) 691_specialProp_buffer[property.Name] = property.GetValue(_underlyingObject); 787property.Name, 799return style.GetType().GetProperty(property.Name) != null; 882&& property.Name != "ID" 910String propertyName = prefix + property.Name; 985String propertyName = prefix + property.Name;
UI\MobileControls\Design\SelectionListDesigner.cs (2)
457if (e.Member.Name.Equals(_dataSourcePropertyName) || 458e.Member.Name.Equals(_dataMemberPropertyName))
UI\MobileControls\Design\StylesEditorDialog.cs (1)
441if (propDescs[i].Name.Equals("Font"))
UI\MobileControls\Design\StyleSheetDesigner.cs (1)
348if (propDesc.Name.Equals("ID"))
UI\MobileControls\ObjectList.cs (2)
866title = pd.Name; 868list.Add(CreateAutoGeneratedField(title, pd.Name));
System.Windows.Forms (61)
winforms\Managed\System\WinForms\AxHost.cs (5)
2893string propName = baseProps[i].Name; 6989Debug.WriteLineIf(AxPropTraceSwitch.TraceVerbose, "Making property: " + this.Name + " browsable because we found an property page."); 7109Debug.WriteLineIf(AxPropTraceSwitch.TraceVerbose, "Get failed for : " + Name + " with exception: " + e.Message + " .Making property non-browsable."); 7293Debug.WriteLineIf(AxPropTraceSwitch.TraceVerbose, "Making property: " + this.Name + " browsable because we found an editor."); 7304Debug.WriteLineIf(AxPropTraceSwitch.TraceVerbose, "could not get the type editor for property: " + this.Name + " Exception: " + e);
winforms\Managed\System\WinForms\Binding.cs (3)
536if(tempPropInfo==null && String.Equals (propInfos[i].Name, propertyName, StringComparison.OrdinalIgnoreCase)) { 541if(tempPropIsNullInfo == null && String.Equals (propInfos[i].Name, propertyNameIsNull, StringComparison.OrdinalIgnoreCase)) { 567if(tempValidateInfo==null && String.Equals (eventInfos[i].Name, validateName, StringComparison.OrdinalIgnoreCase)) {
winforms\Managed\System\WinForms\BindingMAnagerBase.cs (1)
204if (props[i].Name.Equals(((PropertyDescriptor)listAccessors[offset]).Name))
winforms\Managed\System\WinForms\BindingSource.cs (1)
651sb.Append(sortsColln[i].PropertyDescriptor.Name +
winforms\Managed\System\WinForms\BindToObject.cs (1)
128text = errorInfo[fieldInfo.Name];
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2PictureConverter.cs (1)
32if (pd.DISPID == NativeMethods.ActiveX.DISPID_MOUSEICON || pd.Name.IndexOf("Icon") != -1) {
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (2)
697return new Com2PropertyDescriptor(this.dispid, this.Name, (Attribute[])this.baseAttrs.Clone(), this.readOnly, this.propertyType, this.typeData, this.hrHidden); 1210throw new NotSupportedException(SR.GetString(SR.COM2ReadonlyProperty, this.Name ));
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2PropertyPageUITypeConverter.cs (1)
63propPageSvc.ShowPropertyPage(propDesc.Name, instance, propDesc.DISPID, this.guid, hWndParent);
winforms\Managed\System\WinForms\Control.cs (10)
17312Debug.WriteLineIf(CompModSwitches.ActiveX.TraceInfo, "Loading property " + props[i].Name); 17320hr = pPropBag.Read(props[i].Name, ref obj, pErrorLog); 17335Debug.Fail("Expected property " + props[i].Name + " to be stored in IPropertyBag as a string. Attempting to coerce"); 17360Debug.Assert(converter != null, "No type converter for property '" + props[i].Name + "' on class " + control.GetType().FullName); 17396pErrorLog.AddError(props[i].Name, err); 18032Debug.WriteLineIf(CompModSwitches.ActiveX.TraceInfo, "Saving property " + props[i].Name); 18047pPropBag.Write(props[i].Name, ref propValue); 18054Debug.Assert(converter != null, "No type converter for property '" + props[i].Name + "' on class " + control.GetType().FullName); 18058pPropBag.Write(props[i].Name, ref propValue); 18063pPropBag.Write(props[i].Name, ref propValue);
winforms\Managed\System\WinForms\DataGrid.cs (1)
8744DataGridColumnStyle col = gridCols.MapColumnStyleToPropertyName(props[i].Name);
winforms\Managed\System\WinForms\DataGridColumn.cs (3)
92this.headerName = prop.Name; 93this.mappingName = prop.Name; 387if (!typeof(IList).IsAssignableFrom(prop.PropertyType) && prop.Name.Equals(this.HeaderText))
winforms\Managed\System\WinForms\DataGridRelationshipRow.cs (1)
566errString = ((IDataErrorInfo) errInfo)[column.PropertyDescriptor.Name];
winforms\Managed\System\WinForms\DataGridTable.cs (4)
1403relationsList.Add(prop.Name); 1428relationsList.Add(prop.Name); 1437col.MappingName = prop.Name; 1438col.HeaderText = prop.Name;
winforms\Managed\System\WinForms\DataGridViewDataConnection.cs (9)
348if (String.Equals(column.DataPropertyName, sortField.Name, StringComparison.OrdinalIgnoreCase)) 388if (String.Compare(this.props[i].Name, dataPropertyName, true /*ignoreCase*/, CultureInfo.InvariantCulture) == 0) 419if (String.Compare(this.props[boundColumnIndex].Name, sortProperty.Name, true /*ignoreCase*/, CultureInfo.InvariantCulture) == 0) 715dataPropertyName = ((System.ComponentModel.MemberDescriptor)(e.PropertyDescriptor)).Name; 1041dataGridViewColumn.DataPropertyName = this.props[i].Name; 1042dataGridViewColumn.Name = this.props[i].Name; 1044dataGridViewColumn.HeaderText = !String.IsNullOrEmpty(this.props[i].DisplayName) ? this.props[i].DisplayName : this.props[i].Name; 1268return errInfo[this.props[boundColumnIndex].Name];
winforms\Managed\System\WinForms\ListControl.cs (2)
310if (props[i].Name.Equals(bindingMemberInfo.BindingField)) { 318if (String.Compare(props[i].Name, bindingMemberInfo.BindingField, true, CultureInfo.CurrentCulture) == 0) {
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (1)
1636Debug.Fail("Bad property '" + peParent.PropertyLabel + "." + pd.Name + "': " + w.ToString());
winforms\Managed\System\WinForms\PropertyGridInternal\ImmutablePropertyDescriptorGridEntry.cs (5)
62if (propertyInfo.Name != null && propertyInfo.Name.Equals(props[i].Name)) { 63values[props[i].Name] = value; 66values[props[i].Name] = props[i].GetValue(owner);
winforms\Managed\System\WinForms\PropertyGridInternal\MergePropertyDescriptor.cs (1)
42public MergePropertyDescriptor(PropertyDescriptor[] descriptors) : base(descriptors[0].Name, null) {
winforms\Managed\System\WinForms\PropertyGridInternal\MultiSelectRootGridEntry.cs (4)
285string entryName = basePd.Name + " " + basePd.PropertyType.FullName; 295string sortString = pd.Name + " " + pd.PropertyType.FullName; 338int result = String.Compare(a1.Name, a2.Name, false, CultureInfo.InvariantCulture);
winforms\Managed\System\WinForms\PropertyGridInternal\PropertiesTab.cs (1)
60if ("Name".Equals(props[i].Name)) {
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyDescriptorGridEntry.cs (4)
179helpKeyword = typeName + "." + propertyInfo.Name; 282return propertyInfo.Name; 651string text = (undoText == null ? SR.GetString(SR.PropertyGridSetValue, propertyInfo.Name) : undoText); 735eventDesc = TypeDescriptor.GetEvents(eventObj)[propertyInfo.Name];
System.Windows.Forms.DataVisualization (3)
Common\Converters\DataManagerConverters.cs (1)
225if (context.PropertyDescriptor != null && context.PropertyDescriptor.Name == "YValueMembers")
Common\General\Chart.cs (2)
581names.Add(pd.Name); 595names.Add(pd.Name);
System.Workflow.Activities (38)
Common\BasePropertyDescriptor.cs (5)
79baseType = basetypeProvider.GetPropertyType(serviceProvider, property.Name); 419return GetParameterPropertyName(this.componentType, base.Name); 422return base.Name; 663object key = DependencyProperty.FromName(this.RealPropertyDescriptor.Name, this.RealPropertyDescriptor.ComponentType); 667key = this.RealPropertyDescriptor.ComponentType.FullName + "." + this.RealPropertyDescriptor.Name;
Designers\EventSinkActivityDesigner.cs (5)
63if (e.Member.Name == "InterfaceType") 79else if ((e.Member.Name == "EventName") 85if (e.Member.Name == "InterfaceType" || e.Member.Name == "EventName" || e.Member.Name == "CorrelationToken")
Designers\InvokeMethodActivityDesigner.cs (5)
62if (e.Member.Name == "InterfaceType") 79if ((e.Member.Name == "MethodName") 83if (e.Member.Name == "InterfaceType" || e.Member.Name == "MethodName" || e.Member.Name == "CorrelationToken")
Designers\InvokeWebServiceDesigner.cs (5)
145if (e.Member.Name == "ProxyClass") 168if ((e.Member.Name == "MethodName" || e.Member.Name == "TargetWorkflow") 172if (e.Member.Name == "ProxyClass" || e.Member.Name == "MethodName")
Designers\WebServiceFaultDesigner.cs (1)
31if (e.Member.Name == "InputActivityName")
Designers\WebServiceReceiveDesigner.cs (4)
44if (e.Member.Name == "InterfaceType") 58else if (e.Member.Name == "MethodName") 65if (e.Member.Name == "InterfaceType" || e.Member.Name == "MethodName")
Designers\WebServiceResponseDesigner.cs (1)
43if (e.Member.Name == "InputActivityName")
EventSinkActivity.cs (2)
175if (context.PropertyDescriptor.Name == "EventName") 478properties[prop.Name] = prop;
InvokeMethodActivity.cs (2)
144if (context.PropertyDescriptor.Name == "MethodName") 277properties[prop.Name] = prop;
InvokeWebService.cs (3)
316if (context.PropertyDescriptor.Name == "ProxyClass") 331else if (context.PropertyDescriptor.Name == "MethodName") 410properties[prop.Name] = prop;
WebServiceFault.cs (1)
109if (context.PropertyDescriptor.Name == "InputActivityName")
WebServiceReceive.cs (2)
180if (context.PropertyDescriptor.Name == "MethodName") 465properties[prop.Name] = prop;
WebServiceResponse.cs (2)
103if (context.PropertyDescriptor.Name == "InputActivityName") 283properties[prop.Name] = prop;
System.Workflow.ComponentModel (52)
AuthoringOM\Behaviors\ExceptionHandlerDesigner.cs (1)
65if (e.Member != null && string.Equals(e.Member.Name, "FaultType", StringComparison.Ordinal))
AuthoringOM\Bind.cs (1)
906if (string.Equals(context.PropertyDescriptor.Name, "Path", StringComparison.Ordinal) && !String.IsNullOrEmpty(Name) && context.PropertyDescriptor is ActivityBindPathPropertyDescriptor)
AuthoringOM\Design\ActivityDesigner.cs (6)
1221handler = DesignerHelpers.CreateUniqueMethodName(Activity, eventDesc.Name, eventDesc.EventType); 1795if (e.Member != null && e.Member.Name != null && e.Member.Name.Equals("Name")) 2090handler = DesignerHelpers.CreateUniqueMethodName(Activity, propertyDescriptor.Name, rtType); 2141CustomProperty newCustomProperty = CustomProperty.CreateCustomProperty(Activity.Site, DesignerHelpers.GenerateUniqueIdentifier(Activity.Site, Activity.Name + "_" + propertyDescriptor.Name, customPropertyNames.ToArray()), propertyDescriptor, Activity); 2220propertyName = (propertyContext != null) ? propertyContext.PropertyDescriptor.Name : null;
AuthoringOM\Design\ComponentSerializationService.cs (5)
325PropertyInfo propertyInfo = XomlComponentSerializationService.GetProperty(obj.GetType(), (this.memberList[loop] as PropertyDescriptor).Name, BindingFlags.Public | BindingFlags.Instance); 516PropertyInfo propInfo = XomlComponentSerializationService.GetProperty(this.obj.GetType(), propDesc.Name, BindingFlags.Public | BindingFlags.Instance); 709if (propDesc.Name == propertyName) 720if (childDesc.Name == propertyName) 807return this.realPropDesc.Name;
AuthoringOM\Design\CustomActivityDesigner.cs (4)
338if (!propertyDescriptor.Name.Equals("BaseActivityType", StringComparison.Ordinal) && 339!propertyDescriptor.Name.Equals("Name", StringComparison.Ordinal) && 892throw new InvalidOperationException(SR.GetString(SR.Error_CantDeterminePropertyBaseType, propertyDescriptor.Name)); 902DependencyProperty dependencyProperty = DependencyProperty.FromName(propertyDescriptor.Name, propertyDescriptor.ComponentType);
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (4)
144this.Text = string.Format(CultureInfo.CurrentCulture, ActivityBindDialogTitleFormat, context.PropertyDescriptor.Name); 204this.memberNameTextBox.Text = DesignerHelpers.GenerateUniqueIdentifier(this.serviceProvider, activity.Name + "_" + context.PropertyDescriptor.Name, customPropertyNames.ToArray()); 262string propertyName = context.PropertyDescriptor.Name; 275PropertyValidationContext propertyValidationContext = new PropertyValidationContext(this.context.Instance, DependencyProperty.FromName(this.context.PropertyDescriptor.Name, this.context.Instance.GetType()));
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (2)
1561if (parameterData.ParameterType.Name == this.Name) 1572if (parameterData.ParameterType.Name == this.Name)
AuthoringOM\Design\DocumentOutline.cs (1)
384if (node != null && string.Equals(e.Member.Name, "Enabled", StringComparison.Ordinal))
AuthoringOM\Design\PropertyDescriptors.cs (10)
151if (!properties.ContainsKey(prop.Name)) 152properties.Add(prop.Name, prop); 170if (!props.Contains(property.Name)) 171props.Add(property.Name, property); 183if (string.Equals(propDesc.Name, "Name", StringComparison.Ordinal) && typeof(Activity).IsAssignableFrom(propDesc.ComponentType)) 327DependencyProperty dependencyProperty = DependencyProperty.FromName(Name, ComponentType); 349DependencyProperty dependencyProperty = DependencyProperty.FromName(Name, ComponentType); 431DependencyProperty dependencyProperty = DependencyProperty.FromName(context.PropertyDescriptor.Name, context.PropertyDescriptor.ComponentType); 667throw new InvalidOperationException(SR.GetString(SR.Error_PropertyTypeNotDefined, context.PropertyDescriptor.Name, typeof(ActivityBind).Name, typeof(IDynamicPropertyTypeProvider).Name)); 689DependencyProperty dependencyProperty = DependencyProperty.FromName(propertyDescriptor.Name, propertyDescriptor.ComponentType);
AuthoringOM\Design\ReferenceService.cs (1)
57CreateReferences(string.Format(CultureInfo.InvariantCulture, "{0}.{1}", new object[] { trailingName, property.Name }), property.GetValue(reference), sitedComponent);
AuthoringOM\Design\Themes.cs (2)
1414if (string.Equals(context.PropertyDescriptor.Name, "BorderStyle", StringComparison.Ordinal)) 3191if (string.Equals(context.PropertyDescriptor.Name, "GridStyle", StringComparison.Ordinal))
AuthoringOM\Design\UITypeEditors.cs (2)
160string message = SR.GetString(SR.Error_CanNotBindProperty, context.PropertyDescriptor.Name); 195string message = SR.GetString(SR.Error_CanNotBindProperty, context.PropertyDescriptor.Name);
AuthoringOM\Design\WorkflowInlining.cs (2)
405properties[prop.Name] = prop; 421if (string.Equals(e.Member.Name, "TargetWorkflow", StringComparison.Ordinal))
AuthoringOM\Design\XomlDesignerLoader.cs (3)
884fullAliasName = propDesc.Name + "." + aliasPropertyNameAttribute.Name; 896fullPropertyName = (fullPropertyName.Length > fullComponentName.Length) ? fullPropertyName.Substring(fullComponentName.Length + 1, fullPropertyName.Length - fullComponentName.Length - 1) + "." + propDesc.Name : string.Empty; 904if (actionPropertyName == propDesc.Name || (actionPropertyName == fullPropertyName) || (actionPropertyName == fullAliasName))
AuthoringOM\Serializer\ActivityCodeDomSerializationManager.cs (1)
171if (string.Equals(pd.Name, "SynchronizationHandles", StringComparison.Ordinal) && TypeProvider.IsAssignable(typeof(Activity), pd.ComponentType))
AuthoringOM\Serializer\DependencyObjectCodeDomSerializer.cs (2)
147string handler = WorkflowMarkupSerializationHelpers.GetEventHandlerName(dependencyObject, eventDesc.Name); 150CodeEventReferenceExpression eventRef = new CodeEventReferenceExpression(objectExpression, eventDesc.Name);
Shared\BasePropertyDescriptor.cs (5)
78baseType = basetypeProvider.GetPropertyType(serviceProvider, property.Name); 418return GetParameterPropertyName(this.componentType, base.Name); 421return base.Name; 662object key = DependencyProperty.FromName(this.RealPropertyDescriptor.Name, this.RealPropertyDescriptor.ComponentType); 666key = this.RealPropertyDescriptor.ComponentType.FullName + "." + this.RealPropertyDescriptor.Name;
System.Workflow.Runtime (1)
CorrelationToken.cs (1)
93if (string.Equals(context.PropertyDescriptor.Name, "OwnerActivityName", StringComparison.Ordinal))
System.WorkflowServices (6)
System\Workflow\Activities\ChannelToken.cs (1)
110if (string.Equals(context.PropertyDescriptor.Name, "OwnerActivityName", StringComparison.Ordinal))
System\Workflow\Activities\ContextToken.cs (1)
113if (string.Equals(context.PropertyDescriptor.Name, "OwnerActivityName", StringComparison.Ordinal))
System\Workflow\Activities\ReceiveActivity.cs (1)
804properties[prop.Name] = prop;
System\Workflow\Activities\ReceiveActivityDesigner.cs (1)
153if (e.Member != null && e.Member.Name == ReceiveActivity.ServiceOperationInfoProperty.Name)
System\Workflow\Activities\SendActivity.cs (1)
483properties[prop.Name] = prop;
System\Workflow\Activities\SendActivityDesigner.cs (1)
106if (e.Member != null && e.Member.Name == SendActivity.ServiceOperationInfoProperty.Name)
WindowsBase (6)
Base\MS\Internal\ComponentModel\DPCustomTypeDescriptor.cs (2)
303dp = DependencyProperty.FromName(prop.Name, _objectType); 335dp = DependencyProperty.FromName(prop.Name, _objectType);
Base\System\ComponentModel\DependencyPropertyDescriptor.cs (4)
109dpd = new DependencyPropertyDescriptor(property, property.Name, property.ComponentType, dp, isAttached); 336return Name; 583_property = TypeDescriptor.GetProperties(_componentType)[Name]; 594_property = TypeDescriptor.CreateProperty(_componentType, Name, _dp.PropertyType);