25 references to Errors
System.Windows.Forms.Design (10)
System\ComponentModel\Design\Serialization\BasicDesignerLoader.cs (7)
316
_serializationManager.
Errors
.Add(ex);
319
ICollection errors = _serializationManager.
Errors
;
629
&& (_serializationManager!.
Errors
is null
630
|| _serializationManager.
Errors
.Count == 0);
657
_serializationManager!.
Errors
!.Add(err);
661
errors = _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)
901
Errors
.Add(errorInformation);
System.Windows.Forms.Design.Tests (15)
System\ComponentModel\Design\Serialization\DesignerSerializationManagerTests.cs (15)
145
IList errors = manager.
Errors
;
147
Assert.Same(errors, manager.
Errors
);
156
Assert.Empty(manager.
Errors
);
158
Assert.Throws<InvalidOperationException>(() => manager.
Errors
);
165
Assert.Throws<InvalidOperationException>(() => manager.
Errors
);
539
IList errors1 = manager.
Errors
;
541
Assert.Same(errors1, manager.
Errors
);
549
IList errors2 = manager.
Errors
;
551
Assert.Same(errors2, manager.
Errors
);
1720
IList errors1 = manager.
Errors
;
1722
Assert.Same(errors1, manager.
Errors
);
1730
IList errors2 = manager.
Errors
;
1732
Assert.Same(errors2, manager.
Errors
);
1890
Assert.Same(errorInformation, Assert.Single(manager.
Errors
));
1900
Assert.Empty(manager.
Errors
);