90 references to SymbolLoader
Microsoft.CSharp (90)
Microsoft\CSharp\RuntimeBinder\RuntimeBinder.cs (5)
375
AggregateType delegateType =
SymbolLoader
.GetPredefindType(PredefinedType.PT_FUNC);
527
callingType =
SymbolLoader
.GetPredefindType(PredefinedType.PT_ARRAY);
955
Expr result = _binder.tryConvert(arg1,
SymbolLoader
.GetPredefindType(PredefinedType.PT_BOOL));
967
?? _binder.mustConvert(arg1,
SymbolLoader
.GetPredefindType(PredefinedType.PT_BOOL));
1296
CType boolType =
SymbolLoader
.GetPredefindType(PredefinedType.PT_BOOL);
Microsoft\CSharp\RuntimeBinder\Semantics\Conversion.cs (1)
1377
CType typeDecimal =
SymbolLoader
.GetPredefindType(PredefinedType.PT_DECIMAL);
Microsoft\CSharp\RuntimeBinder\Semantics\Conversions.cs (16)
29
typeSrc.IsReferenceType &&
SymbolLoader
.HasIdentityOrImplicitReferenceConversion(typeSrc, typeDst);
84
if (
SymbolLoader
.HasIdentityOrImplicitReferenceConversion(typeSrc, typeDst) ||
85
SymbolLoader
.HasIdentityOrImplicitReferenceConversion(typeDst, typeSrc))
141
AggregateSymbol aggIList =
SymbolLoader
.GetPredefAgg(PredefinedType.PT_G_ILIST);
142
AggregateSymbol aggIReadOnlyList =
SymbolLoader
.GetPredefAgg(PredefinedType.PT_G_IREADONLYLIST);
145
!
SymbolLoader
.IsBaseAggregate(aggIList, aggDst.OwningAggregate)) &&
147
!
SymbolLoader
.IsBaseAggregate(aggIReadOnlyList, aggDst.OwningAggregate)))
158
if (
SymbolLoader
.HasIdentityOrImplicitReferenceConversion(
SymbolLoader
.GetPredefindType(PredefinedType.PT_ARRAY), typeSrc))
172
AggregateSymbol aggIList =
SymbolLoader
.GetPredefAgg(PredefinedType.PT_G_ILIST);
173
AggregateSymbol aggIReadOnlyList =
SymbolLoader
.GetPredefAgg(PredefinedType.PT_G_IREADONLYLIST);
176
!
SymbolLoader
.IsBaseAggregate(aggIList, aggtypeSrc.OwningAggregate)) &&
178
!
SymbolLoader
.IsBaseAggregate(aggIReadOnlyList, aggtypeSrc.OwningAggregate)))
198
return
SymbolLoader
.HasIdentityOrImplicitReferenceConversion(typeSrc, typeDst);
204
return
SymbolLoader
.HasIdentityOrImplicitReferenceConversion(typeDst, typeSrc);
232
SymbolLoader
.HasIdentityOrImplicitReferenceConversion(aggSrc, pTarget))
Microsoft\CSharp\RuntimeBinder\Semantics\ExplicitConversion.cs (9)
244
AggregateSymbol aggIList =
SymbolLoader
.GetPredefAgg(PredefinedType.PT_G_ILIST);
245
AggregateSymbol aggIReadOnlyList =
SymbolLoader
.GetPredefAgg(PredefinedType.PT_G_IREADONLYLIST);
248
!
SymbolLoader
.IsBaseAggregate(aggIList, aggDest.OwningAggregate)) &&
250
!
SymbolLoader
.IsBaseAggregate(aggIReadOnlyList, aggDest.OwningAggregate)))
285
AggregateSymbol aggIList =
SymbolLoader
.GetPredefAgg(PredefinedType.PT_G_ILIST);
286
AggregateSymbol aggIReadOnlyList =
SymbolLoader
.GetPredefAgg(PredefinedType.PT_G_IREADONLYLIST);
289
!
SymbolLoader
.IsBaseAggregate(aggIList, aggSrc.OwningAggregate)) &&
291
!
SymbolLoader
.IsBaseAggregate(aggIReadOnlyList, aggSrc.OwningAggregate)))
689
if (
SymbolLoader
.HasBaseConversion(aggTypeDest, atSrc))
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (3)
277
return
SymbolLoader
.GetPredefindType(pt);
478
SymbolLoader
.HasBaseConversion(mwtGet.GetType(), mwtSet.GetType())
571
?
SymbolLoader
.LookupAggMember(pName, atsCur.OwningAggregate, symbmask_t.MASK_MethodSymbol)
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinder.cs (5)
279
AggregateType typeObject =
SymbolLoader
.GetPredefindType(PredefinedType.PT_OBJECT);
504
AggregateType dateTimeType =
SymbolLoader
.GetPredefindType(PredefinedType.PT_DATETIME);
555
AggregateSymbol agg =
SymbolLoader
.GetPredefAgg(PredefinedType.PT_MISSING);
557
FieldSymbol field =
SymbolLoader
.LookupAggMember(name, agg, symbmask_t.MASK_FieldSymbol) as FieldSymbol;
619
for (MethodOrPropertySymbol meth =
SymbolLoader
.LookupAggMember(method.name, pAggregate, symbmask_t.MASK_MethodSymbol | symbmask_t.MASK_PropertySymbol) as MethodOrPropertySymbol;
Microsoft\CSharp\RuntimeBinder\Semantics\ImplicitConversion.cs (5)
275
if (
SymbolLoader
.HasBaseConversion(nubDst.UnderlyingType, _typeSrc) && !CConversions.FWrappingConv(_typeSrc, nubDst))
447
if (
SymbolLoader
.HasBaseConversion(nubSrc.UnderlyingType, _typeDest) && !CConversions.FUnwrappingConv(nubSrc, _typeDest))
483
if (!
SymbolLoader
.HasBaseConversion(_typeSrc, _typeDest))
582
if (!(_typeDest is AggregateType) || !
SymbolLoader
.HasBaseConversion(pSource, _typeDest))
613
if (_typeDest is AggregateType aggDest &&
SymbolLoader
.HasBaseConversion(aggTypeSrc, aggDest))
Microsoft\CSharp\RuntimeBinder\Semantics\MemberLookup.cs (2)
113
for (symCur =
SymbolLoader
.LookupAggMember(_name, typeCur.OwningAggregate, symbmask_t.MASK_Member);
558
?
SymbolLoader
.GetPredefindType(PredefinedType.PT_OBJECT)
Microsoft\CSharp\RuntimeBinder\Semantics\MethodIterator.cs (1)
128
?
SymbolLoader
.LookupAggMember(_name, CurrentType.OwningAggregate, _mask)
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (5)
984
||
SymbolLoader
.HasBaseConversion(type1, typeDel))
992
||
SymbolLoader
.HasBaseConversion(type2, typeDel))
1006
if (
SymbolLoader
.HasBaseConversion(type2, type1))
1008
else if (
SymbolLoader
.HasBaseConversion(type1, type2))
2495
for (MethodSymbol methCur =
SymbolLoader
.LookupAggMember(name, type.OwningAggregate, symbmask_t.MASK_MethodSymbol) as MethodSymbol;
Microsoft\CSharp\RuntimeBinder\Semantics\PredefinedMembers.cs (2)
228
private static AggregateSymbol GetPredefAgg(PredefinedType pt) =>
SymbolLoader
.GetPredefAgg(pt);
355
for (Symbol sym =
SymbolLoader
.LookupAggMember(methodName, type, symbmask_t.MASK_ALL);
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\FieldSymbol.cs (1)
42
return
SymbolLoader
.LookupAggMember(name, getClass(), symbmask_t.MASK_EventSymbol) as EventSymbol;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Visitors\ExpressionTreeRewriter.cs (12)
94
AggregateType expressionType =
SymbolLoader
.GetPredefindType(PredefinedType.PT_EXPRESSION);
159
SymbolLoader
.IsBaseClassOfClass(pArgument.Type, pExpr.Type) ||
199
Expr methodInfo = ExprFactory.CreateMethodInfo(method,
SymbolLoader
.GetPredefindType(PredefinedType.PT_STRING), null);
790
SymbolLoader
.GetPredefindType(PredefinedType.PT_STRING); // force an ensure state
857
CType intType =
SymbolLoader
.GetPredefindType(PredefinedType.PT_INT);
880
AggregateType pObject =
SymbolLoader
.GetPredefindType(PredefinedType.PT_OBJECT);
888
AggregateType stringType =
SymbolLoader
.GetPredefindType(PredefinedType.PT_STRING);
908
AggregateType expressionType =
SymbolLoader
.GetPredefindType(PredefinedType.PT_EXPRESSION);
922
AggregateType expressionType =
SymbolLoader
.GetPredefindType(PredefinedType.PT_EXPRESSION);
937
AggregateType expressionType =
SymbolLoader
.GetPredefindType(PredefinedType.PT_EXPRESSION);
952
AggregateType expressionType =
SymbolLoader
.GetPredefindType(PredefinedType.PT_EXPRESSION);
965
AggregateType paramsArrayElementType =
SymbolLoader
.GetPredefindType(pt);
Microsoft\CSharp\RuntimeBinder\Semantics\TypeBind.cs (3)
233
else if (arg is NullableType nubArg &&
SymbolLoader
.HasBaseConversion(nubArg.UnderlyingType, typeBnd)) // This is inlining FBoxingConv
285
SymbolLoader
.LookupAggMember(NameManager.GetPredefinedName(PredefinedName.PN_CTOR), agg, symbmask_t.MASK_ALL);
349
return
SymbolLoader
.HasBaseConversion(arg, typeBnd);
Microsoft\CSharp\RuntimeBinder\Semantics\Types\ArrayType.cs (1)
66
public override AggregateType GetAts() =>
SymbolLoader
.GetPredefindType(PredefinedType.PT_ARRAY);
Microsoft\CSharp\RuntimeBinder\SymbolTable.cs (19)
104
type =
SymbolLoader
.GetPredefindType(PredefinedType.PT_ARRAY);
1486
CType cvType =
SymbolLoader
.GetPredefindType(PredefinedType.PT_DATETIME);
1496
CType cvType =
SymbolLoader
.GetPredefindType(PredefinedType.PT_DECIMAL);
1505
CType cvType =
SymbolLoader
.GetPredefindType(PredefinedType.PT_OBJECT);
1517
cvType =
SymbolLoader
.GetPredefindType(PredefinedType.PT_BYTE);
1522
cvType =
SymbolLoader
.GetPredefindType(PredefinedType.PT_SHORT);
1527
cvType =
SymbolLoader
.GetPredefindType(PredefinedType.PT_INT);
1532
cvType =
SymbolLoader
.GetPredefindType(PredefinedType.PT_LONG);
1537
cvType =
SymbolLoader
.GetPredefindType(PredefinedType.PT_FLOAT);
1542
cvType =
SymbolLoader
.GetPredefindType(PredefinedType.PT_DOUBLE);
1547
cvType =
SymbolLoader
.GetPredefindType(PredefinedType.PT_CHAR);
1552
cvType =
SymbolLoader
.GetPredefindType(PredefinedType.PT_BOOL);
1557
cvType =
SymbolLoader
.GetPredefindType(PredefinedType.PT_SBYTE);
1562
cvType =
SymbolLoader
.GetPredefindType(PredefinedType.PT_USHORT);
1567
cvType =
SymbolLoader
.GetPredefindType(PredefinedType.PT_UINT);
1572
cvType =
SymbolLoader
.GetPredefindType(PredefinedType.PT_ULONG);
1577
cvType =
SymbolLoader
.GetPredefindType(PredefinedType.PT_STRING);
1714
MethodSymbol meth =
SymbolLoader
.LookupAggMember(
1729
SymbolLoader
.LookupAggMember(GetName(szName), agg, mask) != null;