28 references to System_Nullable_T__ctor
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder_Conversions.cs (1)
817_ = GetSpecialTypeMember(SpecialMember.System_Nullable_T__ctor, diagnostics, syntax: node.Syntax);
Binder\Binder_Expressions.cs (3)
2618GetSpecialTypeMember(SpecialMember.System_Nullable_T__ctor, diagnostics, node); 2698GetSpecialTypeMember(SpecialMember.System_Nullable_T__ctor, diagnostics, node); 2725GetSpecialTypeMember(SpecialMember.System_Nullable_T__ctor, diagnostics, operand);
CodeGen\EmitExpression.cs (1)
2505if (originalDef == compilation.GetSpecialTypeMember(SpecialMember.System_Nullable_T__ctor))
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (2)
1373UnsafeGetNullableMethod(syntax, type, SpecialMember.System_Nullable_T__ctor), 1669UnsafeGetNullableMethod(syntax, nullableBoolType, SpecialMember.System_Nullable_T__ctor),
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (4)
1066MethodSymbol ctor = UnsafeGetNullableMethod(syntax, rewrittenType, SpecialMember.System_Nullable_T__ctor); 1180UnsafeGetNullableMethod(syntax, type, SpecialMember.System_Nullable_T__ctor), 1264UnsafeGetNullableMethod(syntax, type, SpecialMember.System_Nullable_T__ctor), 1386MethodSymbol ctor = UnsafeGetNullableMethod(call.Syntax, resultType, SpecialMember.System_Nullable_T__ctor);
Lowering\LocalRewriter\LocalRewriter_Index.cs (1)
74if (!TryGetNullableMethod(syntax, targetNullableType, SpecialMember.System_Nullable_T__ctor, out MethodSymbol nullableCtor))
Lowering\LocalRewriter\LocalRewriter_Range.cs (1)
95if (!TryGetNullableMethod(node.Syntax, node.Type, SpecialMember.System_Nullable_T__ctor, out MethodSymbol nullableCtor))
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (4)
356MethodSymbol ctor = UnsafeGetNullableMethod(syntax, type, SpecialMember.System_Nullable_T__ctor); 831MethodSymbol ctor = UnsafeGetNullableMethod(syntax, type, SpecialMember.System_Nullable_T__ctor); 914MethodSymbol ctor = UnsafeGetNullableMethod(node.Syntax, binaryOperandType, SpecialMember.System_Nullable_T__ctor); 997MethodSymbol ctor = UnsafeGetNullableMethod(syntax, operand.Type, SpecialMember.System_Nullable_T__ctor);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Semantics\CollectionExpressionTests.cs (1)
14511comp.MakeMemberMissing(SpecialMember.System_Nullable_T__ctor);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (10)
Symbols\MissingSpecialMember.cs (10)
1173compilation.MakeMemberMissing(SpecialMember.System_Nullable_T__ctor); 1350compilation.MakeMemberMissing(SpecialMember.System_Nullable_T__ctor); 1398compilation.MakeMemberMissing(SpecialMember.System_Nullable_T__ctor); 1482compilation.MakeMemberMissing(SpecialMember.System_Nullable_T__ctor); 1814compilation.MakeMemberMissing(SpecialMember.System_Nullable_T__ctor); 1844compilation.MakeMemberMissing(SpecialMember.System_Nullable_T__ctor); 1958compilation.MakeMemberMissing(SpecialMember.System_Nullable_T__ctor); 2038compilation.MakeMemberMissing(SpecialMember.System_Nullable_T__ctor); 2069compilation.MakeMemberMissing(SpecialMember.System_Nullable_T__ctor); 2684compilation.MakeMemberMissing(SpecialMember.System_Nullable_T__ctor);