1 interface inheriting from IUnsafeComStream
Microsoft.DiaSymReader (1)
_generated\32\Microsoft.DiaSymReader.IUnsafeComStream.cs (1)
30
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)
27
internal partial class UnsafeComStreamWrapper :
IUnsafeComStream
, IStream
67 references to IUnsafeComStream
Microsoft.DiaSymReader (67)
_generated\3\Microsoft.DiaSymReader.ComMemoryStream.cs (1)
14
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.DiaSymReader.
IUnsafeComStream
).TypeHandle);
_generated\32\Microsoft.DiaSymReader.IUnsafeComStream.cs (44)
57
void global::Microsoft.DiaSymReader.
IUnsafeComStream
.Read(byte* pv, int cb, int* pcbRead)
59
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.
IUnsafeComStream
));
76
global::Microsoft.DiaSymReader.
IUnsafeComStream
@this = default;
81
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.DiaSymReader.
IUnsafeComStream
>(__this_native);
96
void global::Microsoft.DiaSymReader.
IUnsafeComStream
.Write(byte* pv, int cb, int* pcbWritten)
98
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.
IUnsafeComStream
));
115
global::Microsoft.DiaSymReader.
IUnsafeComStream
@this = default;
120
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.DiaSymReader.
IUnsafeComStream
>(__this_native);
135
void global::Microsoft.DiaSymReader.
IUnsafeComStream
.Seek(long dlibMove, int dwOrigin, long* plibNewPosition)
137
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.
IUnsafeComStream
));
154
global::Microsoft.DiaSymReader.
IUnsafeComStream
@this = default;
159
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.DiaSymReader.
IUnsafeComStream
>(__this_native);
174
void global::Microsoft.DiaSymReader.
IUnsafeComStream
.SetSize(long libNewSize)
176
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.
IUnsafeComStream
));
193
global::Microsoft.DiaSymReader.
IUnsafeComStream
@this = default;
198
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.DiaSymReader.
IUnsafeComStream
>(__this_native);
213
void global::Microsoft.DiaSymReader.
IUnsafeComStream
.CopyTo(nint pstm, long cb, int* pcbRead, int* pcbWritten)
215
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.
IUnsafeComStream
));
232
global::Microsoft.DiaSymReader.
IUnsafeComStream
@this = default;
237
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.DiaSymReader.
IUnsafeComStream
>(__this_native);
252
void global::Microsoft.DiaSymReader.
IUnsafeComStream
.Commit(int grfCommitFlags)
254
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.
IUnsafeComStream
));
271
global::Microsoft.DiaSymReader.
IUnsafeComStream
@this = default;
276
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.DiaSymReader.
IUnsafeComStream
>(__this_native);
291
void global::Microsoft.DiaSymReader.
IUnsafeComStream
.Revert()
293
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.
IUnsafeComStream
));
310
global::Microsoft.DiaSymReader.
IUnsafeComStream
@this = default;
315
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.DiaSymReader.
IUnsafeComStream
>(__this_native);
330
void global::Microsoft.DiaSymReader.
IUnsafeComStream
.LockRegion(long libOffset, long cb, int dwLockType)
332
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.
IUnsafeComStream
));
349
global::Microsoft.DiaSymReader.
IUnsafeComStream
@this = default;
354
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.DiaSymReader.
IUnsafeComStream
>(__this_native);
369
void global::Microsoft.DiaSymReader.
IUnsafeComStream
.UnlockRegion(long libOffset, long cb, int dwLockType)
371
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.
IUnsafeComStream
));
388
global::Microsoft.DiaSymReader.
IUnsafeComStream
@this = default;
393
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.DiaSymReader.
IUnsafeComStream
>(__this_native);
408
void global::Microsoft.DiaSymReader.
IUnsafeComStream
.Stat(out global::Microsoft.DiaSymReader.STATSTG pstatstg, int grfStatFlag)
410
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.
IUnsafeComStream
));
431
global::Microsoft.DiaSymReader.
IUnsafeComStream
@this = default;
438
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.DiaSymReader.
IUnsafeComStream
>(__this_native);
455
void global::Microsoft.DiaSymReader.
IUnsafeComStream
.Clone(out nint ppstm)
457
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.
IUnsafeComStream
));
477
global::Microsoft.DiaSymReader.
IUnsafeComStream
@this = default;
484
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.DiaSymReader.
IUnsafeComStream
>(__this_native);
_generated\4\Microsoft.DiaSymReader.ComStreamWrapper.cs (1)
14
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.DiaSymReader.
IUnsafeComStream
).TypeHandle);
_generated\5\Microsoft.DiaSymReader.Utilities.UnsafeComStreamWrapper.cs (1)
14
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.DiaSymReader.
IUnsafeComStream
).TypeHandle);
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(out STATSTG pstatstg, int grfStatFlag)
214
unsafe void
IUnsafeComStream
.Write(byte* pv, int cb, int* pcbWritten)
247
void
IUnsafeComStream
.Commit(int grfCommitFlags)
251
void
IUnsafeComStream
.Clone(out IntPtr ppstm)
256
void
IUnsafeComStream
.CopyTo(IntPtr pstm, long cb, int* pcbRead, int* pcbWritten)
261
void
IUnsafeComStream
.LockRegion(long libOffset, long cb, int lockType)
266
void
IUnsafeComStream
.Revert()
271
void
IUnsafeComStream
.UnlockRegion(long libOffset, long cb, int lockType)
Utilities\ComStreamWrapper.cs (4)
204
else if (stream is
IUnsafeComStream
unsafeComStream)
206
return (IntPtr)ComInterfaceMarshaller<
IUnsafeComStream
>.ConvertToUnmanaged(unsafeComStream);
214
IUnsafeComStream
marshalledStream = ComInterfaceMarshaller<
IUnsafeComStream
>.ConvertToManaged((void*)native);
Utilities\UnsafeComStreamWrapper.cs (4)
17
/// Provides an <see cref="IStream"/>-like wrapper around an <see cref="
IUnsafeComStream
"/> to handle incompatibilities
22
/// This is a wrapper around a marshalled <see cref="
IUnsafeComStream
"/> that also implements the <see cref="IStream"/> interface./>
29
private readonly
IUnsafeComStream
_stream;
31
public UnsafeComStreamWrapper(
IUnsafeComStream
stream)