Changeset 4696 for branches/CloningRefactoring/HeuristicLab/3.3/Tests
- Timestamp:
- 10/31/10 11:36:07 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/CloningRefactoring/HeuristicLab/3.3/Tests/StorableConstructorTest.cs
r4658 r4696 31 31 if (storableType.IsSealed && !storableConstructor.IsPrivate) 32 32 errorMessage.Append(Environment.NewLine + storableType.ToString() + ": Storable constructor must be private in sealed classes."); 33 else if (!storableType.IsSealed && ! storableConstructor.IsFamily)34 errorMessage.Append(Environment.NewLine + storableType.ToString() + ": Storable constructor must be protected .");33 else if (!storableType.IsSealed && !(storableConstructor.IsFamily || storableConstructor.IsPublic)) 34 errorMessage.Append(Environment.NewLine + storableType.ToString() + ": Storable constructor must be protected (can be public in rare cases)."); 35 35 } 36 36 }
Note: See TracChangeset
for help on using the changeset viewer.