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