Base:
property
Locations
Microsoft.CodeAnalysis.CSharp.Symbol.Locations
2 overrides of Locations
Microsoft.CodeAnalysis.CSharp (2)
Symbols\Source\SourceOrdinaryMethodSymbolBase.cs (1)
179public override ImmutableArray<Location> Locations
Symbols\Source\SourceUserDefinedOperatorSymbolBase.cs (1)
782public sealed override ImmutableArray<Location> Locations
17 references to Locations
Microsoft.CodeAnalysis.CSharp (17)
Symbols\Source\SourceConstructorSymbolBase.cs (1)
62var location = this.Locations[0];
Symbols\Source\SourceDestructorSymbol.cs (1)
27Location location = this.Locations[0];
Symbols\Source\SourceEventAccessorSymbol.cs (2)
219Debug.Assert(this.Locations.Length == 1); 220return this.Locations[0];
Symbols\Source\SourceMemberContainerSymbol.cs (2)
2062diagnostics.Add(ErrorCode.ERR_OverloadRefKind, method1.Locations[0], this, methodKind.Localize(), refKind1.ToParameterDisplayString(), refKind2.ToParameterDisplayString()); 2074diagnostics.Add(ErrorCode.ERR_MemberAlreadyExists, method1.Locations[0], methodName, this);
Symbols\Source\SourceMemberMethodSymbol.cs (5)
256diagnostics.Add(code, Locations[0], this, returnType.Type); 268diagnostics.Add(code, Locations[0], this, parameter.Type); 272diagnostics.Add(Locations[0], useSiteInfo); 284diagnostics.Add(ErrorCode.ERR_FileTypeDisallowedInSignature, Locations[0], returnType.Type, ContainingType); 291diagnostics.Add(ErrorCode.ERR_FileTypeDisallowedInSignature, Locations[0], param.Type, ContainingType);
Symbols\Source\SourceOrdinaryMethodOrUserDefinedOperatorSymbol.cs (1)
241this.ReturnType.CheckAllConstraints(compilation, conversions, this.Locations[0], diagnostics);
Symbols\Source\SourcePropertySymbolBase.cs (4)
720diagnostics.Add(ErrorCode.ERR_RefPropertyCannotHaveSetAccessor, _setMethod.Locations[0]); 754diagnostics.Add(ErrorCode.ERR_AutoPropertyMustHaveGetAccessor, _setMethod!.Locations[0]); 908diagnostics.Add(ErrorCode.ERR_InvalidPropertyAccessMod, accessor.Locations[0], accessor, this); 930diagnostics.Add(ErrorCode.ERR_PrivateAbstractAccessor, accessor.Locations[0], accessor);
Symbols\Synthesized\SynthesizedAccessorValueParameterSymbol.cs (1)
21: base(accessor, ordinal, paramType, RefKind.None, ParameterSymbol.ValueParameterName, accessor.Locations,