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

Commit 12669e5

Browse files
author
AndrewSt
committed
[Direct3D11] remove nameof operator
1 parent a1ad26a commit 12669e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/SharpDX.Direct3D11/Device.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ private void CreateDevice(Adapter adapter, DriverType driverType, DeviceCreation
681681
/// <unmanaged-short>D3D11On12CreateDevice</unmanaged-short>
682682
public static Device CreateFromDirect3D12(ComObject d3D12Device, Direct3D11.DeviceCreationFlags flags, Direct3D.FeatureLevel[] featureLevels, DXGI.Adapter adapter, params ComObject[] commandQueues)
683683
{
684-
if(d3D12Device == null) throw new ArgumentNullException(nameof(d3D12Device));
684+
if(d3D12Device == null) throw new ArgumentNullException("d3D12Device");
685685
Device devOut;
686686
DeviceContext contextOut;
687687
FeatureLevel featurelevelOut;

0 commit comments

Comments
 (0)