1 override of StripNubs
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\Semantics\Types\NullableType.cs (1)
32public override CType StripNubs() => UnderlyingType;
22 references to StripNubs
Microsoft.CSharp (22)
Microsoft\CSharp\RuntimeBinder\Semantics\BinOpArgInfo.cs (2)
21typeRaw1 = type1.StripNubs(); 22typeRaw2 = type2.StripNubs();
Microsoft\CSharp\RuntimeBinder\Semantics\Conversion.cs (3)
664CType typeSrcBase = typeSrc.StripNubs(); 665CType typeDstBase = typeDst.StripNubs(); 761if (fImplicitOrExactSrc && !fNeedImplicit && typeFrom.StripNubs() != typeSrcBase)
Microsoft\CSharp\RuntimeBinder\Semantics\ExplicitConversion.cs (2)
195if (_typeDest.IsValueType && _binder.BindExplicitConversion(null, _typeSrc.StripNubs(), _typeDest, _flags | CONVERTTYPE.NOUDC)) 205Debug.Assert(valueSrc.Type == _typeSrc.StripNubs());
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (3)
560typeSrc = typeSrc.StripNubs(); 667CType typeRaw = typeArg.StripNubs(); 668if (!(arg.Type is NullableType) || !canConvert(arg.Type.StripNubs(), typeRaw, CONVERTTYPE.NOUDC))
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinder.cs (1)
491CType pRawParamType = type.StripNubs();
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (5)
1330CType pRawType = pArgumentType.StripNubs(); 1426CType pRawType = pArgumentType.StripNubs(); 1645CType typeRaw = uofs.GetType().StripNubs(); 2689if (!canConvert(arg1.Type.StripNubs(), paramsRaw[0], CONVERTTYPE.NOUDC)) 2693if (!canConvert(arg2.Type.StripNubs(), paramsRaw[1], CONVERTTYPE.NOUDC))
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Visitors\ExpressionTreeRewriter.cs (6)
467if (didEnumConversion && expr.Type.StripNubs().IsEnumType) 684CType pStrippedTypeOfArgument = pArgument.Type.StripNubs(); 709CType underlyingType = arg.Type.StripNubs().UnderlyingEnumType; 1019pType is NullableType && pType.StripNubs() is AggregateType agg && agg.OwningAggregate.IsValueType(); 1028argtype.StripNubs().IsEnumType && desttype.StripNubs().IsPredefType(PredefinedType.PT_DECIMAL);