9 writes to Name
System.Web (9)
UI\ControlBuilder.cs (8)
795
entry.
Name
= objectModelName;
840
entry.
Name
= name;
897
entry.
Name
= objectModelName;
990
entry.
Name
= objectModelName;
1011
entry.
Name
= name;
1120
entry.
Name
= name;
1154
entry.
Name
= objectModelName;
3047
entry.
Name
= "resourcekey";
UI\Page.cs (1)
120
entry.
Name
= contentBuilder.ContentPlaceHolder;
51 references to Name
System.Web (51)
Compilation\BaseTemplateCodeDomTreeGenerator.cs (11)
353
set.Left = new CodePropertyReferenceExpression(ctrlRefExpr, pseSub.
Name
);
356
set.Left = new CodeFieldReferenceExpression(ctrlRefExpr, pseSub.
Name
);
755
Debug.Assert(pseSub.
Name
.IndexOf('.') < 0, "pseSub._name.IndexOf('.') < 0");
756
leftExpr = new CodePropertyReferenceExpression(ctrlRefExpr, pseSub.
Name
);
782
refExpr.TargetObject = new CodePropertyReferenceExpression(ctrlRefExpr, pseSub.
Name
);
794
methCallExpression.Parameters.Add(new CodePropertyReferenceExpression(ctrlRefExpr, pseSub.
Name
));
830
set.Left = new CodePropertyReferenceExpression(ctrlRefExpr, pseSub.
Name
);
1093
CodeExpression controlPropertyExpression = CodeDomUtility.BuildPropertyReferenceExpression(new CodeVariableReferenceExpression(entry.ControlID), entry.
Name
);
1414
entry.
Name
, entry.Type, builder, topStatements, currentStmts, linePragma, entry.IsEncoded, ref hasTempObject);
1747
bool sameAsPrevious = (previous != null) && StringUtil.EqualsIgnoreCase(previous.
Name
, current.
Name
);
Compilation\DataBindingExpressionBuilder.cs (1)
143
BuildPropertySetExpression(expr, bpe.
Name
, bpe.Type, controlBuilder, methodStatements, statements, linePragma, isEncoded, ref hasTempObject);
Compilation\ExpressionBuilder.cs (1)
34
controlReference, bpe.
Name
, bpe.Type,
Compilation\RouteValueExpressionBuilder.cs (2)
36
new CodePrimitiveExpression(entry.
Name
)
48
return GetRouteValue(context.TemplateControl.Page, entry.Expression.Trim(), entry.ControlType, entry.
Name
);
UI\BindableTemplateBuilder.cs (1)
112
object targetObject = PropertyMapper.LocatePropertyObject(control, entry.
Name
, out propertyName, InDesigner);
UI\ControlBuilder.cs (22)
144
where simplePropertyEntry != null && simplePropertyEntry.
Name
.Equals(ItemTypeProperty, StringComparison.OrdinalIgnoreCase)
754
if (String.Equals(bpe.
Name
, entry.
Name
, StringComparison.OrdinalIgnoreCase) &&
756
string fullPropertyName = entry.
Name
;
936
if (String.Equals(entry.
Name
, "ID", StringComparison.OrdinalIgnoreCase) &&
1822
if (!filteredEntries.Contains(entry.
Name
)) {
1826
filteredEntries[entry.
Name
] = entry;
1835
filteredEntries[entry.
Name
] = entry;
2156
((IAttributeAccessor)obj).SetAttribute(entry.
Name
, entry.Value.ToString());
2160
PropertyMapper.SetMappedPropertyValue(obj, entry.
Name
, entry.Value, InDesigner);
2163
throw new HttpException(SR.GetString(SR.Cannot_set_property, entry.PersistedValue, entry.
Name
), e);
2217
object objectValue = FastPropertyAccessor.GetProperty(obj, entry.
Name
, InDesigner);
2235
throw new HttpException(SR.GetString(SR.Cannot_init, entry.
Name
, e.Message), e);
2253
FastPropertyAccessor.SetProperty(obj, entry.
Name
, objectValue, InDesigner);
2256
throw new HttpException(SR.GetString(SR.Cannot_set_property, TagName, entry.
Name
), e);
2302
dataBindings.Add(new DataBinding(entry.
Name
, entry.Type, entry.Expression.Trim()));
2307
((IExpressionsAccessor)obj).Expressions.Add(new ExpressionBinding(entry.
Name
, entry.Type, expressionPrefix, expression, entry.Generated, entry.ParsedExpressionData));
2317
string name = entry.
Name
;
2427
MemberInfo memberInfo = PropertyMapper.GetMemberInfo(entry.ControlType, entry.
Name
, out objectModelName);
2485
throw new HttpException(SR.GetString(SR.Cannot_set_property, TagName, entry.
Name
), e);
2990
object o = dictionary[entry.
Name
];
2996
dictionary.Add(entry.
Name
, index++);
UI\ObjectPersistData.cs (5)
146
Debug.Assert((entry.
Name
!= null) && (entry.
Name
.Length > 0));
147
filteredProperties[entry.
Name
] = entry;
149
ArrayList properties = (ArrayList)_propertyTableByProperty[entry.
Name
];
152
_propertyTableByProperty[entry.
Name
] = properties;
UI\SimplePropertyEntry.cs (4)
72
methCallExpression.Parameters.Add(new CodePrimitiveExpression(
Name
));
80
leftExpr = CodeDomUtility.BuildPropertyReferenceExpression(ctrlRefExpr,
Name
);
84
Debug.Assert(
Name
.IndexOf('.') < 0, "_name.IndexOf('.') < 0");
85
leftExpr = new CodeFieldReferenceExpression(ctrlRefExpr,
Name
);
UI\SkinBuilder.cs (4)
53
object originalValue = FastPropertyAccessor.GetProperty(control, entry.
Name
, InDesigner);
84
string propertyName = entry.
Name
;
127
string propertyName = PropertyMapper.MapNameToPropertyName(entry.
Name
);
184
dataBindings.Add(new DataBinding(entry.
Name
, entry.Type, entry.Expression.Trim()));