1 write to _location
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Source\SourceMemberMethodSymbol.cs (1)
333
_location
= location;
13 references to _location
Microsoft.CodeAnalysis.CSharp (13)
Symbols\Source\SourceMemberMethodSymbol.cs (4)
777
=> ImmutableArray.Create(
_location
);
780
=>
_location
;
958
compilation.EnsureIsReadOnlyAttributeExists(diagnostics,
_location
, modifyCompilation: true);
964
compilation.EnsureNullableContextAttributeExists(diagnostics,
_location
, modifyCompilation: true);
Symbols\Source\SourceOrdinaryMethodOrUserDefinedOperatorSymbol.cs (3)
54
diagnostics.Add(ErrorCode.WRN_FinalizeMethod,
_location
);
63
diagnostics.Add(ErrorCode.ERR_PartialMemberNotExplicit,
_location
);
68
diagnostics.Add(ErrorCode.ERR_PartialMemberOnlyInPartialClass,
_location
);
Symbols\Source\SourceOrdinaryMethodSymbol.cs (5)
220
diagnostics.Add(ErrorCode.ERR_RefExtensionMustBeValueTypeOrConstrainedToOne,
_location
, Name);
224
diagnostics.Add(ErrorCode.ERR_InExtensionMustBeValueType,
_location
, Name);
228
diagnostics.Add(ErrorCode.ERR_ExtensionMethodsDecl,
_location
, ContainingType.Name);
241
diagnostics.Add(ErrorCode.ERR_BadExtensionMeth,
_location
);
680
CheckModifiers(MethodKind == MethodKind.ExplicitInterfaceImplementation,
_location
, diagnostics);
Symbols\Source\SourcePropertyAccessorSymbol.cs (1)
392
WellKnownType.System_Runtime_CompilerServices_IsExternalInit, diagnostics,
_location
);