diff --git a/bindings/dotnet/src/Graphics/Image.cs b/bindings/dotnet/src/Graphics/Image.cs
index 03c01237c..745395db6 100644
--- a/bindings/dotnet/src/Graphics/Image.cs
+++ b/bindings/dotnet/src/Graphics/Image.cs
@@ -394,9 +394,6 @@ namespace SFML
}
#region Imports
- [DllImport("csfml-graphics-2", CallingConvention = CallingConvention.Cdecl), SuppressUnmanagedCodeSecurity]
- static extern IntPtr sfImage_Create();
-
[DllImport("csfml-graphics-2", CallingConvention = CallingConvention.Cdecl), SuppressUnmanagedCodeSecurity]
static extern IntPtr sfImage_CreateFromColor(uint Width, uint Height, Color Col);
diff --git a/bindings/dotnet/src/Graphics/Shader.cs b/bindings/dotnet/src/Graphics/Shader.cs
index eabdf7ed9..3817c9d1e 100644
--- a/bindings/dotnet/src/Graphics/Shader.cs
+++ b/bindings/dotnet/src/Graphics/Shader.cs
@@ -48,7 +48,7 @@ namespace SFML
/// String containing the shader code
///
////////////////////////////////////////////////////////////
- void LoadFromString(string shader)
+ public void LoadFromString(string shader)
{
SetThis(sfShader_CreateFromMemory(shader));
@@ -207,9 +207,7 @@ namespace SFML
Dictionary myTextures = new Dictionary();
#region Imports
- [DllImport("csfml-graphics-2", CallingConvention = CallingConvention.Cdecl), SuppressUnmanagedCodeSecurity]
- static extern IntPtr sfShader_Create();
-
+
[DllImport("csfml-graphics-2", CallingConvention = CallingConvention.Cdecl), SuppressUnmanagedCodeSecurity]
static extern IntPtr sfShader_CreateFromFile(string Filename);