27 references to ObjectToString
Microsoft.CodeAnalysis.CSharp (5)
Lowering\Instrumentation\LocalStateTracingInstrumenter.cs (1)
250
=> variableType.GetMembers(WellKnownMemberNames.
ObjectToString
).Any(m => m.GetOverriddenMember() is not null);
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.ToStringMethodSymbol.cs (1)
28
: base(container, WellKnownMemberNames.
ObjectToString
)
Symbols\Source\SourceMemberContainerSymbol.cs (2)
4455
WellKnownMemberNames.
ObjectToString
,
4512
foreach (var member in currentBaseType.GetSimpleNonTypeMembers(WellKnownMemberNames.
ObjectToString
))
Symbols\Synthesized\Records\SynthesizedRecordToString.cs (1)
28
WellKnownMemberNames.
ObjectToString
,
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (15)
Attributes\AttributeTests_Synthesized.cs (5)
675
var toString = record.GetMember(WellKnownMemberNames.
ObjectToString
);
742
var toString = record.GetMember(WellKnownMemberNames.
ObjectToString
);
817
var toString = record.GetMember(WellKnownMemberNames.
ObjectToString
);
894
var toString = record.GetMember(WellKnownMemberNames.
ObjectToString
);
948
var toString = record.GetMember(WellKnownMemberNames.
ObjectToString
);
Semantics\RecordTests.cs (10)
4928
var toString = comp.GetMember<MethodSymbol>("C1." + WellKnownMemberNames.
ObjectToString
);
4944
v.VerifyIL("C1." + WellKnownMemberNames.
ObjectToString
, @"
5003
var toString = comp.GetMember<MethodSymbol>("C1." + WellKnownMemberNames.
ObjectToString
);
5019
v.VerifyIL("C1." + WellKnownMemberNames.
ObjectToString
, @"
5080
var toString = comp.GetMember<MethodSymbol>("C1." + WellKnownMemberNames.
ObjectToString
);
5098
v.VerifyIL("C1." + WellKnownMemberNames.
ObjectToString
, @"
5247
var toString = comp.GetMember<MethodSymbol>("C1." + WellKnownMemberNames.
ObjectToString
);
5431
var toString = comp.GetMember<MethodSymbol>("C1." + WellKnownMemberNames.
ObjectToString
);
5465
var toString = comp.GetMember<MethodSymbol>("C1." + WellKnownMemberNames.
ObjectToString
);
5858
var toString = comp.GetMember<MethodSymbol>("C1." + WellKnownMemberNames.
ObjectToString
);
Microsoft.CodeAnalysis.CSharp.Features (1)
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (1)
1012
WellKnownMemberNames.
ObjectToString
or
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\RecordStructTests.cs (4)
5149
var toString = comp.GetMember<MethodSymbol>("C1." + WellKnownMemberNames.
ObjectToString
);
5165
v.VerifyIL("C1." + WellKnownMemberNames.
ObjectToString
, @"
5353
var toString = comp.GetMember<MethodSymbol>("C1." + WellKnownMemberNames.
ObjectToString
);
5565
v.VerifyIL("C1." + WellKnownMemberNames.
ObjectToString
, @"
Microsoft.CodeAnalysis.VisualBasic (2)
Symbols\AnonymousTypes\PublicSymbols\AnonymousType_TypePublicSymbol.vb (1)
140
Dim method As New SynthesizedSimpleMethodSymbol(Me, WellKnownMemberNames.
ObjectToString
, Me.Manager.System_String,
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_ToStringMethodSymbol.vb (1)
20
MyBase.New(VisualBasic.VisualBasicSyntaxTree.Dummy.GetRoot(), container, WellKnownMemberNames.
ObjectToString
)