diff --git a/src/Elastic.Transport/Responses/TransportResponse.cs b/src/Elastic.Transport/Responses/TransportResponse.cs index 4e7f4a8..d7ad7bd 100644 --- a/src/Elastic.Transport/Responses/TransportResponse.cs +++ b/src/Elastic.Transport/Responses/TransportResponse.cs @@ -46,7 +46,7 @@ public override string ToString() => ApiCallDetails?.DebugInformation /// StreamResponse and kept internal. If we later make this public, we might need to refine this. /// [JsonIgnore] - internal IEnumerable? LinkedDisposables { get; set; } + protected internal IEnumerable? LinkedDisposables { get; internal set; } /// /// Allows the response to identify that the response stream should NOT be automatically disposed. @@ -55,6 +55,6 @@ public override string ToString() => ApiCallDetails?.DebugInformation /// Currently only used by StreamResponse and therefore internal. /// [JsonIgnore] - internal virtual bool LeaveOpen { get; } = false; + protected internal virtual bool LeaveOpen { get; } = false; }