78 references to SeparatedList
Microsoft.AspNetCore.App.CodeFixes (2)
Authorization\AddAuthorizationBuilderFixer.cs (1)
93SyntaxFactory.SeparatedList(configureArguments)));
Http\HeaderDictionaryAddFixer.cs (1)
129SyntaxFactory.SeparatedList(new[] { arguments[0] }))),
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Analyzers\CSharp\Analyzers\UseCollectionInitializer\CSharpUseCollectionInitializerDiagnosticAnalyzer.cs (1)
60var replacement = CollectionExpression(SeparatedList(
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationService.cs (1)
464var newAttributes = SeparatedList(attributes.Where(a => a != attributeToRemove));
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\Analyzers\UseCollectionInitializer\CSharpUseCollectionInitializerDiagnosticAnalyzer.cs (1)
60var replacement = CollectionExpression(SeparatedList(
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\NullableReferenceTypesTests.cs (1)
7774SyntaxFactory.SeparatedList<ExpressionSyntax>(
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (11)
Syntax\SeparatedSyntaxListTests.cs (3)
95: SyntaxFactory.SeparatedList<SyntaxNode>( 281var list = SyntaxFactory.SeparatedList<SyntaxNode>( 305: SyntaxFactory.SeparatedList<SyntaxNode>(
Syntax\SyntaxFactoryTests.cs (8)
236var null1 = SyntaxFactory.SeparatedList((ParameterSyntax[])null); 242var null2 = SyntaxFactory.SeparatedList((System.Collections.Generic.IEnumerable<VariableDeclaratorSyntax>)null); 248var empty1 = SyntaxFactory.SeparatedList(new TypeArgumentListSyntax[] { }); 254var empty2 = SyntaxFactory.SeparatedList(System.Linq.Enumerable.Empty<TypeParameterSyntax>()); 260var singleton1 = SyntaxFactory.SeparatedList(new[] { SyntaxFactory.IdentifierName("a") }); 266var singleton2 = SyntaxFactory.SeparatedList((System.Collections.Generic.IEnumerable<ExpressionSyntax>)new[] { SyntaxFactory.IdentifierName("x") }); 272var list1 = SyntaxFactory.SeparatedList(new[] { SyntaxFactory.IdentifierName("a"), SyntaxFactory.IdentifierName("b"), SyntaxFactory.IdentifierName("c") }); 283var list2 = SyntaxFactory.SeparatedList<ArgumentSyntax>(builder);
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
1831? SyntaxFactory.SeparatedList<TypeParameterConstraintSyntax>(types.Select(t => SyntaxFactory.TypeConstraint((TypeSyntax)t)))
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationService.cs (1)
464var newAttributes = SeparatedList(attributes.Where(a => a != attributeToRemove));
Microsoft.Interop.ComInterfaceGenerator (15)
AttributeInfo.cs (1)
19return Attribute((NameSyntax)Type.Syntax, AttributeArgumentList(SeparatedList(Arguments.Select(arg => AttributeArgument(ParseExpression(arg))))));
ComClassGenerator.cs (1)
144SeparatedList(
ComInterfaceGenerator.cs (1)
693return CollectionExpression(SeparatedList(literals));
ComMethodContext.cs (3)
115.WithParameterList(ParameterList(SeparatedList(GenerationContext.SignatureContext.StubParameters))) 134.WithParameterList(ParameterList(SeparatedList(GenerationContext.SignatureContext.StubParameters))) 144SeparatedList(GenerationContext.SignatureContext.ManagedParameters.Select(GenerateArgument))))))
Marshallers\StructAsHResultMarshallerFactory.cs (2)
48SeparatedList(new[] 66SeparatedList(new[]
VirtualMethodPointerStubGenerator.cs (7)
53SeparatedList<VariableDesignationSyntax>( 110FunctionPointerCallingConvention(Token(SyntaxKind.UnmanagedKeyword), callConv.IsEmpty ? null : FunctionPointerUnmanagedCallingConventionList(SeparatedList(callConv))), 111FunctionPointerParameterList(SeparatedList(functionPointerParameters))), 124.WithParameterList(ParameterList(SeparatedList(stub.StubParameters))) 160SeparatedList<ExpressionSyntax>( 280FunctionPointerCallingConvention(Token(SyntaxKind.UnmanagedKeyword), callConv.IsEmpty ? null : FunctionPointerUnmanagedCallingConventionList(SeparatedList(callConv))), 281FunctionPointerParameterList(SeparatedList(functionPointerParameters)));
Microsoft.Interop.JavaScript.JSImportGenerator (22)
JSExportCodeGenerator.cs (4)
161.WithArgumentList(ArgumentList(SeparatedList(signatureArgs)))); 172.WithInitializer(InitializerExpression(SyntaxKind.ArrayInitializerExpression, SeparatedList(types)))); 212.WithArgumentList(ArgumentList(SeparatedList(arguments))))); 217.WithArgumentList(ArgumentList(SeparatedList(arguments)));
JSExportGenerator.cs (1)
323.WithArgumentList(AttributeArgumentList(SeparatedList(new[]{
JSImportCodeGenerator.cs (3)
153.WithArgumentList(ArgumentList(SeparatedList(bindingParameters))))))))); 164.WithInitializer(InitializerExpression(SyntaxKind.ArrayInitializerExpression, SeparatedList(types)))); 202.WithArgumentList(ArgumentList(SeparatedList(new[]{
JSImportGenerator.cs (1)
118.WithParameterList(ParameterList(SeparatedList(stub.SignatureContext.StubParameters)))
Marshaling\FuncJSGenerator.cs (7)
29yield return InvocationExpression(MarshalerTypeName(Type), ArgumentList(SeparatedList(args))); 92.WithArgumentList(ArgumentList(SeparatedList(arguments)))); 113.WithArgumentList(ArgumentList(SeparatedList(arguments)))); 118.WithParameterList(ParameterList(SeparatedList(new[]{ 127.WithArgumentList(ArgumentList(SeparatedList(new[]{ 133.WithParameterList(ParameterList(SeparatedList(new[]{ 143.WithArgumentList(ArgumentList(SeparatedList(new[]{
Marshaling\TaskJSGenerator.cs (6)
101.WithArgumentList(ArgumentList(SeparatedList(new[]{ 105.WithParameterList(ParameterList(SeparatedList(new[]{ 115.WithArgumentList(ArgumentList(SeparatedList(new[]{ 124.WithArgumentList(ArgumentList(SeparatedList(new[]{ 128.WithParameterList(ParameterList(SeparatedList(new[]{ 137.WithArgumentList(ArgumentList(SeparatedList(new[]{
Microsoft.Interop.LibraryImportGenerator (6)
Analyzers\ConvertToLibraryImportFixer.cs (1)
555SyntaxFactory.SeparatedList(
LibraryImportGenerator.cs (5)
182.WithParameterList(ParameterList(SeparatedList(stub.StubParameters))) 373dllImport = dllImport.AddAttributeLists(AttributeList(SeparatedList(forwardedAttributes))); 419.WithParameterList(ParameterList(SeparatedList(stub.SignatureContext.StubParameters))) 454SeparatedList( 515AttributeArgumentList(SeparatedList(newAttributeArgs)));
Microsoft.Interop.LibraryImportGenerator.Downlevel (4)
DownlevelLibraryImportGenerator.cs (4)
124.WithParameterList(ParameterList(SeparatedList(stub.StubParameters))) 267dllImport = dllImport.AddAttributeLists(AttributeList(SeparatedList(forwardedAttributes))); 298.WithParameterList(ParameterList(SeparatedList(stub.SignatureContext.StubParameters))) 393AttributeArgumentList(SeparatedList(newAttributeArgs)));
Microsoft.Interop.SourceGeneration (12)
BoundGenerators.cs (1)
178SeparatedList(
Marshalling\ElementsMarshalling.cs (1)
236TypeArgumentList(SeparatedList(new[]
Marshalling\MarshallingGeneratorExtensions.cs (1)
127param = param.AddAttributeLists(AttributeList(SeparatedList(rehydratedAttributes)));
Marshalling\StatelessMarshallingStrategy.cs (7)
203ArgumentList(SeparatedList(new ArgumentSyntax[] 228ArgumentList(SeparatedList(new ArgumentSyntax[] 378ArgumentList(SeparatedList(new ArgumentSyntax[] 406ArgumentList(SeparatedList(new ArgumentSyntax[] 466ArgumentList(SeparatedList(new ArgumentSyntax[] 493ArgumentList(SeparatedList(new ArgumentSyntax[] 524ArgumentList(SeparatedList(new ArgumentSyntax[]
SignatureContext.cs (1)
75SeparatedList(
Utils\SyntaxFactoryExtensions.cs (1)
61ArgumentList(SeparatedList(arguments)));