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