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)
2630GetSpecialTypeMember(SpecialMember.System_Nullable_T__ctor, diagnostics, node); 2710GetSpecialTypeMember(SpecialMember.System_Nullable_T__ctor, diagnostics, node); 2737GetSpecialTypeMember(SpecialMember.System_Nullable_T__ctor, diagnostics, operand);
CodeGen\EmitExpression.cs (1)
2516if (originalDef == compilation.GetSpecialTypeMember(SpecialMember.System_Nullable_T__ctor))
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (2)
1374UnsafeGetNullableMethod(syntax, type, SpecialMember.System_Nullable_T__ctor), 1670UnsafeGetNullableMethod(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)
16350comp.MakeMemberMissing(SpecialMember.System_Nullable_T__ctor);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (10)
Symbols\MissingSpecialMember.cs (10)
1195compilation.MakeMemberMissing(SpecialMember.System_Nullable_T__ctor); 1372compilation.MakeMemberMissing(SpecialMember.System_Nullable_T__ctor); 1420compilation.MakeMemberMissing(SpecialMember.System_Nullable_T__ctor); 1504compilation.MakeMemberMissing(SpecialMember.System_Nullable_T__ctor); 1836compilation.MakeMemberMissing(SpecialMember.System_Nullable_T__ctor); 1866compilation.MakeMemberMissing(SpecialMember.System_Nullable_T__ctor); 1980compilation.MakeMemberMissing(SpecialMember.System_Nullable_T__ctor); 2060compilation.MakeMemberMissing(SpecialMember.System_Nullable_T__ctor); 2091compilation.MakeMemberMissing(SpecialMember.System_Nullable_T__ctor); 2706compilation.MakeMemberMissing(SpecialMember.System_Nullable_T__ctor);