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