@@ -191,8 +191,8 @@ internal static void anonymous_types(this TextWriter trapFile, Type type) =>
191
191
internal static void field_location ( this TextWriter trapFile , Field field , Location location ) =>
192
192
trapFile . WriteTuple ( "field_location" , field , location ) ;
193
193
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 ) ;
196
196
197
197
internal static void general_type_parameter_constraints ( this TextWriter trapFile , TypeParameterConstraints constraints , int hasKind ) =>
198
198
trapFile . WriteTuple ( "general_type_parameter_constraints" , constraints , hasKind ) ;
@@ -227,8 +227,8 @@ internal static void local_functions(this TextWriter trapFile, LocalFunction fn,
227
227
internal static void localvar_location ( this TextWriter trapFile , LocalVariable var , Location location ) =>
228
228
trapFile . WriteTuple ( "localvar_location" , var , location ) ;
229
229
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 ) ;
232
232
233
233
public static void metadata_handle ( this TextWriter trapFile , IEntity entity , Location assembly , int handleValue ) =>
234
234
trapFile . WriteTuple ( "metadata_handle" , entity , assembly , handleValue ) ;
0 commit comments