2 interfaces inheriting from ISymUnmanagedScope
Microsoft.DiaSymReader (2)
_generated\28\Microsoft.DiaSymReader.ISymUnmanagedScope.cs (1)
27file unsafe interface InterfaceImplementation : global::Microsoft.DiaSymReader.ISymUnmanagedScope
Reader\ISymUnmanagedScope2.cs (1)
13public partial interface ISymUnmanagedScope2 : ISymUnmanagedScope
127 references to ISymUnmanagedScope
Microsoft.DiaSymReader (127)
_generated\19\Microsoft.DiaSymReader.ISymUnmanagedMethod.cs (10)
143int global::Microsoft.DiaSymReader.ISymUnmanagedMethod.GetRootScope(out global::Microsoft.DiaSymReader.ISymUnmanagedScope scope) 162scope = global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.ConvertToManaged(__scope_native); 169global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.Free(__scope_native); 182global::Microsoft.DiaSymReader.ISymUnmanagedScope scope = default; 190__scope_native = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.ConvertToUnmanaged(scope); 202int global::Microsoft.DiaSymReader.ISymUnmanagedMethod.GetScopeFromOffset(int offset, out global::Microsoft.DiaSymReader.ISymUnmanagedScope scope) 221scope = global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.ConvertToManaged(__scope_native); 228global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.Free(__scope_native); 241global::Microsoft.DiaSymReader.ISymUnmanagedScope scope = default; 249__scope_native = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.ConvertToUnmanaged(scope);
_generated\20\Microsoft.DiaSymReader.ISymUnmanagedMethod2.cs (10)
133int global::Microsoft.DiaSymReader.ISymUnmanagedMethod2.GetRootScope(out global::Microsoft.DiaSymReader.ISymUnmanagedScope scope) 152scope = global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.ConvertToManaged(__scope_native); 159global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.Free(__scope_native); 169int global::Microsoft.DiaSymReader.ISymUnmanagedMethod2.GetScopeFromOffset(int offset, out global::Microsoft.DiaSymReader.ISymUnmanagedScope scope) 188scope = global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.ConvertToManaged(__scope_native); 195global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.Free(__scope_native); 558int global::Microsoft.DiaSymReader.ISymUnmanagedMethod.GetRootScope(out global::Microsoft.DiaSymReader.ISymUnmanagedScope scope) => throw new global::System.Diagnostics.UnreachableException(); 560int global::Microsoft.DiaSymReader.ISymUnmanagedMethod.GetScopeFromOffset(int offset, out global::Microsoft.DiaSymReader.ISymUnmanagedScope scope) => throw new global::System.Diagnostics.UnreachableException(); 591new int GetRootScope(out global::Microsoft.DiaSymReader.ISymUnmanagedScope scope) => ((global::Microsoft.DiaSymReader.ISymUnmanagedMethod)this).GetRootScope(out scope); 595new int GetScopeFromOffset(int offset, out global::Microsoft.DiaSymReader.ISymUnmanagedScope scope) => ((global::Microsoft.DiaSymReader.ISymUnmanagedMethod)this).GetScopeFromOffset(offset, out scope);
_generated\28\Microsoft.DiaSymReader.ISymUnmanagedScope.cs (57)
51int global::Microsoft.DiaSymReader.ISymUnmanagedScope.GetMethod(out global::Microsoft.DiaSymReader.ISymUnmanagedMethod method) 53var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.ISymUnmanagedScope)); 88global::Microsoft.DiaSymReader.ISymUnmanagedScope @this = default; 95@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.DiaSymReader.ISymUnmanagedScope>(__this_native); 110int global::Microsoft.DiaSymReader.ISymUnmanagedScope.GetParent(out global::Microsoft.DiaSymReader.ISymUnmanagedScope scope) 112var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.ISymUnmanagedScope)); 129scope = global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.ConvertToManaged(__scope_native); 136global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.Free(__scope_native); 147global::Microsoft.DiaSymReader.ISymUnmanagedScope @this = default; 149global::Microsoft.DiaSymReader.ISymUnmanagedScope scope = default; 154@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.DiaSymReader.ISymUnmanagedScope>(__this_native); 157__scope_native = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.ConvertToUnmanaged(scope); 169int global::Microsoft.DiaSymReader.ISymUnmanagedScope.GetChildren(int bufferLength, out int count, global::Microsoft.DiaSymReader.ISymUnmanagedScope[] children) 171var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.ISymUnmanagedScope)); 179scoped global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope, global::System.IntPtr>.ManagedToUnmanagedIn __children_native__marshaller = new(); 186__children_native__marshaller.FromManaged(children, stackalloc global::System.IntPtr[global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope, global::System.IntPtr>.ManagedToUnmanagedIn.BufferSize]); 188global::System.ReadOnlySpan<global::Microsoft.DiaSymReader.ISymUnmanagedScope> __children_native__managedSpan = __children_native__marshaller.GetManagedValuesSource(); 193__children_native__nativeSpan____i0_exactType = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.ConvertToUnmanaged(__children_native__managedSpan[__i0]); 213global::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); 218__children_native__managedSpan[__i0] = global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.ConvertToManaged(__children_native__nativeSpan____i0_exactType); 236global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.Free(__children_native__nativeSpan____i0_exactType); 250global::Microsoft.DiaSymReader.ISymUnmanagedScope @this = default; 253global::Microsoft.DiaSymReader.ISymUnmanagedScope[] children = default; 262children = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope, global::System.IntPtr>.AllocateContainerForManagedElements(__children_native, __children_native__numElements); 264global::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); 265global::System.Span<global::Microsoft.DiaSymReader.ISymUnmanagedScope> __children_native__managedSpan = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope, global::System.IntPtr>.GetManagedValuesDestination(children); 269__children_native__managedSpan[__i0] = global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.ConvertToManaged(__children_native__nativeSpan____i0_exactType); 273@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.DiaSymReader.ISymUnmanagedScope>(__this_native); 277__children_native__numElements = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope, global::System.IntPtr>.GetManagedValuesDestination(children).Length; 278global::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); 279global::System.Span<global::Microsoft.DiaSymReader.ISymUnmanagedScope> __children_native__managedSpan = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope, global::System.IntPtr>.GetManagedValuesDestination(children); 284__children_native__nativeSpan____i0_exactType = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.ConvertToUnmanaged(__children_native__managedSpan[__i0]); 285global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.Free(__children_native__nativeSpan____i0__original); 302int global::Microsoft.DiaSymReader.ISymUnmanagedScope.GetStartOffset(out int offset) 304var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.ISymUnmanagedScope)); 324global::Microsoft.DiaSymReader.ISymUnmanagedScope @this = default; 331@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.DiaSymReader.ISymUnmanagedScope>(__this_native); 346int global::Microsoft.DiaSymReader.ISymUnmanagedScope.GetEndOffset(out int offset) 348var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.ISymUnmanagedScope)); 368global::Microsoft.DiaSymReader.ISymUnmanagedScope @this = default; 375@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.DiaSymReader.ISymUnmanagedScope>(__this_native); 390int global::Microsoft.DiaSymReader.ISymUnmanagedScope.GetLocalCount(out int count) 392var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.ISymUnmanagedScope)); 412global::Microsoft.DiaSymReader.ISymUnmanagedScope @this = default; 419@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.DiaSymReader.ISymUnmanagedScope>(__this_native); 434int global::Microsoft.DiaSymReader.ISymUnmanagedScope.GetLocals(int bufferLength, out int count, global::Microsoft.DiaSymReader.ISymUnmanagedVariable[] locals) 436var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.ISymUnmanagedScope)); 515global::Microsoft.DiaSymReader.ISymUnmanagedScope @this = default; 538@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.DiaSymReader.ISymUnmanagedScope>(__this_native); 567int global::Microsoft.DiaSymReader.ISymUnmanagedScope.GetNamespaces(int bufferLength, out int count, global::Microsoft.DiaSymReader.ISymUnmanagedNamespace[] namespaces) 569var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.DiaSymReader.ISymUnmanagedScope)); 648global::Microsoft.DiaSymReader.ISymUnmanagedScope @this = default; 671@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.DiaSymReader.ISymUnmanagedScope>(__this_native);
_generated\29\Microsoft.DiaSymReader.ISymUnmanagedScope2.cs (32)
37global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(global::Microsoft.DiaSymReader.ISymUnmanagedScope).TypeHandle).ManagedVirtualMethodTable, 260int global::Microsoft.DiaSymReader.ISymUnmanagedScope2.GetParent(out global::Microsoft.DiaSymReader.ISymUnmanagedScope scope) 279scope = global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.ConvertToManaged(__scope_native); 286global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.Free(__scope_native); 296int global::Microsoft.DiaSymReader.ISymUnmanagedScope2.GetChildren(int bufferLength, out int count, global::Microsoft.DiaSymReader.ISymUnmanagedScope[] children) 306scoped global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope, global::System.IntPtr>.ManagedToUnmanagedIn __children_native__marshaller = new(); 313__children_native__marshaller.FromManaged(children, stackalloc global::System.IntPtr[global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope, global::System.IntPtr>.ManagedToUnmanagedIn.BufferSize]); 315global::System.ReadOnlySpan<global::Microsoft.DiaSymReader.ISymUnmanagedScope> __children_native__managedSpan = __children_native__marshaller.GetManagedValuesSource(); 320__children_native__nativeSpan____i0_exactType = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.ConvertToUnmanaged(__children_native__managedSpan[__i0]); 340global::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); 345__children_native__managedSpan[__i0] = global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.ConvertToManaged(__children_native__nativeSpan____i0_exactType); 363global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::Microsoft.DiaSymReader.ISymUnmanagedScope>.Free(__children_native__nativeSpan____i0_exactType); 597int global::Microsoft.DiaSymReader.ISymUnmanagedScope.GetMethod(out global::Microsoft.DiaSymReader.ISymUnmanagedMethod method) => throw new global::System.Diagnostics.UnreachableException(); 599int global::Microsoft.DiaSymReader.ISymUnmanagedScope.GetParent(out global::Microsoft.DiaSymReader.ISymUnmanagedScope scope) => throw new global::System.Diagnostics.UnreachableException(); 601int global::Microsoft.DiaSymReader.ISymUnmanagedScope.GetChildren(int bufferLength, out int count, global::Microsoft.DiaSymReader.ISymUnmanagedScope[] children) => throw new global::System.Diagnostics.UnreachableException(); 603int global::Microsoft.DiaSymReader.ISymUnmanagedScope.GetStartOffset(out int offset) => throw new global::System.Diagnostics.UnreachableException(); 605int global::Microsoft.DiaSymReader.ISymUnmanagedScope.GetEndOffset(out int offset) => throw new global::System.Diagnostics.UnreachableException(); 607int global::Microsoft.DiaSymReader.ISymUnmanagedScope.GetLocalCount(out int count) => throw new global::System.Diagnostics.UnreachableException(); 609int global::Microsoft.DiaSymReader.ISymUnmanagedScope.GetLocals(int bufferLength, out int count, global::Microsoft.DiaSymReader.ISymUnmanagedVariable[] locals) => throw new global::System.Diagnostics.UnreachableException(); 611int global::Microsoft.DiaSymReader.ISymUnmanagedScope.GetNamespaces(int bufferLength, out int count, global::Microsoft.DiaSymReader.ISymUnmanagedNamespace[] namespaces) => throw new global::System.Diagnostics.UnreachableException(); 622new int GetMethod(out global::Microsoft.DiaSymReader.ISymUnmanagedMethod method) => ((global::Microsoft.DiaSymReader.ISymUnmanagedScope)this).GetMethod(out method); 626new int GetParent(out global::Microsoft.DiaSymReader.ISymUnmanagedScope scope) => ((global::Microsoft.DiaSymReader.ISymUnmanagedScope)this).GetParent(out scope); 630new int GetChildren(int bufferLength, out int count, global::Microsoft.DiaSymReader.ISymUnmanagedScope[] children) => ((global::Microsoft.DiaSymReader.ISymUnmanagedScope)this).GetChildren(bufferLength, out count, children); 634new int GetStartOffset(out int offset) => ((global::Microsoft.DiaSymReader.ISymUnmanagedScope)this).GetStartOffset(out offset); 638new int GetEndOffset(out int offset) => ((global::Microsoft.DiaSymReader.ISymUnmanagedScope)this).GetEndOffset(out offset); 642new int GetLocalCount(out int count) => ((global::Microsoft.DiaSymReader.ISymUnmanagedScope)this).GetLocalCount(out count); 646new int GetLocals(int bufferLength, out int count, global::Microsoft.DiaSymReader.ISymUnmanagedVariable[] locals) => ((global::Microsoft.DiaSymReader.ISymUnmanagedScope)this).GetLocals(bufferLength, out count, locals); 650new int GetNamespaces(int bufferLength, out int count, global::Microsoft.DiaSymReader.ISymUnmanagedNamespace[] namespaces) => ((global::Microsoft.DiaSymReader.ISymUnmanagedScope)this).GetNamespaces(bufferLength, out count, namespaces);
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)
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);