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