1 write to Type
Microsoft.CodeAnalysis.CSharp (1)
Compilation\TypeInfo.cs (1)
46this.Type = type.GetNonErrorGuess() ?? type;
11 references to Type
Microsoft.CodeAnalysis.CSharp (11)
Compilation\CSharpSemanticModel.cs (7)
540return GetSymbolInfoFromSymbolOrNone(GetTypeInfoWorker(parent, cancellationToken).Type.GetPublicSymbol()); 546if (varTypeInfo.Type is { TypeKind: not TypeKind.Error }) 548return GetSymbolInfoFromSymbolOrNone(varTypeInfo.Type.GetPublicSymbol()); 551return GetSymbolInfoFromSymbolOrNone(GetTypeInfoWorker(parent, cancellationToken).Type.GetPublicSymbol()); 970return new CSharpTypeInfo(declarationInfo.Type, declarationInfo.Type, declarationInfo.Nullability, declarationInfo.Nullability, Conversion.Identity); 976if (varTypeInfo.Type is { TypeKind: not TypeKind.Error })
Compilation\TypeInfo.cs (4)
55return new TypeInfo(info.Type?.GetITypeSymbol(info.Nullability.FlowState.ToAnnotation()), info.ConvertedType?.GetITypeSymbol(info.ConvertedNullability.FlowState.ToAnnotation()), 67&& TypeSymbol.Equals(this.Type, other.Type, TypeCompareKind.ConsiderEverything2) 76Hash.Combine(this.Type,