1 interface inheriting from IUnsafeComStream
Microsoft.DiaSymReader (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Microsoft.DiaSymReader.IUnsafeComStream.cs (1)
39
file unsafe interface InterfaceImplementation : global::Microsoft.DiaSymReader.
IUnsafeComStream
3 implementations of IUnsafeComStream
Microsoft.DiaSymReader (3)
Utilities\ComMemoryStream.cs (1)
29
internal unsafe sealed partial class ComMemoryStream :
IUnsafeComStream
Utilities\ComStreamWrapper.cs (1)
24
internal unsafe sealed partial class ComStreamWrapper :
IUnsafeComStream
, System.Runtime.InteropServices.ComTypes.IStream
Utilities\UnsafeComStreamWrapper.cs (1)
28
internal partial class UnsafeComStreamWrapper :
IUnsafeComStream
, IStream
68 references to IUnsafeComStream
Microsoft.DiaSymReader (68)
Generated\361d1da7f942c932\Microsoft.DiaSymReader.Utilities.UnsafeComStreamWrapper.cs (1)
16
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.DiaSymReader.
IUnsafeComStream
).TypeHandle);
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Microsoft.DiaSymReader.ComMemoryStream.cs (1)
16
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.DiaSymReader.
IUnsafeComStream
).TypeHandle);
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Microsoft.DiaSymReader.ComStreamWrapper.cs (1)
16
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.DiaSymReader.
IUnsafeComStream
).TypeHandle);
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Microsoft.DiaSymReader.IUnsafeComStream.cs (44)
69
void global::Microsoft.DiaSymReader.
IUnsafeComStream
.Read(byte* pv, int cb, int* pcbRead)
73
var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.
IUnsafeComStream
));
93
global::Microsoft.DiaSymReader.
IUnsafeComStream
@this = default;
99
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.DiaSymReader.
IUnsafeComStream
>(__this_native);
112
void global::Microsoft.DiaSymReader.
IUnsafeComStream
.Write(byte* pv, int cb, int* pcbWritten)
116
var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.
IUnsafeComStream
));
136
global::Microsoft.DiaSymReader.
IUnsafeComStream
@this = default;
142
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.DiaSymReader.
IUnsafeComStream
>(__this_native);
155
void global::Microsoft.DiaSymReader.
IUnsafeComStream
.Seek(long dlibMove, int dwOrigin, long* plibNewPosition)
159
var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.
IUnsafeComStream
));
179
global::Microsoft.DiaSymReader.
IUnsafeComStream
@this = default;
185
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.DiaSymReader.
IUnsafeComStream
>(__this_native);
198
void global::Microsoft.DiaSymReader.
IUnsafeComStream
.SetSize(long libNewSize)
202
var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.
IUnsafeComStream
));
222
global::Microsoft.DiaSymReader.
IUnsafeComStream
@this = default;
228
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.DiaSymReader.
IUnsafeComStream
>(__this_native);
241
void global::Microsoft.DiaSymReader.
IUnsafeComStream
.CopyTo(nint pstm, long cb, int* pcbRead, int* pcbWritten)
245
var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.
IUnsafeComStream
));
265
global::Microsoft.DiaSymReader.
IUnsafeComStream
@this = default;
271
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.DiaSymReader.
IUnsafeComStream
>(__this_native);
284
void global::Microsoft.DiaSymReader.
IUnsafeComStream
.Commit(int grfCommitFlags)
288
var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.
IUnsafeComStream
));
308
global::Microsoft.DiaSymReader.
IUnsafeComStream
@this = default;
314
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.DiaSymReader.
IUnsafeComStream
>(__this_native);
327
void global::Microsoft.DiaSymReader.
IUnsafeComStream
.Revert()
331
var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.
IUnsafeComStream
));
351
global::Microsoft.DiaSymReader.
IUnsafeComStream
@this = default;
357
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.DiaSymReader.
IUnsafeComStream
>(__this_native);
370
void global::Microsoft.DiaSymReader.
IUnsafeComStream
.LockRegion(long libOffset, long cb, int dwLockType)
374
var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.
IUnsafeComStream
));
394
global::Microsoft.DiaSymReader.
IUnsafeComStream
@this = default;
400
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.DiaSymReader.
IUnsafeComStream
>(__this_native);
413
void global::Microsoft.DiaSymReader.
IUnsafeComStream
.UnlockRegion(long libOffset, long cb, int dwLockType)
417
var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.
IUnsafeComStream
));
437
global::Microsoft.DiaSymReader.
IUnsafeComStream
@this = default;
443
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.DiaSymReader.
IUnsafeComStream
>(__this_native);
456
void global::Microsoft.DiaSymReader.
IUnsafeComStream
.Stat(ref global::Microsoft.DiaSymReader.NativeSTATSTG pstatstg, int grfStatFlag)
460
var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.
IUnsafeComStream
));
482
global::Microsoft.DiaSymReader.
IUnsafeComStream
@this = default;
491
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.DiaSymReader.
IUnsafeComStream
>(__this_native);
506
void global::Microsoft.DiaSymReader.
IUnsafeComStream
.Clone(out nint ppstm)
510
var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.
IUnsafeComStream
));
533
global::Microsoft.DiaSymReader.
IUnsafeComStream
@this = default;
541
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.DiaSymReader.
IUnsafeComStream
>(__this_native);
Utilities\ComMemoryStream.cs (12)
23
/// 2. Read and Write are optimized to avoid copying (see <see cref="
IUnsafeComStream
"/>)
118
unsafe void
IUnsafeComStream
.Read(byte* pv, int cb, int* pcbRead)
173
unsafe void
IUnsafeComStream
.Seek(long dlibMove, int origin, long* plibNewPosition)
201
void
IUnsafeComStream
.SetSize(long libNewSize)
206
void
IUnsafeComStream
.Stat(ref NativeSTATSTG pstatstg, int grfStatFlag)
212
unsafe void
IUnsafeComStream
.Write(byte* pv, int cb, int* pcbWritten)
245
void
IUnsafeComStream
.Commit(int grfCommitFlags)
249
void
IUnsafeComStream
.Clone(out IntPtr ppstm)
254
void
IUnsafeComStream
.CopyTo(IntPtr pstm, long cb, int* pcbRead, int* pcbWritten)
259
void
IUnsafeComStream
.LockRegion(long libOffset, long cb, int lockType)
264
void
IUnsafeComStream
.Revert()
269
void
IUnsafeComStream
.UnlockRegion(long libOffset, long cb, int lockType)
Utilities\ComStreamWrapper.cs (4)
202
else if (stream is
IUnsafeComStream
unsafeComStream)
204
return (IntPtr)ComInterfaceMarshaller<
IUnsafeComStream
>.ConvertToUnmanaged(unsafeComStream);
212
IUnsafeComStream
marshalledStream = ComInterfaceMarshaller<
IUnsafeComStream
>.ConvertToManaged((void*)native);
Utilities\IUnsafeComStream.cs (1)
41
/// Native definition of `STATSTG`. Needed because the implementation of <see cref="
IUnsafeComStream
.Stat" /> in mscordbi
Utilities\UnsafeComStreamWrapper.cs (4)
18
/// Provides an <see cref="IStream"/>-like wrapper around an <see cref="
IUnsafeComStream
"/> to handle incompatibilities
23
/// This is a wrapper around a marshalled <see cref="
IUnsafeComStream
"/> that also implements the <see cref="IStream"/> interface./>
30
private readonly
IUnsafeComStream
_stream;
32
public UnsafeComStreamWrapper(
IUnsafeComStream
stream)