1 write to OtherProperty
System.ComponentModel.Annotations (1)
System\ComponentModel\DataAnnotations\CompareAttribute.cs (1)
19OtherProperty = otherProperty;
11 references to OtherProperty
Microsoft.AspNetCore.Components.Endpoints (1)
Forms\DataAnnotationsClientValidationProvider.cs (1)
173writer.Param("other"u8, "*." + ca.OtherProperty);
Microsoft.AspNetCore.Mvc.DataAnnotations (4)
CompareAttributeAdapter.cs (4)
19_otherProperty = "*." + attribute.OtherProperty; 53: base(attribute.OtherProperty) 90attribute.OtherProperty); 97return attribute.OtherProperty;
System.ComponentModel.Annotations (6)
System\ComponentModel\DataAnnotations\CompareAttribute.cs (6)
34/// <see cref="OtherPropertyDisplayName" />, or <see cref="OtherProperty" /> when no display name is available. 39CultureInfo.CurrentCulture, format, name, OtherPropertyDisplayName ?? OtherProperty); 48var otherPropertyInfo = validationContext.ObjectType.GetRuntimeProperty(OtherProperty); 51return new ValidationResult(SR.Format(SR.CompareAttribute_UnknownProperty, OtherProperty)); 55throw new ArgumentException(SR.Format(SR.Common_PropertyNotFound, validationContext.ObjectType.FullName, OtherProperty)); 83return OtherProperty;