Skip to content

Commit c8f6047

Browse files
committed
Better names
1 parent 9ed9935 commit c8f6047

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+1530
-1530
lines changed

Provider/src/FirebirdSql.Data.FirebirdClient/Client/ClientFactory.cs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,37 +26,37 @@ namespace FirebirdSql.Data.Client
2626
{
2727
internal static class ClientFactory
2828
{
29-
public static async ValueTask<DatabaseBase> CreateDatabase(ConnectionString options, AsyncWrappingCommonArgs async)
29+
public static async ValueTask<DatabaseBase> CreateDatabaseAsync(ConnectionString options, AsyncWrappingCommonArgs async)
3030
{
3131
return options.ServerType switch
3232
{
33-
FbServerType.Default => await CreateManagedDatabase(options, async).ConfigureAwait(false),
33+
FbServerType.Default => await CreateManagedDatabaseAsync(options, async).ConfigureAwait(false),
3434
FbServerType.Embedded => new Native.FesDatabase(options.ClientLibrary, Charset.GetCharset(options.Charset)),
3535
_ => throw IncorrectServerTypeException(),
3636
};
3737
}
3838

39-
public static async ValueTask<ServiceManagerBase> CreateServiceManager(ConnectionString options, AsyncWrappingCommonArgs async)
39+
public static async ValueTask<ServiceManagerBase> CreateServiceManagerAsync(ConnectionString options, AsyncWrappingCommonArgs async)
4040
{
4141
return options.ServerType switch
4242
{
43-
FbServerType.Default => await CreateManagedServiceManager(options, async).ConfigureAwait(false),
43+
FbServerType.Default => await CreateManagedServiceManagerAsync(options, async).ConfigureAwait(false),
4444
FbServerType.Embedded => new Native.FesServiceManager(options.ClientLibrary, Charset.GetCharset(options.Charset)),
4545
_ => throw IncorrectServerTypeException(),
4646
};
4747
}
4848

49-
private static async ValueTask<DatabaseBase> CreateManagedDatabase(ConnectionString options, AsyncWrappingCommonArgs async)
49+
private static async ValueTask<DatabaseBase> CreateManagedDatabaseAsync(ConnectionString options, AsyncWrappingCommonArgs async)
5050
{
5151
var connection = new GdsConnection(options.UserID, options.Password, options.DataSource, options.Port, options.ConnectionTimeout, options.PacketSize, Charset.GetCharset(options.Charset), options.Compression, FbWireCryptToWireCryptOption(options.WireCrypt));
52-
await connection.Connect(async).ConfigureAwait(false);
52+
await connection.ConnectAsync(async).ConfigureAwait(false);
5353
try
5454
{
55-
await connection.Identify(options.Database, async).ConfigureAwait(false);
55+
await connection.IdentifyAsync(options.Database, async).ConfigureAwait(false);
5656
}
5757
catch
5858
{
59-
await connection.Disconnect(async).ConfigureAwait(false);
59+
await connection.DisconnectAsync(async).ConfigureAwait(false);
6060
throw;
6161
}
6262
return connection.ProtocolVersion switch
@@ -69,17 +69,17 @@ private static async ValueTask<DatabaseBase> CreateManagedDatabase(ConnectionStr
6969
};
7070
}
7171

72-
private static async ValueTask<ServiceManagerBase> CreateManagedServiceManager(ConnectionString options, AsyncWrappingCommonArgs async)
72+
private static async ValueTask<ServiceManagerBase> CreateManagedServiceManagerAsync(ConnectionString options, AsyncWrappingCommonArgs async)
7373
{
7474
var connection = new GdsConnection(options.UserID, options.Password, options.DataSource, options.Port, options.ConnectionTimeout, options.PacketSize, Charset.GetCharset(options.Charset), options.Compression, FbWireCryptToWireCryptOption(options.WireCrypt));
75-
await connection.Connect(async).ConfigureAwait(false);
75+
await connection.ConnectAsync(async).ConfigureAwait(false);
7676
try
7777
{
78-
await connection.Identify(!string.IsNullOrEmpty(options.Database) ? options.Database : string.Empty, async).ConfigureAwait(false);
78+
await connection.IdentifyAsync(!string.IsNullOrEmpty(options.Database) ? options.Database : string.Empty, async).ConfigureAwait(false);
7979
}
8080
catch
8181
{
82-
await connection.Disconnect(async).ConfigureAwait(false);
82+
await connection.DisconnectAsync(async).ConfigureAwait(false);
8383
throw;
8484
}
8585
return connection.ProtocolVersion switch

Provider/src/FirebirdSql.Data.FirebirdClient/Client/Managed/AuthBlock.cs

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -123,20 +123,20 @@ public byte[] UserIdentificationData()
123123
}
124124
}
125125

126-
public async ValueTask SendContAuthToBuffer(IXdrWriter xdr, AsyncWrappingCommonArgs async)
126+
public async ValueTask SendContAuthToBufferAsync(IXdrWriter xdr, AsyncWrappingCommonArgs async)
127127
{
128-
await xdr.Write(IscCodes.op_cont_auth, async).ConfigureAwait(false);
129-
await xdr.WriteBuffer(ClientData, async).ConfigureAwait(false); // p_data
130-
await xdr.Write(AcceptPluginName, async).ConfigureAwait(false); // p_name
131-
await xdr.Write(AcceptPluginName, async).ConfigureAwait(false); // p_list
132-
await xdr.WriteBuffer(ServerKeys, async).ConfigureAwait(false); // p_keys
128+
await xdr.WriteAsync(IscCodes.op_cont_auth, async).ConfigureAwait(false);
129+
await xdr.WriteBufferAsync(ClientData, async).ConfigureAwait(false); // p_data
130+
await xdr.WriteAsync(AcceptPluginName, async).ConfigureAwait(false); // p_name
131+
await xdr.WriteAsync(AcceptPluginName, async).ConfigureAwait(false); // p_list
132+
await xdr.WriteBufferAsync(ServerKeys, async).ConfigureAwait(false); // p_keys
133133
}
134134

135135
// TODO: maybe more logic can be pulled up here
136-
public async ValueTask<IResponse> ProcessContAuthResponse(IXdrReader xdr, AsyncWrappingCommonArgs async)
136+
public async ValueTask<IResponse> ProcessContAuthResponseAsync(IXdrReader xdr, AsyncWrappingCommonArgs async)
137137
{
138-
var operation = await xdr.ReadOperation(async).ConfigureAwait(false);
139-
var response = await GdsConnection.ProcessOperation(operation, xdr, async).ConfigureAwait(false);
138+
var operation = await xdr.ReadOperationAsync(async).ConfigureAwait(false);
139+
var response = await GdsConnection.ProcessOperationAsync(operation, xdr, async).ConfigureAwait(false);
140140
GdsConnection.ProcessResponse(response);
141141
if (response is ContAuthResponse)
142142
{
@@ -158,25 +158,25 @@ public async ValueTask<IResponse> ProcessContAuthResponse(IXdrReader xdr, AsyncW
158158
return response;
159159
}
160160

161-
public async ValueTask SendWireCryptToBuffer(IXdrWriter xdr, AsyncWrappingCommonArgs async)
161+
public async ValueTask SendWireCryptToBufferAsync(IXdrWriter xdr, AsyncWrappingCommonArgs async)
162162
{
163163
if (WireCrypt == WireCryptOption.Disabled)
164164
return;
165165

166-
await xdr.Write(IscCodes.op_crypt, async).ConfigureAwait(false);
167-
await xdr.Write(FirebirdNetworkHandlingWrapper.EncryptionName, async).ConfigureAwait(false);
168-
await xdr.Write(SessionKeyName, async).ConfigureAwait(false);
166+
await xdr.WriteAsync(IscCodes.op_crypt, async).ConfigureAwait(false);
167+
await xdr.WriteAsync(FirebirdNetworkHandlingWrapper.EncryptionName, async).ConfigureAwait(false);
168+
await xdr.WriteAsync(SessionKeyName, async).ConfigureAwait(false);
169169
}
170170

171-
public async ValueTask ProcessWireCryptResponse(IXdrReader xdr, GdsConnection connection, AsyncWrappingCommonArgs async)
171+
public async ValueTask ProcessWireCryptResponseAsync(IXdrReader xdr, GdsConnection connection, AsyncWrappingCommonArgs async)
172172
{
173173
if (WireCrypt == WireCryptOption.Disabled)
174174
return;
175175

176176
// after writing before reading
177177
connection.StartEncryption();
178178

179-
var response = await GdsConnection.ProcessOperation(await xdr.ReadOperation(async).ConfigureAwait(false), xdr, async).ConfigureAwait(false);
179+
var response = await GdsConnection.ProcessOperationAsync(await xdr.ReadOperationAsync(async).ConfigureAwait(false), xdr, async).ConfigureAwait(false);
180180
GdsConnection.ProcessResponse(response);
181181

182182
WireCryptInitialized = true;

Provider/src/FirebirdSql.Data.FirebirdClient/Client/Managed/DataProviderStreamWrapper.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ public DataProviderStreamWrapper(Stream stream)
3030
_stream = stream;
3131
}
3232

33-
public async ValueTask<int> Read(byte[] buffer, int offset, int count, AsyncWrappingCommonArgs async) => await async.AsyncSyncCall(_stream.ReadAsync, _stream.Read, buffer, offset, count).ConfigureAwait(false);
33+
public async ValueTask<int> ReadAsync(byte[] buffer, int offset, int count, AsyncWrappingCommonArgs async) => await async.AsyncSyncCall(_stream.ReadAsync, _stream.Read, buffer, offset, count).ConfigureAwait(false);
3434

35-
public async ValueTask Write(byte[] buffer, int offset, int count, AsyncWrappingCommonArgs async) => await async.AsyncSyncCall(_stream.WriteAsync, _stream.Write, buffer, offset, count).ConfigureAwait(false);
35+
public async ValueTask WriteAsync(byte[] buffer, int offset, int count, AsyncWrappingCommonArgs async) => await async.AsyncSyncCall(_stream.WriteAsync, _stream.Write, buffer, offset, count).ConfigureAwait(false);
3636

37-
public async ValueTask Flush(AsyncWrappingCommonArgs async) => await async.AsyncSyncCall(_stream.FlushAsync, _stream.Flush).ConfigureAwait(false);
37+
public async ValueTask FlushAsync(AsyncWrappingCommonArgs async) => await async.AsyncSyncCall(_stream.FlushAsync, _stream.Flush).ConfigureAwait(false);
3838
}
3939
}

Provider/src/FirebirdSql.Data.FirebirdClient/Client/Managed/FirebirdNetworkHandlingWrapper.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,15 @@ public FirebirdNetworkHandlingWrapper(IDataProvider dataProvider)
5454

5555
public bool IOFailed { get; set; }
5656

57-
public async ValueTask<int> Read(byte[] buffer, int offset, int count, AsyncWrappingCommonArgs async)
57+
public async ValueTask<int> ReadAsync(byte[] buffer, int offset, int count, AsyncWrappingCommonArgs async)
5858
{
5959
if (_inputBuffer.Count < count)
6060
{
6161
var readBuffer = _readBuffer;
6262
int read;
6363
try
6464
{
65-
read = await _dataProvider.Read(readBuffer, 0, readBuffer.Length, async).ConfigureAwait(false);
65+
read = await _dataProvider.ReadAsync(readBuffer, 0, readBuffer.Length, async).ConfigureAwait(false);
6666
}
6767
catch (IOException)
6868
{
@@ -87,14 +87,14 @@ public async ValueTask<int> Read(byte[] buffer, int offset, int count, AsyncWrap
8787
return dataLength;
8888
}
8989

90-
public ValueTask Write(byte[] buffer, int offset, int count, AsyncWrappingCommonArgs async)
90+
public ValueTask WriteAsync(byte[] buffer, int offset, int count, AsyncWrappingCommonArgs async)
9191
{
9292
for (var i = offset; i < count; i++)
9393
_outputBuffer.Enqueue(buffer[offset + i]);
9494
return ValueTask2.CompletedTask;
9595
}
9696

97-
public async ValueTask Flush(AsyncWrappingCommonArgs async)
97+
public async ValueTask FlushAsync(AsyncWrappingCommonArgs async)
9898
{
9999
var buffer = _outputBuffer.ToArray();
100100
_outputBuffer.Clear();
@@ -110,8 +110,8 @@ public async ValueTask Flush(AsyncWrappingCommonArgs async)
110110
}
111111
try
112112
{
113-
await _dataProvider.Write(buffer, 0, count, async).ConfigureAwait(false);
114-
await _dataProvider.Flush(async).ConfigureAwait(false);
113+
await _dataProvider.WriteAsync(buffer, 0, count, async).ConfigureAwait(false);
114+
await _dataProvider.FlushAsync(async).ConfigureAwait(false);
115115
}
116116
catch (IOException)
117117
{

Provider/src/FirebirdSql.Data.FirebirdClient/Client/Managed/GdsConnection.cs

Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,11 @@ public GdsConnection(string user, string password, string dataSource, int portNu
7171
WireCrypt = wireCrypt;
7272
}
7373

74-
public async ValueTask Connect(AsyncWrappingCommonArgs async)
74+
public async ValueTask ConnectAsync(AsyncWrappingCommonArgs async)
7575
{
7676
try
7777
{
78-
IPAddress = await GetIPAddress(DataSource, async).ConfigureAwait(false);
78+
IPAddress = await GetIPAddressAsync(DataSource, async).ConfigureAwait(false);
7979
var endPoint = new IPEndPoint(IPAddress, PortNumber);
8080

8181
var socket = new Socket(IPAddress.AddressFamily, SocketType.Stream, ProtocolType.Tcp);
@@ -114,44 +114,44 @@ public async ValueTask Connect(AsyncWrappingCommonArgs async)
114114
}
115115
}
116116

117-
public async ValueTask Identify(string database, AsyncWrappingCommonArgs async)
117+
public async ValueTask IdentifyAsync(string database, AsyncWrappingCommonArgs async)
118118
{
119119
try
120120
{
121-
await Xdr.Write(IscCodes.op_connect, async).ConfigureAwait(false);
122-
await Xdr.Write(IscCodes.op_attach, async).ConfigureAwait(false);
123-
await Xdr.Write(IscCodes.CONNECT_VERSION3, async).ConfigureAwait(false);
124-
await Xdr.Write(IscCodes.GenericAchitectureClient, async).ConfigureAwait(false);
121+
await Xdr.WriteAsync(IscCodes.op_connect, async).ConfigureAwait(false);
122+
await Xdr.WriteAsync(IscCodes.op_attach, async).ConfigureAwait(false);
123+
await Xdr.WriteAsync(IscCodes.CONNECT_VERSION3, async).ConfigureAwait(false);
124+
await Xdr.WriteAsync(IscCodes.GenericAchitectureClient, async).ConfigureAwait(false);
125125

126-
await Xdr.Write(database, async).ConfigureAwait(false);
126+
await Xdr.WriteAsync(database, async).ConfigureAwait(false);
127127

128128
var protocols = ProtocolsSupported.Get(Compression);
129-
await Xdr.Write(protocols.Count(), async).ConfigureAwait(false);
129+
await Xdr.WriteAsync(protocols.Count(), async).ConfigureAwait(false);
130130

131131
AuthBlock = new AuthBlock(User, Password, WireCrypt);
132132

133-
await Xdr.WriteBuffer(AuthBlock.UserIdentificationData(), async).ConfigureAwait(false);
133+
await Xdr.WriteBufferAsync(AuthBlock.UserIdentificationData(), async).ConfigureAwait(false);
134134

135135
var priority = 0;
136136
foreach (var protocol in protocols)
137137
{
138-
await Xdr.Write(protocol.Version, async).ConfigureAwait(false);
139-
await Xdr.Write(IscCodes.GenericAchitectureClient, async).ConfigureAwait(false);
140-
await Xdr.Write(protocol.MinPType, async).ConfigureAwait(false);
141-
await Xdr.Write(protocol.MaxPType, async).ConfigureAwait(false);
142-
await Xdr.Write(priority, async).ConfigureAwait(false);
138+
await Xdr.WriteAsync(protocol.Version, async).ConfigureAwait(false);
139+
await Xdr.WriteAsync(IscCodes.GenericAchitectureClient, async).ConfigureAwait(false);
140+
await Xdr.WriteAsync(protocol.MinPType, async).ConfigureAwait(false);
141+
await Xdr.WriteAsync(protocol.MaxPType, async).ConfigureAwait(false);
142+
await Xdr.WriteAsync(priority, async).ConfigureAwait(false);
143143

144144
priority++;
145145
}
146146

147-
await Xdr.Flush(async).ConfigureAwait(false);
147+
await Xdr.FlushAsync(async).ConfigureAwait(false);
148148

149-
var operation = await Xdr.ReadOperation(async).ConfigureAwait(false);
149+
var operation = await Xdr.ReadOperationAsync(async).ConfigureAwait(false);
150150
if (operation == IscCodes.op_accept || operation == IscCodes.op_cond_accept || operation == IscCodes.op_accept_data)
151151
{
152-
ProtocolVersion = await Xdr.ReadInt32(async).ConfigureAwait(false);
153-
ProtocolArchitecture = await Xdr.ReadInt32(async).ConfigureAwait(false);
154-
ProtocolMinimunType = await Xdr.ReadInt32(async).ConfigureAwait(false);
152+
ProtocolVersion = await Xdr.ReadInt32Async(async).ConfigureAwait(false);
153+
ProtocolArchitecture = await Xdr.ReadInt32Async(async).ConfigureAwait(false);
154+
ProtocolMinimunType = await Xdr.ReadInt32Async(async).ConfigureAwait(false);
155155

156156
if (ProtocolVersion < 0)
157157
{
@@ -166,10 +166,10 @@ public async ValueTask Identify(string database, AsyncWrappingCommonArgs async)
166166
if (operation == IscCodes.op_cond_accept || operation == IscCodes.op_accept_data)
167167
{
168168
AuthBlock.Start(
169-
await Xdr.ReadBuffer(async).ConfigureAwait(false),
170-
await Xdr.ReadString(async).ConfigureAwait(false),
171-
await Xdr.ReadBoolean(async).ConfigureAwait(false),
172-
await Xdr.ReadBuffer(async).ConfigureAwait(false));
169+
await Xdr.ReadBufferAsync(async).ConfigureAwait(false),
170+
await Xdr.ReadStringAsync(async).ConfigureAwait(false),
171+
await Xdr.ReadBooleanAsync(async).ConfigureAwait(false),
172+
await Xdr.ReadBufferAsync(async).ConfigureAwait(false));
173173

174174
if (Compression)
175175
{
@@ -181,9 +181,9 @@ await Xdr.ReadBoolean(async).ConfigureAwait(false),
181181
{
182182
while (true)
183183
{
184-
await AuthBlock.SendContAuthToBuffer(Xdr, async).ConfigureAwait(false);
185-
await Xdr.Flush(async).ConfigureAwait(false);
186-
var response = await AuthBlock.ProcessContAuthResponse(Xdr, async).ConfigureAwait(false);
184+
await AuthBlock.SendContAuthToBufferAsync(Xdr, async).ConfigureAwait(false);
185+
await Xdr.FlushAsync(async).ConfigureAwait(false);
186+
var response = await AuthBlock.ProcessContAuthResponseAsync(Xdr, async).ConfigureAwait(false);
187187
if (response is ContAuthResponse contAuthResponse)
188188
{
189189
AuthBlock.Start(contAuthResponse.ServerData, contAuthResponse.AcceptPluginName, contAuthResponse.IsAuthenticated, contAuthResponse.ServerKeys);
@@ -194,9 +194,9 @@ await Xdr.ReadBoolean(async).ConfigureAwait(false),
194194

195195
if (AuthBlock.ServerKeys.Any())
196196
{
197-
await AuthBlock.SendWireCryptToBuffer(Xdr, async).ConfigureAwait(false);
198-
await Xdr.Flush(async).ConfigureAwait(false);
199-
await AuthBlock.ProcessWireCryptResponse(Xdr, this, async).ConfigureAwait(false);
197+
await AuthBlock.SendWireCryptToBufferAsync(Xdr, async).ConfigureAwait(false);
198+
await Xdr.FlushAsync(async).ConfigureAwait(false);
199+
await AuthBlock.ProcessWireCryptResponseAsync(Xdr, this, async).ConfigureAwait(false);
200200
}
201201
}
202202
}
@@ -205,7 +205,7 @@ await Xdr.ReadBoolean(async).ConfigureAwait(false),
205205
}
206206
else if (operation == IscCodes.op_response)
207207
{
208-
var response = (GenericResponse)await ProcessOperation(operation, Xdr, async).ConfigureAwait(false);
208+
var response = (GenericResponse)await ProcessOperationAsync(operation, Xdr, async).ConfigureAwait(false);
209209
ProcessResponse(response);
210210
}
211211
else
@@ -219,7 +219,7 @@ await Xdr.ReadBoolean(async).ConfigureAwait(false),
219219
}
220220
}
221221

222-
public async ValueTask Disconnect(AsyncWrappingCommonArgs async)
222+
public async ValueTask DisconnectAsync(AsyncWrappingCommonArgs async)
223223
{
224224
if (_networkStream != null)
225225
{
@@ -243,7 +243,7 @@ internal void StartEncryption()
243243
_firebirdNetworkHandlingWrapper.StartEncryption(AuthBlock.SessionKey);
244244
}
245245

246-
private static async ValueTask<IPAddress> GetIPAddress(string dataSource, AsyncWrappingCommonArgs async)
246+
private static async ValueTask<IPAddress> GetIPAddressAsync(string dataSource, AsyncWrappingCommonArgs async)
247247
{
248248
if (IPAddress.TryParse(dataSource, out var ipaddress))
249249
{
@@ -262,40 +262,40 @@ private static async ValueTask<IPAddress> GetIPAddress(string dataSource, AsyncW
262262
return addresses[0];
263263
}
264264

265-
public static async ValueTask<IResponse> ProcessOperation(int operation, IXdrReader xdr, AsyncWrappingCommonArgs async)
265+
public static async ValueTask<IResponse> ProcessOperationAsync(int operation, IXdrReader xdr, AsyncWrappingCommonArgs async)
266266
{
267267
switch (operation)
268268
{
269269
case IscCodes.op_response:
270270
return new GenericResponse(
271-
await xdr.ReadInt32(async).ConfigureAwait(false),
272-
await xdr.ReadInt64(async).ConfigureAwait(false),
273-
await xdr.ReadBuffer(async).ConfigureAwait(false),
274-
await xdr.ReadStatusVector(async).ConfigureAwait(false));
271+
await xdr.ReadInt32Async(async).ConfigureAwait(false),
272+
await xdr.ReadInt64Async(async).ConfigureAwait(false),
273+
await xdr.ReadBufferAsync(async).ConfigureAwait(false),
274+
await xdr.ReadStatusVectorAsync(async).ConfigureAwait(false));
275275

276276
case IscCodes.op_fetch_response:
277277
return new FetchResponse(
278-
await xdr.ReadInt32(async).ConfigureAwait(false),
279-
await xdr.ReadInt32(async).ConfigureAwait(false));
278+
await xdr.ReadInt32Async(async).ConfigureAwait(false),
279+
await xdr.ReadInt32Async(async).ConfigureAwait(false));
280280

281281
case IscCodes.op_sql_response:
282282
return new SqlResponse(
283-
await xdr.ReadInt32(async).ConfigureAwait(false));
283+
await xdr.ReadInt32Async(async).ConfigureAwait(false));
284284

285285
case IscCodes.op_trusted_auth:
286286
return new AuthResponse(
287-
await xdr.ReadBuffer(async).ConfigureAwait(false));
287+
await xdr.ReadBufferAsync(async).ConfigureAwait(false));
288288

289289
case IscCodes.op_crypt_key_callback:
290290
return new CryptKeyCallbackResponse(
291-
await xdr.ReadBuffer(async).ConfigureAwait(false));
291+
await xdr.ReadBufferAsync(async).ConfigureAwait(false));
292292

293293
case IscCodes.op_cont_auth:
294294
return new ContAuthResponse(
295-
await xdr.ReadBuffer(async).ConfigureAwait(false),
296-
await xdr.ReadString(async).ConfigureAwait(false),
297-
await xdr.ReadBoolean(async).ConfigureAwait(false),
298-
await xdr.ReadBuffer(async).ConfigureAwait(false));
295+
await xdr.ReadBufferAsync(async).ConfigureAwait(false),
296+
await xdr.ReadStringAsync(async).ConfigureAwait(false),
297+
await xdr.ReadBooleanAsync(async).ConfigureAwait(false),
298+
await xdr.ReadBufferAsync(async).ConfigureAwait(false));
299299

300300
default:
301301
throw new ArgumentOutOfRangeException(nameof(operation), $"{nameof(operation)}={operation}");

0 commit comments

Comments
 (0)