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)
637CType typeSrcBase = typeSrc.StripNubs(); 638CType typeDstBase = typeDst.StripNubs(); 734if (fImplicitOrExactSrc && !fNeedImplicit && typeFrom.StripNubs() != typeSrcBase)
Microsoft\CSharp\RuntimeBinder\Semantics\ExplicitConversion.cs (2)
194if (_typeDest.IsValueType && _binder.BindExplicitConversion(null, _typeSrc.StripNubs(), _typeDest, _flags | CONVERTTYPE.NOUDC)) 204Debug.Assert(valueSrc.Type == _typeSrc.StripNubs());
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (3)
548typeSrc = typeSrc.StripNubs(); 654CType typeRaw = typeArg.StripNubs(); 655if (!(arg.Type is NullableType) || !canConvert(arg.Type.StripNubs(), typeRaw, CONVERTTYPE.NOUDC))
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinder.cs (1)
490CType pRawParamType = type.StripNubs();
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (5)
1304CType pRawType = pArgumentType.StripNubs(); 1399CType pRawType = pArgumentType.StripNubs(); 1611CType typeRaw = uofs.GetType().StripNubs(); 2624if (!canConvert(arg1.Type.StripNubs(), paramsRaw[0], CONVERTTYPE.NOUDC)) 2628if (!canConvert(arg2.Type.StripNubs(), paramsRaw[1], CONVERTTYPE.NOUDC))
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Visitors\ExpressionTreeRewriter.cs (6)
466if (didEnumConversion && expr.Type.StripNubs().IsEnumType) 683CType pStrippedTypeOfArgument = pArgument.Type.StripNubs(); 708CType underlyingType = arg.Type.StripNubs().UnderlyingEnumType; 1018pType is NullableType && pType.StripNubs() is AggregateType agg && agg.OwningAggregate.IsValueType(); 1027argtype.StripNubs().IsEnumType && desttype.StripNubs().IsPredefType(PredefinedType.PT_DECIMAL);