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