Base:

property
Type
Microsoft.CodeAnalysis.CSharp.Syntax.BasePropertyDeclarationSyntax.Type
74 references to Type
Microsoft.AspNetCore.Components.Analyzers (1)
Microsoft.AspNetCore.Components.SdkAnalyzers (1)
Microsoft.CodeAnalysis.CSharp (12)
Syntax.xml.Syntax.Generated.cs (9)
13125if (attributeLists != this.AttributeLists || modifiers != this.Modifiers || type != this.Type || explicitInterfaceSpecifier != this.ExplicitInterfaceSpecifier || identifier != this.Identifier || accessorList != this.AccessorList || expressionBody != this.ExpressionBody || initializer != this.Initializer || semicolonToken != this.SemicolonToken)
13136public new PropertyDeclarationSyntax WithAttributeLists(SyntaxList<AttributeListSyntax> attributeLists) => Update(attributeLists, this.Modifiers, this.Type, this.ExplicitInterfaceSpecifier, this.Identifier, this.AccessorList, this.ExpressionBody, this.Initializer, this.SemicolonToken);
13138public new PropertyDeclarationSyntax WithModifiers(SyntaxTokenList modifiers) => Update(this.AttributeLists, modifiers, this.Type, this.ExplicitInterfaceSpecifier, this.Identifier, this.AccessorList, this.ExpressionBody, this.Initializer, this.SemicolonToken);
13142public new PropertyDeclarationSyntax WithExplicitInterfaceSpecifier(ExplicitInterfaceSpecifierSyntax? explicitInterfaceSpecifier) => Update(this.AttributeLists, this.Modifiers, this.Type, explicitInterfaceSpecifier, this.Identifier, this.AccessorList, this.ExpressionBody, this.Initializer, this.SemicolonToken);
13143public PropertyDeclarationSyntax WithIdentifier(SyntaxToken identifier) => Update(this.AttributeLists, this.Modifiers, this.Type, this.ExplicitInterfaceSpecifier, identifier, this.AccessorList, this.ExpressionBody, this.Initializer, this.SemicolonToken);
13145public new PropertyDeclarationSyntax WithAccessorList(AccessorListSyntax? accessorList) => Update(this.AttributeLists, this.Modifiers, this.Type, this.ExplicitInterfaceSpecifier, this.Identifier, accessorList, this.ExpressionBody, this.Initializer, this.SemicolonToken);
13146public PropertyDeclarationSyntax WithExpressionBody(ArrowExpressionClauseSyntax? expressionBody) => Update(this.AttributeLists, this.Modifiers, this.Type, this.ExplicitInterfaceSpecifier, this.Identifier, this.AccessorList, expressionBody, this.Initializer, this.SemicolonToken);
13147public PropertyDeclarationSyntax WithInitializer(EqualsValueClauseSyntax? initializer) => Update(this.AttributeLists, this.Modifiers, this.Type, this.ExplicitInterfaceSpecifier, this.Identifier, this.AccessorList, this.ExpressionBody, initializer, this.SemicolonToken);
13148public PropertyDeclarationSyntax WithSemicolonToken(SyntaxToken semicolonToken) => Update(this.AttributeLists, this.Modifiers, this.Type, this.ExplicitInterfaceSpecifier, this.Identifier, this.AccessorList, this.ExpressionBody, this.Initializer, semicolonToken);
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (10)
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
Microsoft.CodeAnalysis.CSharp.Features (11)
Completion\CompletionProviders\DeclarationName\DeclarationNameInfo.cs (1)
264m => m.Type,
Microsoft.CodeAnalysis.CSharp.NetAnalyzers (1)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (25)
Parsing\DeclarationParsingTests.cs (22)
2910Assert.NotNull(propertySyntax.Type);
2911Assert.Equal("int", propertySyntax.Type.ToString());
2950Assert.NotNull(propertySyntax.Type);
2951Assert.Equal("int", propertySyntax.Type.ToString());
4187Assert.NotNull(ps.Type);
4188Assert.Equal("b", ps.Type.ToString());
4241Assert.NotNull(ps.Type);
4242Assert.Equal("ref b", ps.Type.ToString());
4296Assert.NotNull(ps.Type);
4297Assert.Equal("ref readonly b", ps.Type.ToString());
4369Assert.NotNull(ps.Type);
4370Assert.Equal(typeText, ps.Type.ToString());
4423Assert.NotNull(ps.Type);
4424Assert.Equal("b", ps.Type.ToString());
4477Assert.NotNull(ps.Type);
4478Assert.Equal("b", ps.Type.ToString());
4561Assert.NotNull(ps.Type);
4562Assert.Equal("b", ps.Type.ToString());
4674Assert.NotNull(ps.Type);
4675Assert.Equal("b", ps.Type.ToString());
4757Assert.NotNull(ps.Type);
4758Assert.Equal("b", ps.Type.ToString());
Microsoft.CodeAnalysis.CSharp.Workspaces (6)
Roslyn.Diagnostics.CSharp.Analyzers (5)