Skip to content

Commit

Permalink
trivial inline.
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusfriedman committed Nov 21, 2023
1 parent 8e57440 commit ddb757a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Sdp/SessionDescriptionLine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -404,10 +404,8 @@ public SessionDescriptionLine(string[] sdpLines, int index, string seperator, ch

#region Overrides

public override int GetHashCode()
{
return HashCode.Combine(m_Type, m_Parts.GetHashCode());
}
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]
public override int GetHashCode() => HashCode.Combine(m_Type, m_Parts.GetHashCode());

[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]
public bool Equals(SessionDescriptionLine other)
Expand Down

0 comments on commit ddb757a

Please sign in to comment.