3 overrides of ErrorLocation
Microsoft.CodeAnalysis.CSharp (3)
Symbols\Source\SourceFieldSymbol.cs (1)
222internal sealed override Location ErrorLocation
Symbols\Synthesized\Records\SynthesizedPrimaryConstructorParameterBackingFieldSymbol.cs (1)
33internal override Location ErrorLocation
Symbols\Synthesized\SynthesizedBackingFieldSymbol.cs (1)
100internal override Location ErrorLocation
7 references to ErrorLocation
Microsoft.CodeAnalysis.CSharp (7)
Symbols\Source\FieldSymbolWithAttributesAndModifiers.cs (1)
340diagnostics.Add(ErrorCode.ERR_MissingStructOffset, this.ErrorLocation, this.AttributeOwner);
Symbols\Source\SourceFieldSymbol.cs (6)
51ModifierUtils.CheckAccessibility(Modifiers, this, isExplicitInterfaceImplementation: false, diagnostics, ErrorLocation); 58diagnostics.Add(AccessCheck.GetProtectedMemberInSealedTypeError(containingType), ErrorLocation, this); 62diagnostics.Add(ErrorCode.ERR_VolatileAndReadonly, ErrorLocation, this); 66diagnostics.Add(ErrorCode.ERR_InstanceMemberInStaticClass, ErrorLocation, this); 70diagnostics.Add(ErrorCode.ERR_FieldsInRoStruct, ErrorLocation); 137var location = ErrorLocation;