14 references to SpecialMethod
Microsoft.CodeAnalysis.CSharp (14)
Compiler\MethodBodySynthesizer.Lowered.cs (2)
100
F.
SpecialMethod
(SpecialMember.System_String__Chars),
114
F.Call(F.Parameter(text), F.
SpecialMethod
(SpecialMember.System_String__Length))),
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
772
createDelegate = _bound.
SpecialMethod
(SpecialMember.System_Delegate__CreateDelegate);
Lowering\IteratorRewriter\IteratorRewriter.cs (5)
212
var IDisposable_Dispose = F.
SpecialMethod
(SpecialMember.System_IDisposable__Dispose);
214
var IEnumerator_MoveNext = F.
SpecialMethod
(SpecialMember.System_Collections_IEnumerator__MoveNext);
215
var IEnumerator_Reset = F.
SpecialMethod
(SpecialMember.System_Collections_IEnumerator__Reset);
256
var IEnumerable_GetEnumerator = F.
SpecialMethod
(SpecialMember.System_Collections_IEnumerable__GetEnumerator);
259
var IEnumerableOfElementType_GetEnumerator = F.
SpecialMethod
(SpecialMember.System_Collections_Generic_IEnumerable_T__GetEnumerator).AsMember(IEnumerableOfElementType);
Lowering\SyntheticBoundNodeFactory.cs (4)
832
MethodSymbol methodSymbol =
SpecialMethod
(method);
1275
getTypeFromHandle =
SpecialMethod
(CodeAnalysis.SpecialMember.System_Type__GetTypeFromHandle);
1458
return
SpecialMethod
(
1531
return this.Call(arg, this.
SpecialMethod
(CodeAnalysis.SpecialMember.System_Nullable_T_get_Value).AsMember((NamedTypeSymbol)arg.Type));
Symbols\Synthesized\Records\SynthesizedRecordPrintMembers.cs (1)
214
F.Call(value, F.
SpecialMethod
(SpecialMember.System_Object__ToString)))));
Symbols\Synthesized\Records\SynthesizedRecordToString.cs (1)
78
block.Add(F.Return(F.Call(builderLocal, F.
SpecialMethod
(SpecialMember.System_Object__ToString))));