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