1 write to containingType
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Source\SourceEventSymbol.cs (1)
54this.containingType = containingType;
11 references to containingType
Microsoft.CodeAnalysis.CSharp (11)
Symbols\Source\SourceCustomEventAccessorSymbol.cs (1)
100if (this.AssociatedEvent.containingType.AnyMemberHasAttributes)
Symbols\Source\SourceEventAccessorSymbol.cs (1)
34: base(@event.containingType, syntaxReference, location, isIterator,
Symbols\Source\SourceEventFieldSymbol.cs (1)
26: base(associatedEvent.containingType,
Symbols\Source\SourceEventSymbol.cs (8)
102return containingType; 110return this.containingType; 145if (this.containingType.AnyMemberHasAttributes && MemberSyntax is { } memberSyntax) 326if (!this.containingType.AnyMemberHasAttributes) 395AddSynthesizedAttribute(ref attributes, moduleBuilder.SynthesizeNullableAttributeIfNecessary(this, containingType.GetNullableContextValue(), type)); 753if (this.containingType.IsInterfaceType()) 773foreach (NamedTypeSymbol @interface in this.containingType.InterfacesAndTheirBaseInterfacesNoUseSiteDiagnostics.Keys) 781this == this.containingType.FindImplementationForInterfaceMemberInNonInterface(interfaceMember, ignoreImplementationInInterfacesIfResultIsNotReady: true)) //slow check (necessary and sufficient)