1 write to pContextBytes
Microsoft.Diagnostics.DataContractReader.Legacy (1)
34 references to pContextBytes
Microsoft.Diagnostics.DataContractReader.Legacy (34)
Dbi\DacDbiImpl.cs (34)
1769if (contextBuffer.pContextBytes is null || contextBuffer.contextSize < expectedContextSize)
1772byte[] contextBuf = new Span<byte>(contextBuffer.pContextBytes, (int)expectedContextSize).ToArray();
1817if (contextBuffer.pContextBytes == null)
1831seedContext.AsSpan().CopyTo(new Span<byte>(contextBuffer.pContextBytes, (int)expectedContextSize));
1911if (contextBuffer.pContextBytes == null)
1929context.AsSpan().CopyTo(new Span<byte>(contextBuffer.pContextBytes, (int)expectedContextSize));
1972if (contextBuffer.pContextBytes == null)
2057if (contextBuffer.pContextBytes == null)
2068ctx.FillFromBuffer(new Span<byte>(contextBuffer.pContextBytes, (int)ctx.Size));
2247if (contextBuffer.pContextBytes is null)
2254context.AsSpan().CopyTo(new Span<byte>(contextBuffer.pContextBytes, context.Length));
2609if (contextBuffer.pContextBytes == null || pResult == null)
2628givenCtx.FillFromBuffer(new Span<byte>(contextBuffer.pContextBytes, (int)expectedContextSize));
2654if (contextBuffer.pContextBytes == null)
2668context.AsSpan().CopyTo(new Span<byte>(contextBuffer.pContextBytes, (int)expectedContextSize));
6683if (contextBuffer.pContextBytes is null)
6692ctx.FillFromBuffer(new Span<byte>(contextBuffer.pContextBytes, (int)ctx.Size));
6720if (contextBuffer1.pContextBytes is null || contextBuffer2.pContextBytes is null)
6721throw new ArgumentNullException(contextBuffer1.pContextBytes is null ? nameof(contextBuffer1) : nameof(contextBuffer2));
6730ctx1.FillFromBuffer(new Span<byte>(contextBuffer1.pContextBytes, (int)ctx1.Size));
6731ctx2.FillFromBuffer(new Span<byte>(contextBuffer2.pContextBytes, (int)ctx2.Size));
6771if (sourceContext.pContextBytes is null || destinationContext.pContextBytes is null)
6772throw new ArgumentNullException(sourceContext.pContextBytes is null ? nameof(sourceContext) : nameof(destinationContext));
6775srcCtx.FillFromBuffer(new Span<byte>(sourceContext.pContextBytes, (int)Math.Min(sourceContext.contextSize, srcCtx.Size)));
6777dstCtx.FillFromBuffer(new Span<byte>(destinationContext.pContextBytes, (int)Math.Min(destinationContext.contextSize, dstCtx.Size)));
6797dstCtx.GetBytes()[..destinationSize].CopyTo(new Span<byte>(destinationContext.pContextBytes, destinationSize));
6832if (contextBuffer.pContextBytes is null)
6839Span<byte> bufSpan = new Span<byte>(contextBuffer.pContextBytes, (int)ctx.Size);
6882if (contextBuffer.pContextBytes is null)
6891ctx.FillFromBuffer(new Span<byte>(contextBuffer.pContextBytes, (int)ctx.Size));
7057if (contextBuffer.pContextBytes is null || pValue is null ||
7067Span<byte> buf = new Span<byte>(contextBuffer.pContextBytes, (int)ctx.Size);