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