Base:
property
Locations
Microsoft.CodeAnalysis.CSharp.Symbols.SourceMemberMethodSymbol.Locations
26 references to Locations
Microsoft.CodeAnalysis.CSharp (26)
Symbols\Source\SourceMemberContainerSymbol.cs (4)
3481diagnostics.Add(ErrorCode.ERR_PartialMethodOnlyOneActual, methodPart.Locations[0]); 3487diagnostics.Add(ErrorCode.ERR_PartialMethodOnlyOneLatent, methodPart.Locations[0]); 3511diagnostics.Add(ErrorCode.ERR_PartialMethodMustHaveLatent, method.Locations[0], method); 3515diagnostics.Add(ErrorCode.ERR_PartialMethodWithAccessibilityModsMustHaveImplementation, method.Locations[0], method);
Symbols\Source\SourceOrdinaryMethodSymbol.cs (14)
528syntax.Modifiers, defaultAccess: DeclarationModifiers.None, allowedModifiers, Locations[0], diagnostics, out _); 659diagnostics.Add(ErrorCode.ERR_PartialMethodReturnTypeDifference, implementation.Locations[0]); 664diagnostics.Add(ErrorCode.ERR_PartialMethodInconsistentTupleNames, implementation.Locations[0], definition, implementation); 669diagnostics.Add(ErrorCode.ERR_PartialMethodRefReturnDifference, implementation.Locations[0]); 674diagnostics.Add(ErrorCode.ERR_PartialMethodStaticDifference, implementation.Locations[0]); 679diagnostics.Add(ErrorCode.ERR_PartialMethodReadOnlyDifference, implementation.Locations[0]); 684diagnostics.Add(ErrorCode.ERR_PartialMethodExtensionDifference, implementation.Locations[0]); 689diagnostics.Add(ErrorCode.ERR_PartialMethodUnsafeDifference, implementation.Locations[0]); 694diagnostics.Add(ErrorCode.ERR_PartialMethodParamsDifference, implementation.Locations[0]); 700diagnostics.Add(ErrorCode.ERR_PartialMethodAccessibilityDifference, implementation.Locations[0]); 708diagnostics.Add(ErrorCode.ERR_PartialMethodExtendedModDifference, implementation.Locations[0]); 750diagnostics.Add(ErrorCode.WRN_PartialMethodTypeDifference, implementation.Locations[0], 788diagnostics.Add(ErrorCode.ERR_PartialMethodInconsistentConstraints, implementation.Locations[0], implementation, typeParameter2.Name); 792diagnostics.Add(ErrorCode.WRN_NullabilityMismatchInConstraintsOnPartialImplementation, implementation.Locations[0], implementation, typeParameter2.Name);
Symbols\Synthesized\Records\SynthesizedRecordBaseEquals.cs (2)
40ordinal: 0, RefKind.None, ScopedKind.None, "other", Locations)), 56diagnostics.Add(ErrorCode.ERR_DoesNotOverrideBaseMethod, Locations[0], this, ContainingType.BaseTypeNoUseSiteDiagnostics);
Symbols\Synthesized\Records\SynthesizedRecordDeconstruct.cs (1)
52arg: Locations),
Symbols\Synthesized\Records\SynthesizedRecordEquals.cs (1)
45ordinal: 0, RefKind.None, ScopedKind.None, "other", Locations)),
Symbols\Synthesized\Records\SynthesizedRecordObjEquals.cs (1)
36ordinal: 0, RefKind.None, ScopedKind.None, "obj", Locations)),
Symbols\Synthesized\Records\SynthesizedRecordOrdinaryMethod.cs (1)
36protected sealed override Location ReturnTypeLocation => Locations[0];
Symbols\Synthesized\Records\SynthesizedRecordPrintMembers.cs (2)
97ordinal: 0, RefKind.None, ScopedKind.None, "builder", Locations)), 113diagnostics.Add(ErrorCode.ERR_DoesNotOverrideBaseMethod, Locations[0], this, ContainingType.BaseTypeNoUseSiteDiagnostics);