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)
145IList errors = manager.Errors; 147Assert.Same(errors, manager.Errors); 156Assert.Empty(manager.Errors); 158Assert.Throws<InvalidOperationException>(() => manager.Errors); 165Assert.Throws<InvalidOperationException>(() => manager.Errors); 539IList errors1 = manager.Errors; 541Assert.Same(errors1, manager.Errors); 549IList errors2 = manager.Errors; 551Assert.Same(errors2, manager.Errors); 1720IList errors1 = manager.Errors; 1722Assert.Same(errors1, manager.Errors); 1730IList errors2 = manager.Errors; 1732Assert.Same(errors2, manager.Errors); 1890Assert.Same(errorInformation, Assert.Single(manager.Errors)); 1900Assert.Empty(manager.Errors);