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