1 // Licensed to the .NET Foundation under one or more agreements. 2 // The .NET Foundation licenses this file to you under the MIT license. 3 // See the LICENSE file in the project root for more information. 4 5 using System.Diagnostics; 6 using System.Data.SqlClient.SNI; 7 8 namespace System.Data.SqlClient 9 { 10 sealed internal partial class TdsParser 11 { PostReadAsyncForMars()12 internal void PostReadAsyncForMars() 13 { 14 // No-Op 15 } 16 LoadSSPILibrary()17 private void LoadSSPILibrary() 18 { 19 // No - Op 20 } 21 WaitForSSLHandShakeToComplete(ref uint error)22 private void WaitForSSLHandShakeToComplete(ref uint error) 23 { 24 // No - Op 25 26 } 27 GetSniErrorDetails()28 private SNIErrorDetails GetSniErrorDetails() 29 { 30 SNIErrorDetails details; 31 SNIError sniError = SNIProxy.Singleton.GetLastError(); 32 details.sniErrorNumber = sniError.sniError; 33 details.errorMessage = sniError.errorMessage; 34 details.nativeError = sniError.nativeError; 35 details.provider = (int)sniError.provider; 36 details.lineNumber = sniError.lineNumber; 37 details.function = sniError.function; 38 details.exception = sniError.exception; 39 40 return details; 41 } 42 43 } // tdsparser 44 }//namespace