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