1 instantiation of SimpleBaseTypeSyntax
Microsoft.CodeAnalysis.CSharp (1)
Syntax.xml.Internal.Generated.cs (1)
18480internal override SyntaxNode CreateRed(SyntaxNode? parent, int position) => new CSharp.Syntax.SimpleBaseTypeSyntax(this, parent, position);
29 references to SimpleBaseTypeSyntax
Microsoft.CodeAnalysis.CSharp (8)
Syntax.xml.Main.Generated.cs (5)
535public virtual TResult? VisitSimpleBaseType(SimpleBaseTypeSyntax node) => this.DefaultVisit(node); 1279public virtual void VisitSimpleBaseType(SimpleBaseTypeSyntax node) => this.DefaultVisit(node); 2022public override SyntaxNode? VisitSimpleBaseType(SimpleBaseTypeSyntax node) 5213public static SimpleBaseTypeSyntax SimpleBaseType(TypeSyntax type) 5216return (SimpleBaseTypeSyntax)Syntax.InternalSyntax.SyntaxFactory.SimpleBaseType((Syntax.InternalSyntax.TypeSyntax)type.Green).CreateRed();
Syntax.xml.Syntax.Generated.cs (3)
11554public SimpleBaseTypeSyntax Update(TypeSyntax type) 11558var newNode = SyntaxFactory.SimpleBaseType(type); 11567public new SimpleBaseTypeSyntax WithType(TypeSyntax type) => Update(type);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\UsePrimaryConstructor\CSharpUsePrimaryConstructorCodeFixProvider.cs (1)
391if (typeDeclaration.BaseList is { Types: [SimpleBaseTypeSyntax baseType, ..] } &&
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (8)
Semantics\PrimaryConstructorTests.cs (6)
2490var baseWithoutParens = tree.GetRoot().DescendantNodes().OfType<SimpleBaseTypeSyntax>().Single(); 3948var baseType = (SimpleBaseTypeSyntax)context.Node; 5375var baseType = (SimpleBaseTypeSyntax)context.Node;
Semantics\RecordTests.cs (2)
26488var baseType = (SimpleBaseTypeSyntax)context.Node;
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\CodeFixes\UsePrimaryConstructor\CSharpUsePrimaryConstructorCodeFixProvider.cs (1)
391if (typeDeclaration.BaseList is { Types: [SimpleBaseTypeSyntax baseType, ..] } &&
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\RecordStructTests.cs (4)
6145var baseType = (SimpleBaseTypeSyntax)context.Node; 10859var baseWithoutParens = tree.GetRoot().DescendantNodes().OfType<SimpleBaseTypeSyntax>().Single();
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\FunctionPointerTypeSymbolTests.cs (1)
1320.OfType<SimpleBaseTypeSyntax>()
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (5)
Generated\Syntax.Test.xml.Generated.cs (5)
10879private static SimpleBaseTypeSyntax GenerateSimpleBaseType() 13286var node = GenerateSimpleBaseType(); 13289var newNode = node.WithType(node.Type); 18761var oldNode = GenerateSimpleBaseType(); 18777var oldNode = GenerateSimpleBaseType();
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
2818return baseList.Types.OfType<SimpleBaseTypeSyntax>().Select(bt => bt.Type).ToReadOnlyCollection();