Base:
4 overrides of Write
Microsoft.Extensions.AI.Abstractions.Tests (2)
Files\DelegatingHostedFileClientTests.cs (1)
255
public override void
Write
(byte[] buffer, int offset, int count) => throw new NotSupportedException();
Files\HostedFileClientExtensionsTests.cs (1)
587
public override void
Write
(byte[] buffer, int offset, int count) => throw new NotSupportedException();
Microsoft.Extensions.AI.Tests (2)
Files\LoggingHostedFileClientTests.cs (1)
555
public override void
Write
(byte[] buffer, int offset, int count) => throw new NotSupportedException();
Files\OpenTelemetryHostedFileClientTests.cs (1)
628
public override void
Write
(byte[] buffer, int offset, int count) => throw new NotSupportedException();
2 references to Write
Microsoft.Extensions.AI.Abstractions.Tests (1)
Files\HostedFileDownloadStreamTests.cs (1)
66
Assert.Throws<NotSupportedException>(() => stream.
Write
([4], 0, 1));
Microsoft.Extensions.AI.OpenAI.Tests (1)
OpenAIHostedFileClientTests.cs (1)
627
Assert.Throws<NotSupportedException>(() => stream.
Write
(new byte[1], 0, 1));