File tree Expand file tree Collapse file tree 5 files changed +7
-3
lines changed 
src/Microsoft.Data.SqlClient 
Common/System/Runtime/CompilerServicesOverride 
src/Microsoft/Data/SqlClient Expand file tree Collapse file tree 5 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 11using  System . Diagnostics ; 
22
3- namespace  Microsoft . Data . SqlClient 
3+ namespace  System . Runtime . CompilerServicesOverride 
44{ 
55    internal  struct  RuntimeHelpers 
66    { 
Original file line number Diff line number Diff line change 637637    <Compile  Include =" Common\System\Net\Security\SecurityBufferType.cs" 
638638    <Compile  Include =" Common\System\Net\SecurityStatusPal.cs" 
639639    <Compile  Include =" Common\System\Threading\Tasks\TaskToApm.cs" 
640+     <Compile  Include =" Common\System\Runtime\CompilerServicesOverride\RuntimeHelpers.cs" 
640641    <Compile  Include =" Interop\SNINativeMethodWrapper.Common.cs" 
641642    <Compile  Include =" Microsoft\Data\Common\DbConnectionOptions.cs" 
642643    <Compile  Include =" Microsoft\Data\SqlClient\LocalDBAPI.cs" 
683684    <Compile  Include =" Microsoft\Data\SqlClient\TdsParserStateObjectManaged.cs" 
684685    <Compile  Include =" Microsoft\Data\SqlTypes\SqlTypeWorkarounds.netcore.cs" 
685686    <Compile  Include =" Microsoft.Data.SqlClient.TypeForwards.cs" 
686-     <Compile  Include =" RuntimeHelpers.cs" 
687687  </ItemGroup >
688688
689689  <!--  Windows only --> 
Original file line number Diff line number Diff line change 1313using  System . Globalization ; 
1414using  System . IO ; 
1515using  System . Reflection ; 
16+ using  RuntimeHelpers  =  System . Runtime . CompilerServicesOverride . RuntimeHelpers ; 
1617using  System . Runtime . CompilerServices ; 
1718using  System . Text ; 
1819using  System . Text . Json ; 
Original file line number Diff line number Diff line change 55using  System ; 
66using  System . Diagnostics ; 
77using  System . Buffers . Binary ; 
8+ using  System . Runtime . CompilerServicesOverride ; 
89using  System . Runtime . InteropServices ; 
910using  System . Security ; 
1011using  System . Threading ; 
Original file line number Diff line number Diff line change @@ -17,8 +17,10 @@ namespace Microsoft.Data.SqlClient
1717#if NETFRAMEWORK 
1818    using  PacketHandle  =  IntPtr ; 
1919    using  RuntimeHelpers  =  System . Runtime . CompilerServices . RuntimeHelpers ; 
20+ #else
21+     using  System . Runtime . CompilerServicesOverride ; 
2022#endif
21- 
23+      
2224    sealed  internal  class  LastIOTimer 
2325    { 
2426        internal  long  _value ; 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments