Base:
property
Type
Microsoft.CodeAnalysis.CSharp.Syntax.BaseTypeSyntax.Type
11 references to Type
Microsoft.CodeAnalysis.CSharp (5)
_generated\0\Syntax.xml.Main.Generated.cs (1)
2038
=> node.Update((TypeSyntax?)Visit(node.
Type
) ?? throw new ArgumentNullException("type"), (ArgumentListSyntax?)Visit(node.ArgumentList) ?? throw new ArgumentNullException("argumentList"));
_generated\2\Syntax.xml.Syntax.Generated.cs (2)
11658
if (type != this.
Type
|| argumentList != this.ArgumentList)
11670
public PrimaryConstructorBaseTypeSyntax WithArgumentList(ArgumentListSyntax argumentList) => Update(this.
Type
, argumentList);
Compilation\SyntaxTreeSemanticModel.cs (1)
2569
return (node) => node != baseType.
Type
;
Syntax\SyntaxFacts.cs (1)
197
return ((PrimaryConstructorBaseTypeSyntax)parent).
Type
== node;
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
463
var info = SemanticModel.GetTypeInfo(primaryConstructorBaseType.
Type
, CancellationToken);
Microsoft.CodeAnalysis.CSharp.Features (3)
Completion\CompletionProviders\NamedParameterCompletionProvider.cs (1)
215
var type = semanticModel.GetTypeInfo(baseType.
Type
, cancellationToken).Type as INamedTypeSymbol;
ConvertPrimaryToRegularConstructor\ConvertPrimaryToRegularConstructorCodeRefactoringProvider.cs (1)
259
mainDocumentEditor.ReplaceNode(baseType, (current, _) => SimpleBaseType(((PrimaryConstructorBaseTypeSyntax)current).
Type
).WithTriviaFrom(baseType));
SignatureHelp\PrimaryConstructorBaseTypeSignatureHelpProvider.cs (1)
85
if (semanticModel.GetTypeInfo(baseTypeSyntax.
Type
, cancellationToken).Type is not INamedTypeSymbol baseType)
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
463
var info = SemanticModel.GetTypeInfo(primaryConstructorBaseType.
Type
, CancellationToken);
Roslyn.Diagnostics.CSharp.Analyzers (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
463
var info = SemanticModel.GetTypeInfo(primaryConstructorBaseType.
Type
, CancellationToken);