2 interfaces inheriting from ISymUnmanagedScope
Microsoft.DiaSymReader (2)
Generated\361d1da7f942c932\Microsoft.DiaSymReader.ISymUnmanagedScope.cs (1)
36file unsafe interface InterfaceImplementation : global::Microsoft.DiaSymReader.ISymUnmanagedScope
Reader\ISymUnmanagedScope2.cs (1)
13public partial interface ISymUnmanagedScope2 : ISymUnmanagedScope
127 references to ISymUnmanagedScope
Microsoft.DiaSymReader (127)
Extensions\SymUnmanagedExtensions.Method.cs (2)
58public static ISymUnmanagedScope GetRootScope(this ISymUnmanagedMethod method) 65ThrowExceptionForHR(method.GetRootScope(out var scope));
Extensions\SymUnmanagedExtensions.Scope.cs (12)
13public static int GetStartOffset(this ISymUnmanagedScope scope) 25public static int GetEndOffset(this ISymUnmanagedScope scope) 37public static ISymUnmanagedNamespace[] GetNamespaces(this ISymUnmanagedScope scope) 45(ISymUnmanagedScope a, int b, out int c, ISymUnmanagedNamespace[] d) => a.GetNamespaces(b, out c, d))); 48public static ISymUnmanagedScope[] GetChildren(this ISymUnmanagedScope scope) 56(ISymUnmanagedScope a, int b, out int c, ISymUnmanagedScope[] d) => a.GetChildren(b, out c, d))); 59public static ISymUnmanagedVariable[] GetLocals(this ISymUnmanagedScope scope) 67(ISymUnmanagedScope a, out int b) => a.GetLocalCount(out b), 68(ISymUnmanagedScope a, int b, out int c, ISymUnmanagedVariable[] d) => a.GetLocals(b, out c, d))); 71public static ISymUnmanagedConstant[] GetConstants(this ISymUnmanagedScope scope)
Generated\361d1da7f942c932\Microsoft.DiaSymReader.ISymUnmanagedMethod.cs (10)
163int global::Microsoft.DiaSymReader.ISymUnmanagedMethod.GetRootScope(out global::Microsoft.DiaSymReader.ISymUnmanagedScope scope) 183scope = global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.ConvertToManaged(__scope_native); 190global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.Free(__scope_native); 205global::Microsoft.DiaSymReader.ISymUnmanagedScope scope = default; 213__scope_native = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.ConvertToUnmanaged(scope); 225int global::Microsoft.DiaSymReader.ISymUnmanagedMethod.GetScopeFromOffset(int offset, out global::Microsoft.DiaSymReader.ISymUnmanagedScope scope) 245scope = global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.ConvertToManaged(__scope_native); 252global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.Free(__scope_native); 267global::Microsoft.DiaSymReader.ISymUnmanagedScope scope = default; 275__scope_native = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.ConvertToUnmanaged(scope);
Generated\361d1da7f942c932\Microsoft.DiaSymReader.ISymUnmanagedMethod2.cs (10)
153int global::Microsoft.DiaSymReader.ISymUnmanagedMethod2.GetRootScope(out global::Microsoft.DiaSymReader.ISymUnmanagedScope scope) 173scope = global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.ConvertToManaged(__scope_native); 180global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.Free(__scope_native); 190int global::Microsoft.DiaSymReader.ISymUnmanagedMethod2.GetScopeFromOffset(int offset, out global::Microsoft.DiaSymReader.ISymUnmanagedScope scope) 210scope = global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.ConvertToManaged(__scope_native); 217global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.Free(__scope_native); 577int global::Microsoft.DiaSymReader.ISymUnmanagedMethod.GetRootScope(out global::Microsoft.DiaSymReader.ISymUnmanagedScope scope) => throw new global::System.Diagnostics.UnreachableException(); 579int global::Microsoft.DiaSymReader.ISymUnmanagedMethod.GetScopeFromOffset(int offset, out global::Microsoft.DiaSymReader.ISymUnmanagedScope scope) => throw new global::System.Diagnostics.UnreachableException(); 610new int GetRootScope(out global::Microsoft.DiaSymReader.ISymUnmanagedScope scope) => ((global::Microsoft.DiaSymReader.ISymUnmanagedMethod)this).GetRootScope(out scope); 614new int GetScopeFromOffset(int offset, out global::Microsoft.DiaSymReader.ISymUnmanagedScope scope) => ((global::Microsoft.DiaSymReader.ISymUnmanagedMethod)this).GetScopeFromOffset(offset, out scope);
Generated\361d1da7f942c932\Microsoft.DiaSymReader.ISymUnmanagedScope.cs (57)
63int global::Microsoft.DiaSymReader.ISymUnmanagedScope.GetMethod(out global::Microsoft.DiaSymReader.ISymUnmanagedMethod @method) 67var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.ISymUnmanagedScope)); 103global::Microsoft.DiaSymReader.ISymUnmanagedScope @this = default; 110@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.DiaSymReader.ISymUnmanagedScope>(__this_native); 125int global::Microsoft.DiaSymReader.ISymUnmanagedScope.GetParent(out global::Microsoft.DiaSymReader.ISymUnmanagedScope scope) 129var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.ISymUnmanagedScope)); 145scope = global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.ConvertToManaged(__scope_native); 152global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.Free(__scope_native); 165global::Microsoft.DiaSymReader.ISymUnmanagedScope @this = default; 167global::Microsoft.DiaSymReader.ISymUnmanagedScope scope = default; 172@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.DiaSymReader.ISymUnmanagedScope>(__this_native); 175__scope_native = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.ConvertToUnmanaged(scope); 187int global::Microsoft.DiaSymReader.ISymUnmanagedScope.GetChildren(int bufferLength, out int count, global::Microsoft.DiaSymReader.ISymUnmanagedScope[] children) 191var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.ISymUnmanagedScope)); 199scoped global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope, global::System.IntPtr>.ManagedToUnmanagedIn __children_native__marshaller = new(); 206__children_native__marshaller.FromManaged(children, stackalloc global::System.IntPtr[global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope, global::System.IntPtr>.ManagedToUnmanagedIn.BufferSize]); 208global::System.ReadOnlySpan<global::Microsoft.DiaSymReader.ISymUnmanagedScope> __children_native__managedSpan = __children_native__marshaller.GetManagedValuesSource(); 213__children_native__nativeSpan____i0_exactType = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.ConvertToUnmanaged(__children_native__managedSpan[__i0]); 231global::System.Span<global::Microsoft.DiaSymReader.ISymUnmanagedScope> __children_native__managedSpan = global::System.Runtime.InteropServices.MemoryMarshal.CreateSpan(ref global::System.Runtime.CompilerServices.Unsafe.AsRef(in __children_native__marshaller.GetManagedValuesSource().GetPinnableReference()), __children_native__numElements); 236__children_native__managedSpan[__i0] = global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.ConvertToManaged(__children_native__nativeSpan____i0_exactType); 253global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.Free(__children_native__nativeSpan____i0_exactType); 268global::Microsoft.DiaSymReader.ISymUnmanagedScope @this = default; 271global::Microsoft.DiaSymReader.ISymUnmanagedScope[] children = default; 280children = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope, global::System.IntPtr>.AllocateContainerForManagedElements(__children_native, __children_native__numElements); 282global::System.ReadOnlySpan<global::System.IntPtr> __children_native__nativeSpan = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope, global::System.IntPtr>.GetUnmanagedValuesSource(__children_native, __children_native__numElements); 283global::System.Span<global::Microsoft.DiaSymReader.ISymUnmanagedScope> __children_native__managedSpan = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope, global::System.IntPtr>.GetManagedValuesDestination(children); 287__children_native__managedSpan[__i0] = global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.ConvertToManaged(__children_native__nativeSpan____i0_exactType); 290@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.DiaSymReader.ISymUnmanagedScope>(__this_native); 294__children_native__numElements = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope, global::System.IntPtr>.GetManagedValuesDestination(children).Length; 295global::System.Span<global::System.IntPtr> __children_native__nativeSpan = global::System.Runtime.InteropServices.MemoryMarshal.CreateSpan(ref global::System.Runtime.CompilerServices.Unsafe.AsRef(in global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope, global::System.IntPtr>.GetUnmanagedValuesSource(__children_native, __children_native__numElements).GetPinnableReference()), __children_native__numElements); 296global::System.Span<global::Microsoft.DiaSymReader.ISymUnmanagedScope> __children_native__managedSpan = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope, global::System.IntPtr>.GetManagedValuesDestination(children); 301__children_native__nativeSpan____i0_exactType = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.ConvertToUnmanaged(__children_native__managedSpan[__i0]); 302global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.Free(__children_native__nativeSpan____i0__original); 318int global::Microsoft.DiaSymReader.ISymUnmanagedScope.GetStartOffset(out int offset) 322var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.ISymUnmanagedScope)); 344global::Microsoft.DiaSymReader.ISymUnmanagedScope @this = default; 351@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.DiaSymReader.ISymUnmanagedScope>(__this_native); 366int global::Microsoft.DiaSymReader.ISymUnmanagedScope.GetEndOffset(out int offset) 370var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.ISymUnmanagedScope)); 392global::Microsoft.DiaSymReader.ISymUnmanagedScope @this = default; 399@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.DiaSymReader.ISymUnmanagedScope>(__this_native); 414int global::Microsoft.DiaSymReader.ISymUnmanagedScope.GetLocalCount(out int count) 418var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.ISymUnmanagedScope)); 440global::Microsoft.DiaSymReader.ISymUnmanagedScope @this = default; 447@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.DiaSymReader.ISymUnmanagedScope>(__this_native); 462int global::Microsoft.DiaSymReader.ISymUnmanagedScope.GetLocals(int bufferLength, out int count, global::Microsoft.DiaSymReader.ISymUnmanagedVariable[] locals) 466var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.ISymUnmanagedScope)); 543global::Microsoft.DiaSymReader.ISymUnmanagedScope @this = default; 565@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.DiaSymReader.ISymUnmanagedScope>(__this_native); 593int global::Microsoft.DiaSymReader.ISymUnmanagedScope.GetNamespaces(int bufferLength, out int count, global::Microsoft.DiaSymReader.ISymUnmanagedNamespace[] namespaces) 597var (__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.ISymUnmanagedScope)); 674global::Microsoft.DiaSymReader.ISymUnmanagedScope @this = default; 696@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.DiaSymReader.ISymUnmanagedScope>(__this_native);
Generated\361d1da7f942c932\Microsoft.DiaSymReader.ISymUnmanagedScope2.cs (32)
48global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(global::Microsoft.DiaSymReader.ISymUnmanagedScope).TypeHandle).ManagedVirtualMethodTable, 275int global::Microsoft.DiaSymReader.ISymUnmanagedScope2.GetParent(out global::Microsoft.DiaSymReader.ISymUnmanagedScope scope) 295scope = global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.ConvertToManaged(__scope_native); 302global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.Free(__scope_native); 312int global::Microsoft.DiaSymReader.ISymUnmanagedScope2.GetChildren(int bufferLength, out int count, global::Microsoft.DiaSymReader.ISymUnmanagedScope[] children) 324scoped global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope, global::System.IntPtr>.ManagedToUnmanagedIn __children_native__marshaller = new(); 331__children_native__marshaller.FromManaged(children, stackalloc global::System.IntPtr[global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope, global::System.IntPtr>.ManagedToUnmanagedIn.BufferSize]); 333global::System.ReadOnlySpan<global::Microsoft.DiaSymReader.ISymUnmanagedScope> __children_native__managedSpan = __children_native__marshaller.GetManagedValuesSource(); 338__children_native__nativeSpan____i0_exactType = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.ConvertToUnmanaged(__children_native__managedSpan[__i0]); 356global::System.Span<global::Microsoft.DiaSymReader.ISymUnmanagedScope> __children_native__managedSpan = global::System.Runtime.InteropServices.MemoryMarshal.CreateSpan(ref global::System.Runtime.CompilerServices.Unsafe.AsRef(in __children_native__marshaller.GetManagedValuesSource().GetPinnableReference()), __children_native__numElements); 361__children_native__managedSpan[__i0] = global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.ConvertToManaged(__children_native__nativeSpan____i0_exactType); 378global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.Free(__children_native__nativeSpan____i0_exactType); 613int global::Microsoft.DiaSymReader.ISymUnmanagedScope.GetMethod(out global::Microsoft.DiaSymReader.ISymUnmanagedMethod @method) => throw new global::System.Diagnostics.UnreachableException(); 615int global::Microsoft.DiaSymReader.ISymUnmanagedScope.GetParent(out global::Microsoft.DiaSymReader.ISymUnmanagedScope scope) => throw new global::System.Diagnostics.UnreachableException(); 617int global::Microsoft.DiaSymReader.ISymUnmanagedScope.GetChildren(int bufferLength, out int count, global::Microsoft.DiaSymReader.ISymUnmanagedScope[] children) => throw new global::System.Diagnostics.UnreachableException(); 619int global::Microsoft.DiaSymReader.ISymUnmanagedScope.GetStartOffset(out int offset) => throw new global::System.Diagnostics.UnreachableException(); 621int global::Microsoft.DiaSymReader.ISymUnmanagedScope.GetEndOffset(out int offset) => throw new global::System.Diagnostics.UnreachableException(); 623int global::Microsoft.DiaSymReader.ISymUnmanagedScope.GetLocalCount(out int count) => throw new global::System.Diagnostics.UnreachableException(); 625int global::Microsoft.DiaSymReader.ISymUnmanagedScope.GetLocals(int bufferLength, out int count, global::Microsoft.DiaSymReader.ISymUnmanagedVariable[] locals) => throw new global::System.Diagnostics.UnreachableException(); 627int global::Microsoft.DiaSymReader.ISymUnmanagedScope.GetNamespaces(int bufferLength, out int count, global::Microsoft.DiaSymReader.ISymUnmanagedNamespace[] namespaces) => throw new global::System.Diagnostics.UnreachableException(); 638new int GetMethod(out global::Microsoft.DiaSymReader.ISymUnmanagedMethod @method) => ((global::Microsoft.DiaSymReader.ISymUnmanagedScope)this).GetMethod(out @method); 642new int GetParent(out global::Microsoft.DiaSymReader.ISymUnmanagedScope scope) => ((global::Microsoft.DiaSymReader.ISymUnmanagedScope)this).GetParent(out scope); 646new int GetChildren(int bufferLength, out int count, global::Microsoft.DiaSymReader.ISymUnmanagedScope[] children) => ((global::Microsoft.DiaSymReader.ISymUnmanagedScope)this).GetChildren(bufferLength, out count, children); 650new int GetStartOffset(out int offset) => ((global::Microsoft.DiaSymReader.ISymUnmanagedScope)this).GetStartOffset(out offset); 654new int GetEndOffset(out int offset) => ((global::Microsoft.DiaSymReader.ISymUnmanagedScope)this).GetEndOffset(out offset); 658new int GetLocalCount(out int count) => ((global::Microsoft.DiaSymReader.ISymUnmanagedScope)this).GetLocalCount(out count); 662new int GetLocals(int bufferLength, out int count, global::Microsoft.DiaSymReader.ISymUnmanagedVariable[] locals) => ((global::Microsoft.DiaSymReader.ISymUnmanagedScope)this).GetLocals(bufferLength, out count, locals); 666new int GetNamespaces(int bufferLength, out int count, global::Microsoft.DiaSymReader.ISymUnmanagedNamespace[] namespaces) => ((global::Microsoft.DiaSymReader.ISymUnmanagedScope)this).GetNamespaces(bufferLength, out count, namespaces);
Reader\ISymUnmanagedMethod.cs (2)
23int GetRootScope([MarshalAs(UnmanagedType.Interface)] out ISymUnmanagedScope scope); 26int GetScopeFromOffset(int offset, [MarshalAs(UnmanagedType.Interface)] out ISymUnmanagedScope scope);
Reader\ISymUnmanagedScope.cs (2)
20int GetParent([MarshalAs(UnmanagedType.Interface)] out ISymUnmanagedScope scope); 26[In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] ISymUnmanagedScope[] children);