Base:
property
Locations
Microsoft.CodeAnalysis.CSharp.Symbol.Locations
14 references to Locations
Microsoft.CodeAnalysis.CSharp (14)
Symbols\Source\SourceCustomEventSymbol.cs (4)
139diagnostics.Add(ErrorCode.ERR_EventNeedsBothAccessors, this.Locations[0], this); 144diagnostics.Add(ErrorCode.ERR_ExplicitEventFieldImpl, this.Locations[0]); 151Binder.CheckFeatureAvailability(syntax, MessageID.IDS_DefaultInterfaceImplementation, diagnostics, this.Locations[0]); 155diagnostics.Add(ErrorCode.ERR_RuntimeDoesNotSupportDefaultInterfaceImplementation, this.Locations[0]);
Symbols\Source\SourceEventSymbol.cs (2)
521Location location = this.Locations[0]; 743var location = this.Locations[0];
Symbols\Source\SourceFieldLikeEventSymbol.cs (7)
69diagnostics.Add(ErrorCode.ERR_InterfaceEventInitializer, this.Locations[0], this); 73diagnostics.Add(ErrorCode.ERR_AbstractEventInitializer, this.Locations[0], this); 77diagnostics.Add(ErrorCode.ERR_ExternEventInitializer, this.Locations[0], this); 91diagnostics.Add(ErrorCode.ERR_FieldlikeEventsInRoStruct, this.Locations[0]); 100diagnostics.Add(ErrorCode.ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfaces, this.Locations[0]); 107diagnostics.Add(ErrorCode.ERR_RuntimeDoesNotSupportDefaultInterfaceImplementation, this.Locations[0]); 112diagnostics.Add(ErrorCode.ERR_EventNeedsBothAccessors, this.Locations[0], this);
Symbols\Synthesized\SynthesizedEventAccessorSymbol.cs (1)
28: base(@event, null, @event.Locations, explicitlyImplementedEventOpt, aliasQualifierOpt, isAdder, isIterator: false, isNullableAnalysisEnabled: false)