Base:
property
Type
Microsoft.CodeAnalysis.CSharp.Syntax.BaseTypeSyntax.Type
10 references to Type
Microsoft.CodeAnalysis.CSharp (2)
Syntax.xml.Main.Generated.cs (1)
2023
=> node.Update((TypeSyntax?)Visit(node.
Type
) ?? throw new ArgumentNullException("type"));
Syntax.xml.Syntax.Generated.cs (1)
11556
if (type != this.
Type
)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\Analyzers\CSharp\CodeFixes\UsePrimaryConstructor\CSharpUsePrimaryConstructorCodeFixProvider.cs (2)
392
semanticModel.GetSymbolInfo(baseType.
Type
, cancellationToken).GetAnySymbol() is INamedTypeSymbol { TypeKind: TypeKind.Class })
401
PrimaryConstructorBaseType(baseType.
Type
.WithoutTrailingTrivia(), argumentList.WithoutLeadingTrivia())
Microsoft.CodeAnalysis.CSharp.Features (2)
src\Analyzers\CSharp\CodeFixes\UsePrimaryConstructor\CSharpUsePrimaryConstructorCodeFixProvider.cs (2)
392
semanticModel.GetSymbolInfo(baseType.
Type
, cancellationToken).GetAnySymbol() is INamedTypeSymbol { TypeKind: TypeKind.Class })
401
PrimaryConstructorBaseType(baseType.
Type
.WithoutTrailingTrivia(), argumentList.WithoutLeadingTrivia())
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\FunctionPointerTypeSymbolTests.cs (1)
1322
.
Type
;
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.cs (2)
13288
Assert.NotNull(node.
Type
);
13289
var newNode = node.WithType(node.
Type
);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
2818
return baseList.Types.OfType<SimpleBaseTypeSyntax>().Select(bt => bt.
Type
).ToReadOnlyCollection();