25 references to Errors
System.Windows.Forms.Design (10)
System\ComponentModel\Design\Serialization\BasicDesignerLoader.cs (7)
316_serializationManager.Errors.Add(ex); 319ICollection errors = _serializationManager.Errors; 629&& (_serializationManager!.Errors is null 630|| _serializationManager.Errors.Count == 0); 657_serializationManager!.Errors!.Add(err); 661errors = _serializationManager!.Errors; 950_serializationManager!.Errors.Add(err);
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.cs (2)
155_errors = manager.Errors; 272_errors = delegator.Manager.Errors;
System\ComponentModel\Design\Serialization\DesignerSerializationManager.cs (1)
901Errors.Add(errorInformation);
System.Windows.Forms.Design.Tests (15)
System\ComponentModel\Design\Serialization\DesignerSerializationManagerTests.cs (15)
144IList errors = manager.Errors; 146Assert.Same(errors, manager.Errors); 155Assert.Empty(manager.Errors); 157Assert.Throws<InvalidOperationException>(() => manager.Errors); 164Assert.Throws<InvalidOperationException>(() => manager.Errors); 538IList errors1 = manager.Errors; 540Assert.Same(errors1, manager.Errors); 548IList errors2 = manager.Errors; 550Assert.Same(errors2, manager.Errors); 1719IList errors1 = manager.Errors; 1721Assert.Same(errors1, manager.Errors); 1729IList errors2 = manager.Errors; 1731Assert.Same(errors2, manager.Errors); 1889Assert.Same(errorInformation, Assert.Single(manager.Errors)); 1899Assert.Empty(manager.Errors);