2 overrides of Type
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler (2)
Symbols\DisplayClassInstance.cs (2)
57
internal override TypeSymbol
Type
95
internal override TypeSymbol
Type
5 references to Type
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler (5)
CompilationContext.cs (5)
1379
displayClassTypes.Add(instance.Instance.
Type
);
1895
Debug.Assert(IsDisplayClassType(instance.
Type
) ||
1896
GeneratedNameParser.GetKind(instance.
Type
.Name) == GeneratedNameKind.AnonymousType ||
1897
instance.
Type
.GetMembers().OfType<FieldSymbol>().Any(static f => GeneratedNameParser.TryParsePrimaryConstructorParameterFieldName(f.Name, out _)));
1907
=> Fields.Any() ? Fields.Head.Type : Instance.
Type
;