private void BuildDisplayForTypeArgumentsAndDelimiters(IReadOnlyList <ITypeParameter> typeParameters, ITypeMapper mapper, ISymbolWriter writer, INode enclosingDeclaration, TypeFormatFlags?flags = null, Stack <ISymbol> symbolStack = null) { if (typeParameters != null && typeParameters.Count != 0) { WritePunctuation(writer, SyntaxKind.LessThanToken); for (var i = 0; i < typeParameters.Count; i++) { if (i > 0) { WritePunctuation(writer, SyntaxKind.CommaToken); WriteSpace(writer); } BuildTypeDisplay(mapper.Mapper(typeParameters[i]), writer, enclosingDeclaration, TypeFormatFlags.None); } WritePunctuation(writer, SyntaxKind.GreaterThanToken); } }