File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -722,7 +722,7 @@ public string IidToName(Guid iid)
722722 {
723723 if ( _iids_to_name . TryGetValue ( iid , out string value ) )
724724 {
725- return value ;
725+ return _demangle_com_name ( value ) ;
726726 }
727727
728728 if ( iid == NdrNativeUtils . IID_IUnknown )
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ internal class NdrFormatter : INdrFormatterInternal
7070 {
7171 private readonly IDictionary < Guid , string > _iids_to_name ;
7272 private readonly Func < string , string > _demangle_com_name ;
73- private DefaultNdrFormatterFlags _flags ;
73+ private readonly DefaultNdrFormatterFlags _flags ;
7474
7575 bool INdrFormatterInternal . ShowProcedureParameterAttributes { get { return true ; } }
7676
@@ -90,7 +90,7 @@ protected string IidToName(Guid iid)
9090 {
9191 if ( _iids_to_name . ContainsKey ( iid ) )
9292 {
93- return _iids_to_name [ iid ] ;
93+ return _demangle_com_name ( _iids_to_name [ iid ] ) ;
9494 }
9595 return null ;
9696 }
You can’t perform that action at this time.
0 commit comments