4 writes to PropertyName
System.CodeDom (1)
System\CodeDom\CodePropertyReferenceExpression.cs (1)
15PropertyName = propertyName;
System.Windows.Forms.Design (3)
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (3)
595PropertyName = fieldReferenceEx.FieldName 824PropertyName = fieldReferenceEx.FieldName 2212propertyRef.PropertyName = property.Name;
16 references to PropertyName
System.CodeDom (5)
Microsoft\CSharp\CSharpCodeGenerator.cs (1)
1724OutputIdentifier(e.PropertyName);
Microsoft\VisualBasic\VBCodeGenerator.cs (2)
1866Output.Write(e.PropertyName); 1870OutputIdentifier(e.PropertyName);
System\CodeDom\Compiler\CodeValidator.cs (2)
924ValidateIdentifier(e, nameof(e.PropertyName), e.PropertyName);
System.Windows.Forms.Design (10)
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (9)
1499PropertyDescriptor? prop = GetPropertiesHelper(manager, target, null)[propertyReferenceEx.PropertyName]; 1511PropertyInfo? propInfo = GetReflectionTypeHelper(manager, target).GetProperty(propertyReferenceEx.PropertyName, BindingFlags.GetProperty | BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic); 1521PropertyInfo? prop = GetReflectionTypeFromTypeHelper(manager, targetAsType).GetProperty(propertyReferenceEx.PropertyName, BindingFlags.GetProperty | BindingFlags.Static | BindingFlags.Public); 1531Error(manager, string.Format(SR.SerializerNoSuchProperty, typeName, propertyReferenceEx.PropertyName), SR.SerializerNoSuchProperty); 1548PropertyDescriptor? p = properties[propertyReferenceEx.PropertyName]; 1589PropertyDescriptor? rhsProp = GetPropertiesHelper(manager, rhsPropTarget, null)[rhsPropRef.PropertyName]; 1631Error(manager, string.Format(SR.SerializerNoSuchProperty, lhs.GetType().FullName, propertyReferenceEx.PropertyName), SR.SerializerNoSuchProperty); 2724if (propertyReferenceEx.TargetObject is CodeThisReferenceExpression && (names is null || names.ContainsKey(propertyReferenceEx.PropertyName))) 2726AddStatement(table, propertyReferenceEx.PropertyName, statement);
System\ComponentModel\Design\Serialization\ResourceCodeDomSerializer.SerializationResourceManager.cs (1)
744expressionName = codeProperty.PropertyName;
System.Windows.Forms.Design.Tests (1)
CodeDomHelpers.cs (1)
82return $"new CodePropertyReferenceExpression({GetConstructionString(cpre.TargetObject)}, {GetString(cpre.PropertyName)})";