/// <summary>
        ///     Deletes all comments in this section and key/value pairs
        /// </summary>
        public void ClearComments()
        {
#pragma warning disable CS0618 // Typ oder Element ist veraltet
            LeadingComments.Clear();
#pragma warning restore CS0618 // Typ oder Element ist veraltet
#pragma warning disable CS0618 // Typ oder Element ist veraltet
            TrailingComments.Clear();
#pragma warning restore CS0618 // Typ oder Element ist veraltet
            Keys.ClearComments();
        }
Example #2
0
        /// <summary>
        ///     Deletes all comments in this section and key/value pairs
        /// </summary>
        public void ClearComments()
        {
#pragma warning disable CS0618 // Type or member is obsolete
            LeadingComments.Clear();
#pragma warning restore CS0618 // Type or member is obsolete
#pragma warning disable CS0618 // Type or member is obsolete
            TrailingComments.Clear();
#pragma warning restore CS0618 // Type or member is obsolete
            Keys.ClearComments();
        }
Example #3
0
 /// <summary>
 ///     Deletes all comments in this section and key/value pairs
 /// </summary>
 public void ClearComments()
 {
     LeadingComments.Clear();
     TrailingComments.Clear();
     Keys.ClearComments();
 }