1 implementation of Size
Microsoft.Diagnostics.DataContractReader.Contracts (1)
Contracts\StackWalk\Context\ContextHolder.cs (1)
14public uint Size => Context.Size;
28 references to Size
Microsoft.Diagnostics.DataContractReader.Contracts (1)
Contracts\StackWalk\StackWalk_1.cs (1)
1383byte[] bytes = new byte[context.Size];
Microsoft.Diagnostics.DataContractReader.Legacy (27)
ClrDataStackWalk.cs (1)
339uint platformContextSize = IPlatformAgnosticContext.GetContextForPlatform(_target).Size;
Dbi\DacDbiImpl.cs (25)
1004byte[] contextBuffer = new byte[ctx.Size]; 1768uint expectedContextSize = IPlatformAgnosticContext.GetContextForPlatform(_target).Size; 1819uint expectedContextSize = IPlatformAgnosticContext.GetContextForPlatform(_target).Size; 1916uint expectedContextSize = IPlatformAgnosticContext.GetContextForPlatform(_target).Size; 1974if (contextBuffer.contextSize < IPlatformAgnosticContext.GetContextForPlatform(_target).Size) 2060uint expectedContextSize = IPlatformAgnosticContext.GetContextForPlatform(_target).Size; 2068ctx.FillFromBuffer(new Span<byte>(contextBuffer.pContextBytes, (int)ctx.Size)); 2613uint expectedContextSize = IPlatformAgnosticContext.GetContextForPlatform(_target).Size; 2657uint expectedContextSize = IPlatformAgnosticContext.GetContextForPlatform(_target).Size; 6689if (contextBuffer.contextSize < ctx.Size) 6692ctx.FillFromBuffer(new Span<byte>(contextBuffer.pContextBytes, (int)ctx.Size)); 6727if (contextBuffer1.contextSize < ctx1.Size || contextBuffer2.contextSize < ctx2.Size) 6730ctx1.FillFromBuffer(new Span<byte>(contextBuffer1.pContextBytes, (int)ctx1.Size)); 6731ctx2.FillFromBuffer(new Span<byte>(contextBuffer2.pContextBytes, (int)ctx2.Size)); 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))); 6796int destinationSize = (int)Math.Min(destinationContext.contextSize, dstCtx.Size); 6836if (contextBuffer.contextSize < ctx.Size) 6839Span<byte> bufSpan = new Span<byte>(contextBuffer.pContextBytes, (int)ctx.Size); 6851ctx.GetBytes()[..(int)ctx.Size].CopyTo(bufSpan); 6888if (contextBuffer.contextSize < ctx.Size) 6891ctx.FillFromBuffer(new Span<byte>(contextBuffer.pContextBytes, (int)ctx.Size)); 7064if (contextBuffer.contextSize < ctx.Size) 7067Span<byte> buf = new Span<byte>(contextBuffer.pContextBytes, (int)ctx.Size);
SOSDacImpl.cs (1)
2313context.FillFromBuffer(new Span<byte>(ctx, (int)context.Size));