13 references to CodeDomSerializerException
System.Windows.Forms.Design (11)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.ComponentListCodeDomSerializer.cs (3)
299
manager.ReportError(new
CodeDomSerializerException
(string.Format(SR.SerializerTypeNotFound, typeName), manager));
308
manager.ReportError(new
CodeDomSerializerException
(
395
manager.ReportError(new
CodeDomSerializerException
(string.Format(SR.CodeDomComponentSerializationServiceDeserializationError, name), manager));
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (1)
2764
manager.ReportError(new
CodeDomSerializerException
(string.Format(SR.SerializerUndeclaredName, variableReferenceEx.VariableName), manager));
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\TypeCodeDomSerializer.cs (2)
280
manager.ReportError(new
CodeDomSerializerException
(string.Format(SR.SerializerTypeNotFound, typeName), manager));
296
manager.ReportError(new
CodeDomSerializerException
(string.Format(SR.SerializerNoSerializerForComponent, type.FullName), manager));
System.Windows.Forms.Design.Tests (2)
System\ComponentModel\Design\Serialization\CodeDomSerializerExceptionTests.cs (2)
57
CodeDomSerializerException exception =
new
(message, manager);
83
Assert.Throws<ArgumentNullException>("manager", () => new
CodeDomSerializerException
("message", (IDesignerSerializationManager)null));