30 references to SingletonList
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\UseAutoProperty\CSharpUseAutoPropertyCodeFixProvider.cs (1)
193
var accessorList = propertyDeclaration.AccessorList ?? AccessorList(
SingletonList
(
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\CodeFixes\UseAutoProperty\CSharpUseAutoPropertyCodeFixProvider.cs (1)
193
var accessorList = propertyDeclaration.AccessorList ?? AccessorList(
SingletonList
(
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (6)
Parsing\InterpolatedStringExpressionTests.cs (1)
23
SyntaxFactory.
SingletonList
<InterpolatedStringContentSyntax>(
Syntax\SyntaxFactoryTests.cs (5)
488
SyntaxFactory.
SingletonList
<MemberDeclarationSyntax>(
491
SyntaxFactory.
SingletonList
<MemberDeclarationSyntax>(
512
SyntaxFactory.
SingletonList
<MemberDeclarationSyntax>(
515
SyntaxFactory.
SingletonList
<MemberDeclarationSyntax>(
616
: SyntaxFactory.
SingletonList
(SyntaxFactory.ParseMemberDeclaration("private int i;")));
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (1)
CodeGeneration\SyntaxGeneratorTests.cs (1)
1523
SingletonList
<AccessorDeclarationSyntax>(
Microsoft.Interop.JavaScript.JSImportGenerator (13)
JSExportGenerator.cs (6)
146
.WithAttributeLists(
SingletonList
(AttributeList(SingletonSeparatedList(
241
.WithAttributeLists(
SingletonList
(AttributeList(SingletonSeparatedList(
252
SingletonList
<AttributeListSyntax>(
293
SingletonList
<MemberDeclarationSyntax>(
298
.WithAttributeLists(
SingletonList
(AttributeList(SingletonSeparatedList(
435
.WithAttributeLists(
SingletonList
(AttributeList(SingletonSeparatedList(
JSImportGenerator.cs (3)
118
.WithAttributeLists(
SingletonList
(AttributeList(SingletonSeparatedList(
304
Block(
SingletonList
<StatementSyntax>(
358
.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)
142
ArrayTypeSyntax arrayOfSystemType = ArrayType(TypeSyntaxes.System_Type,
SingletonList
(ArrayRankSpecifier()));
461
SingletonList
(AttributeList(
Microsoft.Interop.LibraryImportGenerator.Downlevel (1)
DownlevelLibraryImportGenerator.cs (1)
325
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)
156
SyntaxFactory.
SingletonList
(
201
SyntaxFactory.
SingletonList
(
246
SyntaxFactory.
SingletonList
(