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