public void CustomTypeInfoConstructor_OtherGuid() { ValidateBytes(DynamicFlagsCustomTypeInfo.Create(DkmClrCustomTypeInfo.Create(Guid.NewGuid(), new ReadOnlyCollection <byte>(new byte[] { 0x01 })))); }
public DkmClrCustomTypeInfo ToDkmClrCustomTypeInfo() { return(Payload == null ? null : DkmClrCustomTypeInfo.Create(PayloadTypeId, Payload)); }
internal static DkmClrCustomTypeInfo?ToCustomTypeInfo(this ReadOnlyCollection <byte>?payload, Guid payloadTypeId) { return((payload == null) ? null : DkmClrCustomTypeInfo.Create(payloadTypeId, payload)); }