Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions QuickFIXn/DataDictionary/InvalidMessageTypeException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ namespace QuickFix.DataDictionary;
[Obsolete("This class will be removed in 1.16 (because it's unused)")]
public class InvalidMessageTypeException : ApplicationException
{
[Obsolete("This class will be removed in a future release (because it's unused)")]
[Obsolete("This class will be removed in 1.16 (because it's unused)")]
public InvalidMessageTypeException() { }

[Obsolete("This class will be removed in a future release (because it's unused)")]
[Obsolete("This class will be removed in 1.16 (because it's unused)")]
public InvalidMessageTypeException(string message)
: base(message) { }

[Obsolete("This class will be removed in a future release (because it's unused)")]
[Obsolete("This class will be removed in 1.16 (because it's unused)")]
public InvalidMessageTypeException(string message, System.Exception inner)
: base(message, inner) { }
}
8 changes: 4 additions & 4 deletions QuickFIXn/DataDictionary/MissingRequiredFieldException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ namespace QuickFix.DataDictionary;
[Obsolete("This class will be removed in 1.16 (because it's unused)")]
public sealed class MissingRequiredFieldException : ApplicationException
{
[Obsolete("This class will be removed in a future release (because it's unused)")]
[Obsolete("This class will be removed in 1.16 (because it's unused)")]
public MissingRequiredFieldException() { }

[Obsolete("This class will be removed in a future release (because it's unused)")]
[Obsolete("This class will be removed in 1.16 (because it's unused)")]
public MissingRequiredFieldException(int field)
: base($"Missing required field: {field}") { }

[Obsolete("This class will be removed in a future release (because it's unused)")]
[Obsolete("This class will be removed in 1.16 (because it's unused)")]
public MissingRequiredFieldException(string message)
: base(message) { }

[Obsolete("This class will be removed in a future release (because it's unused)")]
[Obsolete("This class will be removed in 1.16 (because it's unused)")]
public MissingRequiredFieldException(string message, System.Exception inner)
: base(message, inner) { }
}
12 changes: 6 additions & 6 deletions QuickFIXn/Fields/FieldBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -147,13 +147,13 @@ private void MakeStringFields()
_changed = false;
}

[Obsolete("Use capitalized ToStringField() instead")]
[Obsolete("Use capitalized ToStringField() instead. This function will be removed in 1.16.")]
public string toStringField() { return ToStringField(); }
[Obsolete("Use capitalized GetLength() instead")]
[Obsolete("Use capitalized GetLength() instead. This function will be removed in 1.16.")]
public int getLength() { return GetLength(); }
[Obsolete("Use capitalized GetTotal() instead")]
[Obsolete("Use capitalized GetTotal() instead. This function will be removed in 1.16.")]
public int getTotal() { return GetTotal(); }
[Obsolete("Renamed to 'Value'")]
[Obsolete("Renamed to 'Value'. This attribute name will be removed in 1.16.")]
public T Obj
{
get => _value;
Expand All @@ -163,9 +163,9 @@ public T Obj
_changed = true;
}
}
[Obsolete("Use Value getter property")]
[Obsolete("Use Value getter property. This function will be removed in 1.16.")]
public T getValue() { return Value; }
[Obsolete("Use Value setter property")]
[Obsolete("Use Value setter property. This function will be removed in 1.16.")]
public void setValue(T v) { Value = v; }
}

6 changes: 3 additions & 3 deletions QuickFIXn/Fields/IField.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ public interface IField
/// </summary>
public int GetTotal();

[Obsolete("Use capitalized ToStringField() instead")]
[Obsolete("Use capitalized ToStringField() instead. This function will be removed in 1.16.")]
public string toStringField();
[Obsolete("Use capitalized GetLength() instead")]
[Obsolete("Use capitalized GetLength() instead. This function will be removed in 1.16.")]
public int getLength();
[Obsolete("Use capitalized GetTotal() instead")]
[Obsolete("Use capitalized GetTotal() instead. This function will be removed in 1.16.")]
public int getTotal();
}
}
3 changes: 1 addition & 2 deletions QuickFIXn/Message/Group.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using QuickFix.ObjectPooling;
using System;
using System.Text;

namespace QuickFix
{
Expand Down Expand Up @@ -55,7 +54,7 @@ public virtual Group Clone()
/// </summary>
public int CounterField { get; }

[Obsolete("Use CounterField instead")]
[Obsolete("Use CounterField instead. This will be removed in 1.16.")]
public int Field => CounterField;

/// <summary>
Expand Down
Loading