31 references to List
Microsoft.CodeAnalysis.CSharp (13)
Syntax\SyntaxFactory.cs (13)
670return DocumentationCommentTrivia(SyntaxKind.SingleLineDocumentationCommentTrivia, List(content)) 681return XmlSummaryElement(List(content)); 795return XmlRemarksElement(List(content)); 813return XmlReturnsElement(List(content)); 831return XmlValueElement(List(content)); 850return XmlExceptionElement(cref, List(content)); 871return XmlPermissionElement(cref, List(content)); 891return XmlExampleElement(List(content)); 910return XmlParaElement(List(content)); 931return XmlParamElement(parameterName, List(content)); 983return XmlPlaceholderElement(List(content)); 2441return Block(List(statements)); 2447return Block(List(statements));
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\QueryExpressionSyntaxExtensions.cs (1)
44var clauses = SyntaxFactory.List(allClauses.Take(allClauses.Count() - 1).Cast<QueryClauseSyntax>());
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (3)
LexicalAndXml\XmlDocCommentTests.cs (1)
3018SyntaxFactory.List(new XmlNodeSyntax[] { SyntaxFactory.XmlText(".NET") })));
Syntax\SyntaxListTests.cs (2)
51: SyntaxFactory.List<SyntaxNode>( 268var list = SyntaxFactory.List<SyntaxNode>(
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
CodeGeneration\CSharpSyntaxGenerator.cs (3)
82(SyntaxList<XmlNodeSyntax>)SyntaxFactory.List(nodes), 95return SyntaxFactory.DocumentationCommentTrivia(documentationCommentTrivia.Kind(), (SyntaxList<XmlNodeSyntax>)SyntaxFactory.List(content), documentationCommentTrivia.EndOfComment); 458var list = SyntaxFactory.List(accessorDeclarations.Cast<AccessorDeclarationSyntax>());
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\QueryExpressionSyntaxExtensions.cs (1)
44var clauses = SyntaxFactory.List(allClauses.Take(allClauses.Count() - 1).Cast<QueryClauseSyntax>());
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (1)
Formatting\FormattingElasticTriviaTests.cs (1)
169members: List(
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
CodeCleanup\Extensions.cs (2)
37var newMembers = CSharp.SyntaxFactory.List(node.RemoveMember<CSharp.Syntax.MemberDeclarationSyntax>(index)); 45var newMembers = CSharp.SyntaxFactory.List(node.AddMember<CSharp.Syntax.MemberDeclarationSyntax>(member, index));
Microsoft.Interop.ComInterfaceGenerator (4)
ComInterfaceGenerator.cs (2)
493List<MemberDeclarationSyntax>( 507List<MemberDeclarationSyntax>(
ComMethodContext.cs (1)
133.WithAttributeLists(List(GenerationContext.SignatureContext.AdditionalAttributes.Concat(MethodInfo.Attributes.Select(a => a.GenerateAttributeList()))))
UnmanagedToManagedStubGenerator.cs (1)
83SyntaxList<CatchClauseSyntax> catchClauses = List(statements.ManagedExceptionCatchClauses);
Microsoft.Interop.JavaScript.JSImportGenerator (2)
JSExportGenerator.cs (2)
245.WithAttributeLists(List(attributes)) 297.WithMembers(List(new[] { field, initializerMethod, method }))
Microsoft.Interop.SourceGeneration (1)
GeneratedStatements.cs (1)
172Block(List(catchClauseBuilder))));