@@ -191,8 +191,8 @@ internal static void anonymous_types(this TextWriter trapFile, Type type) =>
191191 internal static void field_location ( this TextWriter trapFile , Field field , Location location ) =>
192192 trapFile . WriteTuple ( "field_location" , field , location ) ;
193193
194- internal static void fields ( this TextWriter trapFile , Field field , int @const , string name , Type declaringType , Type fieldType , Field unboundKey ) =>
195- trapFile . WriteTuple ( "fields" , field , @const , name , declaringType , fieldType , unboundKey ) ;
194+ internal static void fields ( this TextWriter trapFile , Field field , VariableKind kind , string name , Type declaringType , Type fieldType , Field unboundKey ) =>
195+ trapFile . WriteTuple ( "fields" , field , ( int ) kind , name , declaringType , fieldType , unboundKey ) ;
196196
197197 internal static void general_type_parameter_constraints ( this TextWriter trapFile , TypeParameterConstraints constraints , int hasKind ) =>
198198 trapFile . WriteTuple ( "general_type_parameter_constraints" , constraints , hasKind ) ;
@@ -227,8 +227,8 @@ internal static void local_functions(this TextWriter trapFile, LocalFunction fn,
227227 internal static void localvar_location ( this TextWriter trapFile , LocalVariable var , Location location ) =>
228228 trapFile . WriteTuple ( "localvar_location" , var , location ) ;
229229
230- internal static void localvars ( this TextWriter trapFile , LocalVariable key , int @const , string name , int @var , Type type , Expression expr ) =>
231- trapFile . WriteTuple ( "localvars" , key , @const , name , @var , type , expr ) ;
230+ internal static void localvars ( this TextWriter trapFile , LocalVariable key , VariableKind kind , string name , int @var , Type type , Expression expr ) =>
231+ trapFile . WriteTuple ( "localvars" , key , ( int ) kind , name , @var , type , expr ) ;
232232
233233 public static void metadata_handle ( this TextWriter trapFile , IEntity entity , Location assembly , int handleValue ) =>
234234 trapFile . WriteTuple ( "metadata_handle" , entity , assembly , handleValue ) ;
0 commit comments