26 references to SingletonList
ILLink.CodeFixProvider (2)
RequiresUnsafeCodeFixProvider.cs (2)
452
var accessorList = SyntaxFactory.AccessorList(SyntaxFactory.
SingletonList
(getter));
471
var indexerAccessorList = SyntaxFactory.AccessorList(SyntaxFactory.
SingletonList
(indexerGetter));
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\roslyn\src\Analyzers\CSharp\CodeFixes\UseAutoProperty\CSharpUseAutoPropertyCodeFixProvider.cs (1)
193
var accessorList = propertyDeclaration.AccessorList ?? AccessorList(
SingletonList
(
Microsoft.CodeAnalysis.CSharp.Features (1)
src\roslyn\src\Analyzers\CSharp\CodeFixes\UseAutoProperty\CSharpUseAutoPropertyCodeFixProvider.cs (1)
193
var accessorList = propertyDeclaration.AccessorList ?? AccessorList(
SingletonList
(
Microsoft.CodeAnalysis.CSharp.NetAnalyzers (1)
Microsoft.NetCore.Analyzers\Performance\CSharpUseStartsWithInsteadOfIndexOfComparisonWithZero.Fixer.cs (1)
28
SyntaxFactory.
SingletonList
(SyntaxFactory.ArrayRankSpecifier(SyntaxFactory.SingletonSeparatedList((ExpressionSyntax)generator.LiteralExpression(1))))),
Microsoft.Interop.JavaScript.JSImportGenerator (13)
JSExportGenerator.cs (6)
122
.WithAttributeLists(
SingletonList
(AttributeList(SingletonSeparatedList(
212
.WithAttributeLists(
SingletonList
(AttributeList(SingletonSeparatedList(
223
SingletonList
<AttributeListSyntax>(
264
SingletonList
<MemberDeclarationSyntax>(
269
.WithAttributeLists(
SingletonList
(AttributeList(SingletonSeparatedList(
405
.WithAttributeLists(
SingletonList
(AttributeList(SingletonSeparatedList(
JSImportGenerator.cs (3)
94
.WithAttributeLists(
SingletonList
(AttributeList(SingletonSeparatedList(
274
Block(
SingletonList
<StatementSyntax>(
328
.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)
114
ArrayTypeSyntax arrayOfSystemType = ArrayType(TypeSyntaxes.System_Type,
SingletonList
(ArrayRankSpecifier()));
415
SingletonList
(AttributeList(
Microsoft.Interop.LibraryImportGenerator.Downlevel (1)
DownlevelLibraryImportGenerator.cs (1)
360
SingletonList
(AttributeList(
Microsoft.Interop.SourceGeneration (2)
Marshalling\StatefulMarshallingStrategy.cs (1)
219
SingletonList
(ArrayRankSpecifier(SingletonSeparatedList<ExpressionSyntax>(
Marshalling\StatelessMarshallingStrategy.cs (1)
182
SingletonList
(ArrayRankSpecifier(SingletonSeparatedList<ExpressionSyntax>(
System.Text.RegularExpressions.Generator (3)
UpgradeToGeneratedRegexCodeFixer.cs (3)
180
SyntaxFactory.
SingletonList
(
225
SyntaxFactory.
SingletonList
(
270
SyntaxFactory.
SingletonList
(