public ValueType(PProfSampleValueType valueTypeItems, PProfBuilder builder) { Validate.NotNull(builder, nameof(builder)); _typeInfo = builder.GetOrCreateStringInfo(valueTypeItems.Type ?? string.Empty); _unitInfo = builder.GetOrCreateStringInfo(valueTypeItems.Unit ?? string.Empty); }
internal PProfBuildSession(PProfBuilder owner, PProfBuildSessionState ownerBuildState) { Validate.NotNull(owner, nameof(owner)); Validate.NotNull(ownerBuildState, nameof(ownerBuildState)); _ownerBuildState = ownerBuildState; this.OwnerBuilder = owner; _profile = new PProfProto.Profile(); _lastSample = null; this.SamplesCount = 0; }
internal SymbolMonikersConfigSettings(PProfBuilder ownerBuilder) { Validate.NotNull(ownerBuilder, nameof(ownerBuilder)); _ownerBuilder = ownerBuilder; }