20 references to SimpleBaseType
Microsoft.CodeAnalysis.CSharp (1)
_generated\2\Syntax.xml.Syntax.Generated.cs (1)
11605var newNode = SyntaxFactory.SimpleBaseType(type);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\NamedTypeGenerator.cs (3)
251? BaseList([SimpleBaseType(namedType.EnumUnderlyingType.GenerateTypeSyntax())]) 322types.Add(SimpleBaseType(namedType.BaseType.GenerateTypeSyntax())); 325types.Add(SimpleBaseType(type.GenerateTypeSyntax()));
Microsoft.CodeAnalysis.CSharp.Features (1)
ConvertPrimaryToRegularConstructor\ConvertPrimaryToRegularConstructorCodeRefactoringProvider.cs (1)
259mainDocumentEditor.ReplaceNode(baseType, (current, _) => SimpleBaseType(((PrimaryConstructorBaseTypeSyntax)current).Type).WithTriviaFrom(baseType));
Microsoft.CodeAnalysis.CSharp.Workspaces (12)
CodeGeneration\CSharpSyntaxGenerator.cs (9)
706baseTypes.Add(SyntaxFactory.SimpleBaseType((TypeSyntax)baseType)); 709baseTypes.AddRange(interfaceTypes.Select(i => SyntaxFactory.SimpleBaseType((TypeSyntax)i))); 757var itypes = interfaceTypes?.Select(i => (BaseTypeSyntax)SyntaxFactory.SimpleBaseType((TypeSyntax)i)).ToList(); 778var itypes = interfaceTypes?.Select(i => (BaseTypeSyntax)SyntaxFactory.SimpleBaseType((TypeSyntax)i)).ToList(); 885underlyingType != null ? SyntaxFactory.BaseList([SyntaxFactory.SimpleBaseType((TypeSyntax)underlyingType)]) : null, 2822return WithBaseList(declaration, baseList.WithTypes(baseList.Types.Insert(0, SyntaxFactory.SimpleBaseType((TypeSyntax)baseType)))); 2826return AddBaseList(declaration, SyntaxFactory.BaseList([SyntaxFactory.SimpleBaseType((TypeSyntax)baseType)])); 2836return WithBaseList(declaration, baseList.WithTypes(baseList.Types.Insert(baseList.Types.Count, SyntaxFactory.SimpleBaseType((TypeSyntax)interfaceType)))); 2840return AddBaseList(declaration, SyntaxFactory.BaseList([SyntaxFactory.SimpleBaseType((TypeSyntax)interfaceType)]));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\NamedTypeGenerator.cs (3)
251? BaseList([SimpleBaseType(namedType.EnumUnderlyingType.GenerateTypeSyntax())]) 322types.Add(SimpleBaseType(namedType.BaseType.GenerateTypeSyntax())); 325types.Add(SimpleBaseType(type.GenerateTypeSyntax()));
Roslyn.Diagnostics.CSharp.Analyzers (3)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\NamedTypeGenerator.cs (3)
251? BaseList([SimpleBaseType(namedType.EnumUnderlyingType.GenerateTypeSyntax())]) 322types.Add(SimpleBaseType(namedType.BaseType.GenerateTypeSyntax())); 325types.Add(SimpleBaseType(type.GenerateTypeSyntax()));