Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/16/11 12:50:55 (14 years ago)
Author:
epitzer
Message:

Add new keywords to avoid warnings during compilation (#1419)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Persistence/3.3/Default/Xml/EasyXmlGenerator.cs

    r5445 r5489  
    132132    /// <param name="o">The object.</param>
    133133    /// <param name="filename">The filename.</param>
    134     public static void Serialize(object o, string filename) {
     134    public new static void Serialize(object o, string filename) {
    135135      Serialize(o, filename, ConfigurationService.Instance.GetConfiguration(new XmlFormat()));
    136136    }
     
    143143    /// <param name="filename">The filename.</param>
    144144    /// <param name="config">The configuration.</param>
    145     public static void Serialize(object obj, string filename, Configuration config) {
     145    public new static void Serialize(object obj, string filename, Configuration config) {
    146146      try {
    147147        string tempfile = Path.GetTempFileName();
     
    167167    /// <param name="obj">The object.</param>
    168168    /// <param name="stream">The stream.</param>
    169     public static void Serialize(object obj, Stream stream) {
     169    public new static void Serialize(object obj, Stream stream) {
    170170      Serialize(obj, stream, ConfigurationService.Instance.GetConfiguration(new XmlFormat()));
    171171    }
     
    178178    /// <param name="stream">The stream.</param>
    179179    /// <param name="config">The configuration.</param>
    180     public static void Serialize(object obj, Stream stream, Configuration config) {
     180    public new static void Serialize(object obj, Stream stream, Configuration config) {
    181181      try {
    182182        using (StreamWriter writer = new StreamWriter(stream)) {
Note: See TracChangeset for help on using the changeset viewer.