3 overrides of Name
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\MaskDescriptorTemplate.cs (1)
40
public override string
Name
{ get; }
System.Windows.Forms.Design.Tests (2)
System\Windows\Forms\Design\MaskDescriptorComparerTests.cs (1)
13
public override string?
Name
{ get; }
System\Windows\Forms\Design\MaskDescriptorTests.cs (1)
32
public override string?
Name
=> _name;
9 references to Name
System.Windows.Forms.Design (8)
System\Windows\Forms\Design\MaskDescriptor.cs (2)
69
if (string.IsNullOrEmpty(maskDescriptor.Mask) || string.IsNullOrEmpty(maskDescriptor.
Name
) || string.IsNullOrEmpty(maskDescriptor.Sample))
152
return $"{GetType()}<Name={
Name
?? "null"}, Mask={Mask ?? "null"}, ValidatingType={(ValidatingType is not null ? ValidatingType.ToString() : "null")}";
System\Windows\Forms\Design\MaskDescriptorComparer.cs (2)
47
textA = maskDescriptorA.
Name
;
48
textB = maskDescriptorB.
Name
;
System\Windows\Forms\Design\MaskDesignerDialog.cs (4)
344
Debug.Assert(maskDescriptor.
Name
is not null, "Mask descriptor should either be valid or equal to _customMaskDescriptor");
346
string maskDescriptorName = maskDescriptor.
Name
.Trim();
353
if (maskDescriptor.Equals(descriptor) || maskDescriptorName == descriptor.
Name
!.Trim())
520
_listViewCannedMasks.Items.Add(new ListViewItem([maskDescriptor.
Name
!, sample, validatingType]));
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\MaskDescriptorTemplateTests.cs (1)
31
descriptor.
Name
.Should().Be(name);