internal override string FormatType(NdrFormatter formatter) { if (IsConstant) { string name = formatter.IidToName(Iid); if (name != null) { return(formatter.FormatPointer(name)); } return($"{formatter.FormatComment("Unknown IID: {0}", Iid)} {formatter.FormatPointer("IUnknown")}"); } else { return($"{formatter.FormatComment("iid_is param offset: {0}", IidIsDescriptor.Offset)} {formatter.FormatPointer("IUnknown")}"); } }
internal override string FormatType(NdrFormatter formatter) { if ((Flags & NdrUserMarshalFlags.USER_MARSHAL_POINTER) != 0) { return(formatter.FormatPointer(base.FormatType(formatter))); } return(base.FormatType(formatter)); }