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