3 overrides of Type
Microsoft.CodeAnalysis.CSharp (3)
Syntax.xml.Syntax.Generated.cs (3)
13073
public override TypeSyntax
Type
=> GetRed(ref this.type, 2)!;
13235
public override TypeSyntax
Type
=> GetRed(ref this.type, 3)!;
13345
public override TypeSyntax
Type
=> GetRed(ref this.type, 2)!;
11 references to Type
Microsoft.CodeAnalysis.CSharp (5)
Symbols\Source\SourcePropertySymbol.cs (3)
138
syntax.
Type
.SkipScoped(out _).GetRefKindInLocalOrReturn(diagnostics),
144
Debug.Assert(syntax.
Type
is not ScopedTypeSyntax);
173
private TypeSyntax GetTypeSyntax(SyntaxNode syntax) => ((BasePropertyDeclarationSyntax)syntax).
Type
;
Symbols\VarianceSafety.cs (1)
207
return (syntax == null) ? null : syntax.
Type
.Location;
Syntax\SyntaxNodeExtensions.cs (1)
269
(current.Parent is BasePropertyDeclarationSyntax property && property.
Type
== current) ||
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Analyzers\CSharp\Analyzers\UseImplicitObjectCreation\CSharpUseImplicitObjectCreationDiagnosticAnalyzer.cs (2)
108
BasePropertyDeclarationSyntax property => property.
Type
,
109
AccessorDeclarationSyntax(SyntaxKind.GetAccessorDeclaration) { Parent: AccessorListSyntax { Parent: BasePropertyDeclarationSyntax baseProperty } } => baseProperty.
Type
,
Microsoft.CodeAnalysis.CSharp.Features (2)
src\Analyzers\CSharp\Analyzers\UseImplicitObjectCreation\CSharpUseImplicitObjectCreationDiagnosticAnalyzer.cs (2)
108
BasePropertyDeclarationSyntax property => property.
Type
,
109
AccessorDeclarationSyntax(SyntaxKind.GetAccessorDeclaration) { Parent: AccessorListSyntax { Parent: BasePropertyDeclarationSyntax baseProperty } } => baseProperty.
Type
,
Microsoft.VisualStudio.LanguageServices.CSharp (2)
CodeModel\CSharpCodeModelService.CodeModelEventCollector.cs (2)
321
if (!CompareTypes(oldProperty.
Type
, newProperty.
Type
))