7 instantiations of CSharpTypeInfo
Microsoft.CodeAnalysis.CSharp (7)
Compilation\CSharpSemanticModel.cs (6)
966return new CSharpTypeInfo(declarationTypeSymbol, declarationTypeSymbol, nullabilityInfo, nullabilityInfo, Conversion.Identity); 970return new CSharpTypeInfo(declarationInfo.Type, declarationInfo.Type, declarationInfo.Nullability, declarationInfo.Nullability, Conversion.Identity); 2025return new CSharpTypeInfo( 2031return new CSharpTypeInfo(member.Type, member.Type, nullability: default, convertedNullability: default, Conversion.Identity); 2260return new CSharpTypeInfo(type, convertedType, nullability, convertedNullability, conversion); 2355return new CSharpTypeInfo(type, type, default, default, Conversion.Identity);
Compilation\TypeInfo.cs (1)
15internal static readonly CSharpTypeInfo None = new CSharpTypeInfo(type: null, convertedType: null, nullability: default, convertedNullability: default, Conversion.Identity);
38 references to CSharpTypeInfo
Microsoft.CodeAnalysis.CSharp (38)
Compilation\CSharpSemanticModel.cs (19)
155internal abstract CSharpTypeInfo GetTypeInfoWorker(CSharpSyntaxNode node, CancellationToken cancellationToken = default(CancellationToken)); 545var varTypeInfo = GetTypeInfoWorker(expression, cancellationToken); 931: CSharpTypeInfo.None; 956return CSharpTypeInfo.None; 969var declarationInfo = GetTypeInfoWorker(parent, cancellationToken); 975var varTypeInfo = GetTypeInfoWorker(expression, cancellationToken); 1002: CSharpTypeInfo.None; 1014var info = CanGetSemanticInfo(csnode) 1016: CSharpTypeInfo.None; 1044internal CSharpTypeInfo GetSpeculativeTypeInfoWorker(int position, ExpressionSyntax expression, SpeculativeBindingOption bindingOption) 1048return CSharpTypeInfo.None; 1058: CSharpTypeInfo.None; 1061var typeInfo = GetTypeInfoForNode(boundNode, boundNode, boundNodeForSyntacticParent: null); 1071var info = this.GetSpeculativeTypeInfoWorker(position, expression, bindingOption); 2015internal CSharpTypeInfo GetTypeInfoForNode( 2263return CSharpTypeInfo.None; 2348internal static CSharpTypeInfo GetTypeInfoForSymbol(Symbol symbol) 4995return CSharpTypeInfo.None; 5044: CSharpTypeInfo.None;
Compilation\MemberSemanticModel.cs (3)
1059private CSharpTypeInfo GetTypeInfoForQuery(BoundQueryClause bound) 1062CSharpTypeInfo.None : 1221internal override CSharpTypeInfo GetTypeInfoWorker(CSharpSyntaxNode node, CancellationToken cancellationToken = default(CancellationToken))
Compilation\SpeculativeSemanticModelWithMemberModel.cs (1)
455internal override CSharpTypeInfo GetTypeInfoWorker(CSharpSyntaxNode node, CancellationToken cancellationToken = default(CancellationToken))
Compilation\SpeculativeSyntaxTreeSemanticModel.cs (1)
130internal override CSharpTypeInfo GetTypeInfoWorker(CSharpSyntaxNode node, CancellationToken cancellationToken = default(CancellationToken))
Compilation\SyntaxTreeSemanticModel.cs (3)
305internal override CSharpTypeInfo GetTypeInfoWorker(CSharpSyntaxNode node, CancellationToken cancellationToken = default(CancellationToken)) 323return (object)symbol != null ? GetTypeInfoForSymbol(symbol) : CSharpTypeInfo.None; 442return (model == null) ? CSharpTypeInfo.None : model.GetTypeInfo(node, cancellationToken);
Compilation\TypeInfo.cs (6)
13internal readonly struct CSharpTypeInfo : IEquatable<CSharpTypeInfo> 15internal static readonly CSharpTypeInfo None = new CSharpTypeInfo(type: null, convertedType: null, nullability: default, convertedNullability: default, Conversion.Identity); 53public static implicit operator TypeInfo(CSharpTypeInfo info) 61return obj is CSharpTypeInfo && Equals((CSharpTypeInfo)obj); 64public bool Equals(CSharpTypeInfo other)
CSharpExtensions.cs (5)
697return CSharpTypeInfo.None; 710return CSharpTypeInfo.None; 726return CSharpTypeInfo.None; 742return CSharpTypeInfo.None; 760return CSharpTypeInfo.None;