1 write to Location
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Source\SourcePropertySymbolBase.cs (1)
95
Location
= location;
30 references to Location
Microsoft.CodeAnalysis.CSharp (30)
Symbols\Source\SourcePropertySymbol.cs (9)
459
diagnostics.Add((this.IsIndexer ? ErrorCode.ERR_BadVisIndexerReturn : ErrorCode.ERR_BadVisPropertyType),
Location
, this, type.Type);
464
diagnostics.Add(ErrorCode.ERR_FileTypeDisallowedInSignature,
Location
, type.Type, ContainingType);
467
diagnostics.Add(
Location
, useSiteInfo);
473
diagnostics.Add(ErrorCode.ERR_IndexerCantHaveVoidType,
Location
);
477
diagnostics.Add(ErrorCode.ERR_PropertyCantHaveVoidType,
Location
, this);
542
diagnostics.Add(ErrorCode.ERR_BadVisIndexerParam,
Location
, this, param.Type);
546
diagnostics.Add(ErrorCode.ERR_FileTypeDisallowedInSignature,
Location
, param.Type, this.ContainingType);
550
diagnostics.Add(ErrorCode.ERR_DuplicateGeneratedName, param.Locations.FirstOrDefault() ??
Location
, param.Name);
554
diagnostics.Add(
Location
, useSiteInfo);
Symbols\Source\SourcePropertySymbolBase.cs (19)
446
return new LexicalSortKey(
Location
, this.DeclaringCompilation);
453
return ImmutableArray.Create(
Location
);
661
this.CheckAccessibility(
Location
, diagnostics, isExplicitInterfaceImplementation);
662
this.CheckModifiers(isExplicitInterfaceImplementation,
Location
, IsIndexer, diagnostics);
667
CheckInitializer(IsAutoProperty, ContainingType.IsInterface, IsStatic,
Location
, diagnostics);
673
diagnostics.Add(ErrorCode.ERR_RefReturningPropertiesCannotBeRequired,
Location
);
684
diagnostics.Add(ErrorCode.ERR_AutoPropsInRoStruct,
Location
);
688
diagnostics.Add(ErrorCode.ERR_AutoPropertyWithSetterCantBeReadOnly,
Location
, this);
694
WellKnownMember.System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor, diagnostics, location:
Location
);
698
diagnostics.Add(ErrorCode.ERR_AutoPropertyCannotBeRefReturning,
Location
);
704
diagnostics.Add(ErrorCode.ERR_AutoPropertyMustOverrideSet,
Location
);
726
diagnostics.Add(ErrorCode.ERR_DuplicatePropertyAccessMods,
Location
, this);
730
diagnostics.Add(ErrorCode.ERR_DuplicatePropertyReadOnlyMods,
Location
, this);
743
diagnostics.Add(ErrorCode.ERR_PropertyWithNoAccessors,
Location
, this);
749
diagnostics.Add(ErrorCode.ERR_RefPropertyMustHaveGetAccessor,
Location
);
765
diagnostics.Add(ErrorCode.ERR_AccessModMissingAccessor,
Location
, this);
771
diagnostics.Add(ErrorCode.ERR_ReadOnlyModMissingAccessor,
Location
, this);
949
diagnostics.Add(ErrorCode.ERR_ExplicitPropertyMissingAccessor, this.
Location
, this, otherAccessor);
1493
this.Type.CheckAllConstraints(DeclaringCompilation, conversions,
Location
, diagnostics);
Symbols\Synthesized\Records\SynthesizedRecordEqualityContractProperty.cs (1)
76
return (TypeWithAnnotations.Create(Binder.GetWellKnownType(DeclaringCompilation, WellKnownType.System_Type, diagnostics,
Location
), NullableAnnotation.NotAnnotated),
Symbols\Synthesized\SynthesizedBackingFieldSymbol.cs (1)
101
=> _property.
Location
;