Skip to content
This repository was archived by the owner on Mar 30, 2019. It is now read-only.

Commit 8b648d6

Browse files
committed
[Comments] Add inherit on basic disposes and tostring
1 parent efb5f91 commit 8b648d6

7 files changed

Lines changed: 8 additions & 1 deletion

File tree

Source/SharpDX.Direct3D11/Device1.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ public T OpenSharedResource1<T>(string name, SharpDX.DXGI.SharedResourceFlags de
270270
return FromPointer<T>(temp);
271271
}
272272

273-
273+
/// <inheritdoc/>
274274
protected override void Dispose(bool disposing)
275275
{
276276
if (disposing)

Source/SharpDX.Direct3D11/Device2.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ namespace SharpDX.Direct3D11
2121
{
2222
public partial class Device2
2323
{
24+
/// <inheritdoc/>
2425
protected override void Dispose(bool disposing)
2526
{
2627
if (disposing)

Source/SharpDX.Direct3D11/Device3.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ namespace SharpDX.Direct3D11
2121
{
2222
public partial class Device3
2323
{
24+
/// <inheritdoc/>
2425
protected override void Dispose(bool disposing)
2526
{
2627
if (disposing)

Source/SharpDX.Direct3D11/DeviceChild.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,14 @@ public string DebugName
6363
}
6464
}
6565

66+
/// <inheritdoc/>
6667
protected override void NativePointerUpdated(IntPtr oldNativePointer)
6768
{
6869
DisposeDevice();
6970
base.NativePointerUpdated(oldNativePointer);
7071
}
7172

73+
/// <inheritdoc/>
7274
protected override unsafe void Dispose(bool disposing)
7375
{
7476
if (disposing)

Source/SharpDX.Direct3D11/DeviceContext.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -608,6 +608,7 @@ internal unsafe bool UpdateSubresourceSafe(SharpDX.Direct3D11.Resource dstResour
608608
private bool isCheckThreadingSupport;
609609
private bool supportsCommandLists;
610610

611+
/// <inheritdoc/>
611612
protected override unsafe void Dispose(bool disposing)
612613
{
613614
if (disposing)

Source/SharpDX.Direct3D11/Message.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ internal unsafe void __MarshalFrom(ref __Native @ref)
4545
this.DescriptionByteLength = @ref.DescriptionByteLength;
4646
}
4747

48+
/// <inheritdoc/>
4849
public override string ToString()
4950
{
5051
return string.Format("[{0}] [{1}] [{2}] : {3}", Id, Severity, Category, Description);

Source/SharpDX.Direct3D12/Message.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ internal unsafe void __MarshalFrom(ref __Native @ref)
2626
this.DescriptionByteLength = @ref.DescriptionByteLength;
2727
}
2828

29+
/// <inheritdoc/>
2930
public override string ToString()
3031
{
3132
return string.Format("[{0}] [{1}] [{2}] : {3}", Id, Severity, Category, Description);

0 commit comments

Comments
 (0)