1+ using Microsoft . CodeAnalysis . CSharp . Syntax ;
12using Semmle . Extraction . CommentProcessing ;
23using Semmle . Extraction . CSharp . Entities ;
34using Semmle . Extraction . Entities ;
@@ -591,12 +592,16 @@ internal static void using_static_directives(this TextWriter trapFile, UsingDire
591592 trapFile . WriteTuple ( "using_static_directives" , @using , type ) ;
592593 }
593594
594- internal static void preprocessor_directive_location ( this TextWriter trapFile , IPreprocessorDirective directive , Location location )
595+ internal static void preprocessor_directive_location < TDirective > ( this TextWriter trapFile ,
596+ PreprocessorDirective < TDirective > directive , Location location )
597+ where TDirective : DirectiveTriviaSyntax
595598 {
596599 trapFile . WriteTuple ( "preprocessor_directive_location" , directive , location ) ;
597600 }
598601
599- internal static void preprocessor_directive_assembly ( this TextWriter trapFile , IPreprocessorDirective directive , Assembly assembly )
602+ internal static void preprocessor_directive_assembly < TDirective > ( this TextWriter trapFile ,
603+ PreprocessorDirective < TDirective > directive , Assembly assembly )
604+ where TDirective : DirectiveTriviaSyntax
600605 {
601606 trapFile . WriteTuple ( "preprocessor_directive_assembly" , directive , assembly ) ;
602607 }
@@ -610,5 +615,10 @@ internal static void pragma_warning_error_codes(this TextWriter trapFile, Pragma
610615 {
611616 trapFile . WriteTuple ( "pragma_warning_error_codes" , pragma , errorCode , child ) ;
612617 }
618+
619+ internal static void pragma_checksums ( this TextWriter trapFile , PragmaChecksumDirective pragma , string file , string guid , string bytes )
620+ {
621+ trapFile . WriteTuple ( "pragma_checksums" , pragma , file , guid , bytes ) ;
622+ }
613623 }
614624}
0 commit comments