@@ -39,7 +39,7 @@ public enum CilTypeKind
3939 /// <summary>
4040 /// A type container (namespace/types/method).
4141 /// </summary>
42- interface ITypeContainer : ILabelledEntity
42+ interface ITypeContainer : IExtractedEntity
4343 {
4444 }
4545
@@ -231,10 +231,9 @@ public void PrimitiveTypeId(TextWriter trapFile)
231231 /// <summary>
232232 /// Gets the primitive type corresponding to this type, if possible.
233233 /// </summary>
234- /// <param name="cx">Extraction context.</param>
235- /// <param name="t">The resulting primitive type.</param>
234+ /// <param name="t">The resulting primitive type, or null.</param>
236235 /// <returns>True if this type is a primitive type.</returns>
237- public bool TryGetPrimitiveType ( Context cx , out PrimitiveType t )
236+ public bool TryGetPrimitiveType ( out PrimitiveType t )
238237 {
239238 if ( TryGetPrimitiveTypeCode ( out var code ) )
240239 {
@@ -830,7 +829,7 @@ public override void WriteId(TextWriter trapFile, bool inContext)
830829 int index = 0 ;
831830 foreach ( var t in thisTypeArguments )
832831 {
833- trapFile . WriteSeparator ( "," , index ++ ) ;
832+ trapFile . WriteSeparator ( "," , ref index ) ;
834833 t . WriteId ( trapFile ) ;
835834 }
836835 trapFile . Write ( '>' ) ;
@@ -1253,7 +1252,7 @@ public void WriteId(TextWriter trapFile, GenericContext gc)
12531252 int index = 0 ;
12541253 foreach ( var arg in typeArguments )
12551254 {
1256- trapFile . WriteSeparator ( "," , index ++ ) ;
1255+ trapFile . WriteSeparator ( "," , ref index ) ;
12571256 arg . WriteId ( trapFile , gc ) ;
12581257 }
12591258 trapFile . Write ( '>' ) ;
0 commit comments