28 references to SpecialMember
Microsoft.CodeAnalysis (26)
Compilation\Compilation.cs (3)
984internal abstract ISymbolInternal CommonGetSpecialTypeMember(SpecialMember specialMember); 3698internal void MakeMemberMissing(SpecialMember member) 3708internal bool IsMemberMissing(SpecialMember member)
Operations\ControlFlowGraphBuilder.cs (21)
2362condition = CallNullableMember(condition, SpecialMember.System_Nullable_T_GetValueOrDefault); 2380condition = CallNullableMember(condition, SpecialMember.System_Nullable_T_GetValueOrDefault); 2594condition = CallNullableMember(OperationCloner.CloneOperation(capturedLeft), SpecialMember.System_Nullable_T_GetValueOrDefault); 3010possiblyUnwrappedValue = TryCallNullableMember(capturedValue, SpecialMember.System_Nullable_T_GetValueOrDefault); 3186CallNullableMember(valueCapture, SpecialMember.System_Nullable_T_GetValueOrDefault))); 3190CallNullableMember(OperationCloner.CloneOperation(valueCapture), SpecialMember.System_Nullable_T_get_HasValue), 3323private IOperation? TryCallNullableMember(IOperation value, SpecialMember nullableMember) 3325Debug.Assert(nullableMember == SpecialMember.System_Nullable_T_GetValueOrDefault || 3326nullableMember == SpecialMember.System_Nullable_T_get_HasValue || 3327nullableMember == SpecialMember.System_Nullable_T_get_Value || 3328nullableMember == SpecialMember.System_Nullable_T__op_Explicit_ToT || 3329nullableMember == SpecialMember.System_Nullable_T__op_Implicit_FromT); 3353private IOperation CallNullableMember(IOperation value, SpecialMember nullableMember) 3548receiver = CallNullableMember(receiver, SpecialMember.System_Nullable_T_GetValueOrDefault); 4149resource = CallNullableMember(resource, SpecialMember.System_Nullable_T_GetValueOrDefault); 4173: (IMethodSymbol?)_compilation.CommonGetSpecialTypeMember(SpecialMember.System_IDisposable__Dispose)?.GetISymbol()); 4923stepValue = CallNullableMember(stepValue, SpecialMember.System_Nullable_T_GetValueOrDefault); 5178PushOperand(CallNullableMember(visitLoopControlVariableReference(forceImplicit: true), SpecialMember.System_Nullable_T_GetValueOrDefault)); // Yes we are going to evaluate it again 5179limitReference = CallNullableMember(GetCaptureReference(limitValueId, operation.LimitValue), SpecialMember.System_Nullable_T_GetValueOrDefault); 5381controlVariableReferenceForIncrement = CallNullableMember(controlVariableReferenceForIncrement, SpecialMember.System_Nullable_T_GetValueOrDefault); 5382stepValueForIncrement = CallNullableMember(stepValueForIncrement, SpecialMember.System_Nullable_T_GetValueOrDefault);
SpecialMembers.cs (2)
1318string[] allNames = new string[(int)SpecialMember.Count] 1482public static MemberDescriptor GetDescriptor(SpecialMember member)
Microsoft.CodeAnalysis.CSharp (2)
Lowering\LocalRewriter\LocalRewriter.cs (2)
606/// Recommendation: Do not use, use <see cref="TryGetSpecialTypeMethod(SyntaxNode, SpecialMember, out MethodSymbol, bool)"/> instead! 616/// Recommendation: Do not use, use <see cref="TryGetSpecialTypeMethod(SyntaxNode, SpecialMember, CSharpCompilation, BindingDiagnosticBag, out MethodSymbol, bool)"/> instead!