1 write to Type
Microsoft.CodeAnalysis.CSharp (1)
Compilation\TypeInfo.cs (1)
46
this.
Type
= type.GetNonErrorGuess() ?? type;
11 references to Type
Microsoft.CodeAnalysis.CSharp (11)
Compilation\CSharpSemanticModel.cs (7)
540
return GetSymbolInfoFromSymbolOrNone(GetTypeInfoWorker(parent, cancellationToken).
Type
.GetPublicSymbol());
546
if (varTypeInfo.
Type
is { TypeKind: not TypeKind.Error })
548
return GetSymbolInfoFromSymbolOrNone(varTypeInfo.
Type
.GetPublicSymbol());
551
return GetSymbolInfoFromSymbolOrNone(GetTypeInfoWorker(parent, cancellationToken).
Type
.GetPublicSymbol());
970
return new CSharpTypeInfo(declarationInfo.
Type
, declarationInfo.
Type
, declarationInfo.Nullability, declarationInfo.Nullability, Conversion.Identity);
976
if (varTypeInfo.
Type
is { TypeKind: not TypeKind.Error })
Compilation\TypeInfo.cs (4)
55
return 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)
76
Hash.Combine(this.
Type
,