File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/MongoDB.Driver.Core/Core/Authentication/Sspi Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ public SecurityBufferDescriptor(SecurityBuffer[] buffers)
6565
6666 //Allocate memory for SecBuffer Array....
6767#if NETSTANDARD1_6
68- BufferPtr = Marshal . AllocHGlobal ( Marshal . SizeOf < SecurityBuffer > ( ) * NumBuffers ) ;
68+ BufferPtr = Marshal . AllocHGlobal ( Marshal . SizeOf < SecurityBuffer > ( ) * NumBuffers ) ;
6969#else
7070 BufferPtr = Marshal . AllocHGlobal ( Marshal . SizeOf ( typeof ( SecurityBuffer ) ) * NumBuffers ) ;
7171#endif
@@ -150,7 +150,7 @@ public byte[] ToByteArray()
150150 if ( NumBuffers == 1 )
151151 {
152152#if NETSTANDARD1_6
153- var buffer = Marshal . PtrToStructure < SecurityBuffer > ( BufferPtr ) ;
153+ var buffer = Marshal . PtrToStructure < SecurityBuffer > ( BufferPtr ) ;
154154#else
155155 var buffer = ( SecurityBuffer ) Marshal . PtrToStructure ( BufferPtr , typeof ( SecurityBuffer ) ) ;
156156#endif
You can’t perform that action at this time.
0 commit comments