8 references to Stream
Microsoft.AspNetCore.Antiforgery (8)
Internal\AntiforgerySerializationContext.cs (5)
53_reader = new BinaryReader(Stream, Encoding.UTF8, leaveOpen: true); 71_writer = new BinaryWriter(Stream, Encoding.UTF8, leaveOpen: true); 107if (Stream.Capacity > MaximumStreamSize) 115Stream.Position = 0L; 116Stream.SetLength(0L);
Internal\DefaultAntiforgeryTokenSerializer.cs (2)
47var stream = serializationContext.Stream; 155var stream = serializationContext.Stream;
Internal\DefaultClaimUidExtractor.cs (1)
136bool success = serializationContext.Stream.TryGetBuffer(out ArraySegment<byte> buffer);