24 references to ThrowExceptionForHR
Microsoft.Build (10)
InprocTrackingNativeMethods.cs (10)
98
Marshal.
ThrowExceptionForHR
(hresult, new IntPtr(-1));
104
Marshal.
ThrowExceptionForHR
(hresult, new IntPtr(-1));
110
Marshal.
ThrowExceptionForHR
(hresult, new IntPtr(-1));
116
Marshal.
ThrowExceptionForHR
(hresult, new IntPtr(-1));
122
Marshal.
ThrowExceptionForHR
(hresult, new IntPtr(-1));
128
Marshal.
ThrowExceptionForHR
(hresult, new IntPtr(-1));
134
Marshal.
ThrowExceptionForHR
(hresult, new IntPtr(-1));
140
Marshal.
ThrowExceptionForHR
(hresult, new IntPtr(-1));
146
Marshal.
ThrowExceptionForHR
(hresult, new IntPtr(-1));
220
Marshal.
ThrowExceptionForHR
(hresult, new IntPtr(-1));
Microsoft.CodeAnalysis (1)
DiaSymReader\Utilities\InteropUtilities.cs (1)
30
Marshal.
ThrowExceptionForHR
(hr, s_ignoreIErrorInfo);
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (1)
PDB\MethodDebugInfo.Native.cs (1)
207
Marshal.
ThrowExceptionForHR
(hr, s_ignoreIErrorInfo);
Microsoft.VisualStudio.LanguageServices (4)
Utilities\Exceptions.cs (4)
16
Marshal.
ThrowExceptionForHR
(VSConstants.E_FAIL, new IntPtr(-1));
24
Marshal.
ThrowExceptionForHR
(VSConstants.E_INVALIDARG, new IntPtr(-1));
32
Marshal.
ThrowExceptionForHR
(VSConstants.E_NOTIMPL, new IntPtr(-1));
40
Marshal.
ThrowExceptionForHR
(VSConstants.E_UNEXPECTED, new IntPtr(-1));
PresentationCore (2)
MS\Internal\Text\TextInterface\DWriteUtil.cs (1)
39
System.Runtime.InteropServices.Marshal.
ThrowExceptionForHR
(hr, new System.IntPtr(-1));
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\SecurityHelper.cs (1)
140
Marshal.
ThrowExceptionForHR
(hr, new IntPtr(-1));
System.Private.CoreLib (4)
src\System\Reflection\RuntimeAssembly.cs (1)
734
Marshal.
ThrowExceptionForHR
(tokenMaybe, new IntPtr(-1));
src\System\RuntimeHandles.cs (3)
2122
Marshal.
ThrowExceptionForHR
(offsetMaybe, new IntPtr(-1));
2140
Marshal.
ThrowExceptionForHR
(offsetMaybe, new IntPtr(-1));
2158
Marshal.
ThrowExceptionForHR
(callConvMaybe, new IntPtr(-1));
UIAutomationProvider (1)
MS\Internal\Automation\UiaCoreProviderApi.cs (1)
105
Marshal.
ThrowExceptionForHR
(hr, (IntPtr)(-1));
UIAutomationTypes (1)
MS\Internal\Automation\UiaCoreTypesApi.cs (1)
102
Marshal.
ThrowExceptionForHR
(hr, (IntPtr)(-1));