3 overrides of ContentSize
ILCompiler.Compiler (3)
Compiler\DependencyAnalysis\FrozenRuntimeTypeNode.cs (1)
29
protected override int
ContentSize
=> ObjectType.InstanceByteCount.AsInt;
Compiler\DependencyAnalysis\FrozenStringNode.cs (1)
25
protected override int
ContentSize
=> _stringType.Context.Target.PointerSize + sizeof(int) + (_data.Length + 1) * sizeof(char);
Compiler\DependencyAnalysis\SerializedFrozenObjectNode.cs (1)
44
protected override int
ContentSize
2 references to ContentSize
ILCompiler.Compiler (2)
Compiler\DependencyAnalysis\FrozenObjectNode.cs (2)
30
public int Size => ObjectType.Context.Target.PointerSize +
ContentSize
; // SyncBlock + size of contents
43
Debug.Assert(dataBuilder.CountBytes == sizeBefore +
ContentSize
);