2 implementations of ReportError
System.Windows.Forms.Design (2)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.PassThroughSerializationManager.cs (1)
98
void IDesignerSerializationManager.
ReportError
(object errorInformation)
System\ComponentModel\Design\Serialization\DesignerSerializationManager.cs (1)
896
void IDesignerSerializationManager.
ReportError
(object errorInformation)
27 references to ReportError
System.Windows.Forms.Design (22)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.ComponentListCodeDomSerializer.cs (4)
299
manager.
ReportError
(new CodeDomSerializerException(string.Format(SR.SerializerTypeNotFound, typeName), manager));
308
manager.
ReportError
(new CodeDomSerializerException(
324
manager.
ReportError
(ex);
395
manager.
ReportError
(new CodeDomSerializerException(string.Format(SR.CodeDomComponentSerializationServiceDeserializationError, name), manager));
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.PassThroughSerializationManager.cs (1)
100
((IDesignerSerializationManager)Manager).
ReportError
(errorInformation);
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (6)
392
manager.
ReportError
(e);
461
manager.
ReportError
(e);
984
manager.
ReportError
(ex);
2417
manager.
ReportError
(string.Format(SR.SerializerLostStatements, valueName));
2423
manager.
ReportError
(string.Format(SR.SerializerNoSerializerForComponent, value is null ? "(null)" : value.GetType().FullName));
2764
manager.
ReportError
(new CodeDomSerializerException(string.Format(SR.SerializerUndeclaredName, variableReferenceEx.VariableName), manager));
System\ComponentModel\Design\Serialization\CollectionCodeDomSerializer.cs (1)
392
manager.
ReportError
(string.Format(SR.SerializerInvalidArrayRank, array.Rank.ToString(CultureInfo.InvariantCulture)));
System\ComponentModel\Design\Serialization\ComponentCodeDomSerializer.cs (1)
492
manager.
ReportError
(ex);
System\ComponentModel\Design\Serialization\EventMemberCodeDomSerializer.cs (1)
69
manager.
ReportError
(new CodeDomSerializerException(string.Format(SR.SerializerPropertyGenFailed, eventToSerialize.Name, e.Message), manager));
System\ComponentModel\Design\Serialization\PropertyMemberCodeDomSerializer.cs (4)
57
manager.
ReportError
(new CodeDomSerializerException(string.Format(SR.SerializerPropertyGenFailed, property.Name, e.Message), manager));
123
manager.
ReportError
(new CodeDomSerializerException(string.Format(SR.SerializerPropertyGenFailed, propertyToSerialize.Name, e.Message), manager));
141
manager.
ReportError
(new CodeDomSerializerException(string.Format(SR.SerializerNullNestedProperty, name, property.Name), manager));
217
manager.
ReportError
(new CodeDomSerializerException(string.Format(SR.SerializerNoSerializerForComponent, property.PropertyType.FullName), manager));
System\ComponentModel\Design\Serialization\ResourceCodeDomSerializer.SerializationResourceManager.cs (1)
265
_manager.
ReportError
(se);
System\ComponentModel\Design\Serialization\TypeCodeDomSerializer.cs (3)
280
manager.
ReportError
(new CodeDomSerializerException(string.Format(SR.SerializerTypeNotFound, typeName), manager));
296
manager.
ReportError
(new CodeDomSerializerException(string.Format(SR.SerializerNoSerializerForComponent, type.FullName), manager));
320
manager.
ReportError
(ex);
System.Windows.Forms.Design.Tests (5)
System\ComponentModel\Design\Serialization\DesignerSerializationManagerTests.cs (5)
542
iManager.
ReportError
(errorInformation);
1723
iManager.
ReportError
(errorInformation);
1888
iManager.
ReportError
(errorInformation);
1898
iManager.
ReportError
(null);
1907
Assert.Throws<InvalidOperationException>(() => iManager.
ReportError
(null));