diff --git a/source/UIDataCodeGen/CodeGen/Cppwinrt/CppwinrtInstantiatorGenerator.cs b/source/UIDataCodeGen/CodeGen/Cppwinrt/CppwinrtInstantiatorGenerator.cs index e3935fd0..a0c75000 100644 --- a/source/UIDataCodeGen/CodeGen/Cppwinrt/CppwinrtInstantiatorGenerator.cs +++ b/source/UIDataCodeGen/CodeGen/Cppwinrt/CppwinrtInstantiatorGenerator.cs @@ -1575,14 +1575,14 @@ internal CodeBuilder ToCodeBuilder() winrt::com_ptr Geometry() { return _geometry; } // IGeometrySource2DInterop. - IFACEMETHODIMP GetGeometry(ID2D1Geometry** value) override + IFACEMETHODIMP GetGeometry(ID2D1Geometry** value) noexcept(true) override { _geometry.copy_to(value); return S_OK; } // IGeometrySource2DInterop. - IFACEMETHODIMP TryGetGeometryUsingFactory(ID2D1Factory*, ID2D1Geometry**) override + IFACEMETHODIMP TryGetGeometryUsingFactory(ID2D1Factory*, ID2D1Geometry**) noexcept(true) override { return E_NOTIMPL; } @@ -1633,7 +1633,7 @@ void AddSource(winrt::Windows::Graphics::Effects::IGraphicsEffectSource source) winrt::hstring Name() { return m_name; } // IGraphicsEffectD2D1Interop. - IFACEMETHODIMP GetEffectId(GUID* id) override + IFACEMETHODIMP GetEffectId(GUID* id) noexcept(true) override { if (id != nullptr) { @@ -1645,7 +1645,7 @@ IFACEMETHODIMP GetEffectId(GUID* id) override } // IGraphicsEffectD2D1Interop. - IFACEMETHODIMP GetSourceCount(UINT* count) override + IFACEMETHODIMP GetSourceCount(UINT* count) noexcept(true) override { if (count != nullptr) { @@ -1658,7 +1658,7 @@ IFACEMETHODIMP GetSourceCount(UINT* count) override // IGraphicsEffectD2D1Interop. IFACEMETHODIMP GetSource( UINT index, - ::ABI::Windows::Graphics::Effects::IGraphicsEffectSource** source) override + ::ABI::Windows::Graphics::Effects::IGraphicsEffectSource** source) noexcept(true) override { if (index >= m_sources.size() || source == nullptr) @@ -1672,12 +1672,12 @@ IFACEMETHODIMP GetSource( } // IGraphicsEffectD2D1Interop. - IFACEMETHODIMP GetPropertyCount(UINT* count) override { *count = 1; return S_OK; } + IFACEMETHODIMP GetPropertyCount(UINT* count) noexcept(true) override { *count = 1; return S_OK; } // IGraphicsEffectD2D1Interop. IFACEMETHODIMP GetProperty( UINT index, - ::ABI::Windows::Foundation::IPropertyValue** value) override + ::ABI::Windows::Foundation::IPropertyValue** value) noexcept(true) override { switch (index) { @@ -1726,7 +1726,7 @@ class GaussianBlurEffect : public winrt::implements