1 write to Type
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\CompletionProviders\DeclarationName\DeclarationNameInfo.cs (1)
49
Type
= type;
19 references to Type
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Completion\CompletionProviders\DeclarationNameCompletionProviderTests_NameDeclarationInfoTests.cs (1)
779
Assert.Equal(typeName, result.
Type
.ToDisplayString(SymbolDisplayFormat.FullyQualifiedFormat));
Microsoft.CodeAnalysis.CSharp.Features (18)
Completion\CompletionProviders\DeclarationName\DeclarationNameInfo.cs (16)
67
if (info.
Type
is IErrorTypeSymbol { Name.Length: > 0 } &&
68
!char.IsUpper(info.
Type
.Name[0]))
117
return result.
Type
!= null;
138
return result.
Type
!= null;
191
if (result.
Type
is null || expression is null)
213
return result.
Type
!= null;
227
return result.
Type
!= null;
329
return result.
Type
!= null;
340
return result.
Type
!= null;
351
return result.
Type
!= null;
370
if (result.
Type
!= null)
409
return result.
Type
!= null;
425
return result.
Type
!= null;
454
if (result.
Type
!= null &&
473
return result.
Type
!= null;
508
return result.
Type
!= null;
Completion\CompletionProviders\DeclarationName\DeclarationNameRecommender.cs (2)
75
if (!IsValidType(nameInfo.
Type
))
78
var (type, plural) = UnwrapType(nameInfo.
Type
, semanticModel.Compilation, wasPlural: false, seenTypes: new HashSet<ITypeSymbol>());