Base:
property
Type
Microsoft.CodeAnalysis.CSharp.Syntax.BaseTypeSyntax.Type
9 references to Type
Microsoft.CodeAnalysis.CSharp (2)
_generated\0\Syntax.xml.Main.Generated.cs (1)
2035
=> node.Update((TypeSyntax?)Visit(node.
Type
) ?? throw new ArgumentNullException("type"));
_generated\2\Syntax.xml.Syntax.Generated.cs (1)
11603
if (type != this.
Type
)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\roslyn\src\Analyzers\CSharp\CodeFixes\UsePrimaryConstructor\CSharpUsePrimaryConstructorCodeFixProvider.cs (2)
390
semanticModel.GetSymbolInfo(baseType.
Type
, cancellationToken).GetAnySymbol() is INamedTypeSymbol { TypeKind: TypeKind.Class })
399
PrimaryConstructorBaseType(baseType.
Type
.WithoutTrailingTrivia(), argumentList.WithoutLeadingTrivia())
Microsoft.CodeAnalysis.CSharp.Features (2)
src\roslyn\src\Analyzers\CSharp\CodeFixes\UsePrimaryConstructor\CSharpUsePrimaryConstructorCodeFixProvider.cs (2)
390
semanticModel.GetSymbolInfo(baseType.
Type
, cancellationToken).GetAnySymbol() is INamedTypeSymbol { TypeKind: TypeKind.Class })
399
PrimaryConstructorBaseType(baseType.
Type
.WithoutTrailingTrivia(), argumentList.WithoutLeadingTrivia())
Microsoft.CodeAnalysis.CSharp.NetAnalyzers (2)
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\CSharpEnumStorageShouldBeInt32.Fixer.cs (1)
21
return (enumDecl.BaseList?.Types.FirstOrDefault() as SimpleBaseTypeSyntax)?.
Type
;
Microsoft.NetCore.Analyzers\Usage\CSharpImplementGenericMathInterfacesCorrectly.cs (1)
35
simpleBaseType.
Type
is GenericNameSyntax genericName &&
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
2808
return baseList.Types.OfType<SimpleBaseTypeSyntax>().Select(bt => bt.
Type
).ToReadOnlyCollection();