12 references to TypeWithAnnotations
Microsoft.CodeAnalysis.CSharp (12)
Binder\Binder.NamespaceOrTypeOrAliasSymbolWithAnnotations.cs (1)
37internal Symbol Symbol => _symbol ?? TypeWithAnnotations.Type;
Binder\Binder_Symbols.cs (9)
43return isVar ? default : UnwrapAlias(symbol, diagnostics, syntax).TypeWithAnnotations; 63return (keyword != ConstraintContextualKeyword.None) ? default : UnwrapAlias(symbol, diagnostics, syntax).TypeWithAnnotations; 91return UnwrapAlias(symbol, out alias, diagnostics, syntax).TypeWithAnnotations; 308return UnwrapAlias(symbol, diagnostics, syntax, basesBeingResolved).TypeWithAnnotations; 317return UnwrapAlias(symbol, out alias, diagnostics, syntax, basesBeingResolved).TypeWithAnnotations; 337symbol.TypeWithAnnotations.ReportDiagnosticsIfObsolete(this, syntax, diagnostics); 338if (symbol.TypeWithAnnotations.IsResolved) ReportDiagnosticsIfUnsafeMemberAccess(diagnostics, symbol.TypeWithAnnotations.Type, syntax); 1705TypeWithAnnotations type = right.TypeWithAnnotations;
Symbols\AliasSymbol.cs (2)
409annotatedNamespaceOrType.TypeWithAnnotations.NullableAnnotation == NullableAnnotation.Annotated && 410annotatedNamespaceOrType.TypeWithAnnotations.Type?.IsReferenceType is true)