1 write to TypeWithAnnotations
Microsoft.CodeAnalysis.CSharp (1)
Symbols\DiscardSymbol.cs (1)
16TypeWithAnnotations = typeWithAnnotations;
6 references to TypeWithAnnotations
Microsoft.CodeAnalysis.CSharp (6)
Binder\Semantics\AccessCheck.cs (1)
164return IsSymbolAccessibleCore(((DiscardSymbol)symbol).TypeWithAnnotations.Type, within, null, out failedThroughTypeCheck, compilation, ref useSiteInfo, basesBeingResolved);
Symbols\DiscardSymbol.cs (3)
38public override bool Equals(Symbol? obj, TypeCompareKind compareKind) => obj is DiscardSymbol other && this.TypeWithAnnotations.Equals(other.TypeWithAnnotations, compareKind); 39public override int GetHashCode() => this.TypeWithAnnotations.GetHashCode();
Symbols\PublicModel\DiscardSymbol.cs (2)
29Interlocked.CompareExchange(ref _lazyType, _underlying.TypeWithAnnotations.GetPublicSymbol(), null); 36CodeAnalysis.NullableAnnotation IDiscardSymbol.NullableAnnotation => _underlying.TypeWithAnnotations.ToPublicAnnotation();