1 instantiation of SimpleBaseTypeSyntax
Microsoft.CodeAnalysis.CSharp (1)
Syntax.xml.Internal.Generated.cs (1)
18557internal 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)
538public virtual TResult? VisitSimpleBaseType(SimpleBaseTypeSyntax node) => this.DefaultVisit(node); 1285public virtual void VisitSimpleBaseType(SimpleBaseTypeSyntax node) => this.DefaultVisit(node); 2031public override SyntaxNode? VisitSimpleBaseType(SimpleBaseTypeSyntax node) 5234public static SimpleBaseTypeSyntax SimpleBaseType(TypeSyntax type) 5237return (SimpleBaseTypeSyntax)Syntax.InternalSyntax.SyntaxFactory.SimpleBaseType((Syntax.InternalSyntax.TypeSyntax)type.Green).CreateRed();
Syntax.xml.Syntax.Generated.cs (3)
11599public SimpleBaseTypeSyntax Update(TypeSyntax type) 11603var newNode = SyntaxFactory.SimpleBaseType(type); 11612public new SimpleBaseTypeSyntax WithType(TypeSyntax type) => Update(type);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\UsePrimaryConstructor\CSharpUsePrimaryConstructorCodeFixProvider.cs (1)
389if (typeDeclaration.BaseList is { Types: [SimpleBaseTypeSyntax baseType, ..] } &&
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (8)
Semantics\PrimaryConstructorTests.cs (6)
2620var baseWithoutParens = tree.GetRoot().DescendantNodes().OfType<SimpleBaseTypeSyntax>().Single(); 4088var baseType = (SimpleBaseTypeSyntax)context.Node; 5515var baseType = (SimpleBaseTypeSyntax)context.Node;
Semantics\RecordTests.cs (2)
26470var baseType = (SimpleBaseTypeSyntax)context.Node;
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\CodeFixes\UsePrimaryConstructor\CSharpUsePrimaryConstructorCodeFixProvider.cs (1)
389if (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)
10922private static SimpleBaseTypeSyntax GenerateSimpleBaseType() 13340var node = GenerateSimpleBaseType(); 13343var newNode = node.WithType(node.Type); 18841var oldNode = GenerateSimpleBaseType(); 18857var oldNode = GenerateSimpleBaseType();
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
2808return baseList.Types.OfType<SimpleBaseTypeSyntax>().Select(bt => bt.Type).ToReadOnlyCollection();