Skip to content

Commit

Permalink
Deprecate a function that calls a deprecated overload of itself TryFi…
Browse files Browse the repository at this point in the history
…ndFieldValue
  • Loading branch information
ekolis committed Sep 28, 2024
1 parent 2111224 commit 81c4d0c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions FrEee.Core.Domain/Modding/Record.cs
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ public override string ToString()
/// <param name="startIndex">Where to start in the field list.</param>
/// <param name="allowSkip">Allow skipping fields to find the one we want?</param>
/// <returns>true on success, false on failure</returns>
[Obsolete("Use the various Get methods instead (e.g. GetString).")]
public bool TryFindFieldValue(string fieldName, out string value, ref int index, ICollection<DataParsingException> log = null, int startIndex = 0, bool allowSkip = true)
{
return TryFindFieldValue(new string[] { fieldName }, out value, ref index, log, startIndex, allowSkip);
Expand Down

0 comments on commit 81c4d0c

Please sign in to comment.