30 references to SingletonList
Microsoft.AspNetCore.Components.Analyzers (2)
JSInteropCodeFixProvider.cs (2)
107SyntaxFactory.SingletonList<StatementSyntax>( 113SyntaxFactory.SingletonList(
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\roslyn\src\Analyzers\CSharp\CodeFixes\UseAutoProperty\CSharpUseAutoPropertyCodeFixProvider.cs (1)
193var accessorList = propertyDeclaration.AccessorList ?? AccessorList(SingletonList(
Microsoft.CodeAnalysis.CSharp.Features (1)
src\roslyn\src\Analyzers\CSharp\CodeFixes\UseAutoProperty\CSharpUseAutoPropertyCodeFixProvider.cs (1)
193var accessorList = propertyDeclaration.AccessorList ?? AccessorList(SingletonList(
Microsoft.CodeAnalysis.CSharp.NetAnalyzers (2)
Microsoft.NetCore.Analyzers\Performance\CSharpUseStartsWithInsteadOfIndexOfComparisonWithZero.Fixer.cs (1)
48SyntaxFactory.SingletonList(SyntaxFactory.ArrayRankSpecifier(SyntaxFactory.SingletonSeparatedList((ExpressionSyntax)generator.LiteralExpression(1))))),
Microsoft.NetCore.Analyzers\Runtime\CSharpPreferReadOnlySpanPropertiesOverReadOnlyArrayFields.Fixer.cs (1)
568SyntaxFactory.SingletonList(
Microsoft.Interop.ComInterfaceGenerator (4)
ComInterfaceGenerator.cs (2)
859.WithAccessorList(AccessorList(SingletonList(accessor))); 867.WithAccessorList(AccessorList(SingletonList(accessor)));
VirtualMethodPointerStubGenerator.cs (2)
187.WithAccessorList(AccessorList(SingletonList(accessor))); 192AccessorList(SingletonList(accessor)));
Microsoft.Interop.JavaScript.JSImportGenerator (12)
JSExportGenerator.cs (6)
122.WithAttributeLists(SingletonList(AttributeList(SingletonSeparatedList( 213.WithAttributeLists(SingletonList(AttributeList(SingletonSeparatedList( 224SingletonList<AttributeListSyntax>( 265SingletonList<MemberDeclarationSyntax>( 271.WithAttributeLists(SingletonList(AttributeList(SingletonSeparatedList( 408.WithAttributeLists(SingletonList(AttributeList(SingletonSeparatedList(
JSImportGenerator.cs (2)
284Block(SingletonList<StatementSyntax>( 338.WithAttributeLists(SingletonList(AttributeList(SingletonSeparatedList(
Marshaling\FuncJSGenerator.cs (2)
101.WithBlock(Block(SingletonList<StatementSyntax>(ExpressionStatement( 117.WithBlock(Block(SingletonList<StatementSyntax>(ExpressionStatement(
Marshaling\TaskJSGenerator.cs (2)
83.WithBlock(Block(SingletonList<StatementSyntax>(ExpressionStatement( 105.WithBlock(Block(SingletonList<StatementSyntax>(ExpressionStatement(
Microsoft.Interop.LibraryImportGenerator (2)
LibraryImportGenerator.cs (2)
119ArrayTypeSyntax arrayOfSystemType = ArrayType(TypeSyntaxes.System_Type, SingletonList(ArrayRankSpecifier())); 431SingletonList(AttributeList(
Microsoft.Interop.LibraryImportGenerator.Downlevel (1)
DownlevelLibraryImportGenerator.cs (1)
362SingletonList(AttributeList(
Microsoft.Interop.SourceGeneration (2)
Marshalling\StatefulMarshallingStrategy.cs (1)
219SingletonList(ArrayRankSpecifier(SingletonSeparatedList<ExpressionSyntax>(
Marshalling\StatelessMarshallingStrategy.cs (1)
182SingletonList(ArrayRankSpecifier(SingletonSeparatedList<ExpressionSyntax>(
System.Text.RegularExpressions.Generator (3)
UpgradeToGeneratedRegexCodeFixer.cs (3)
180SyntaxFactory.SingletonList( 225SyntaxFactory.SingletonList( 270SyntaxFactory.SingletonList(