20 references to Typeof
Microsoft.CodeAnalysis.CSharp (20)
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (12)
347
var boundType = _bound.
Typeof
(arrayType.ElementType, _bound.WellKnownType(WellKnownType.System_Type));
382
return _bound.StaticCall(WellKnownMember.System_Linq_Expressions_Expression__TypeAs, Visit(node.Operand), _bound.
Typeof
(node.Type, _bound.WellKnownType(WellKnownType.System_Type)));
721
e1, _bound.
Typeof
(resultType, _bound.WellKnownType(WellKnownType.System_Type)),
761
expr, _bound.
Typeof
(type, _bound.WellKnownType(WellKnownType.System_Type)));
784
unquoted = _bound.Call(_bound.MethodInfo(method, createDelegate.ContainingType), createDelegate, _bound.
Typeof
(delegateType, createDelegate.Parameters[0].Type), receiver);
791
_bound.
Typeof
(delegateType, createDelegate.Parameters[0].Type),
841
return _bound.StaticCall(WellKnownMember.System_Linq_Expressions_Expression__TypeIs, Visit(operand), _bound.
Typeof
(node.TargetType.Type, _bound.WellKnownType(WellKnownType.System_Type)));
864
_bound.
Typeof
(_typeMap.SubstituteType(p.Type).Type, _bound.WellKnownType(WellKnownType.System_Type)), _bound.Literal(p.Name));
887
return VisitObjectCreationContinued(_bound.StaticCall(WellKnownMember.System_Linq_Expressions_Expression__New_Type, _bound.
Typeof
(node.Type, _bound.WellKnownType(WellKnownType.System_Type))), node.InitializerExpressionOpt);
911
var parameter = _bound.StaticCall(WellKnownMember.System_Linq_Expressions_Expression__Parameter, _bound.
Typeof
(fromType, _bound.WellKnownType(WellKnownType.System_Type)), _bound.Literal(parameterName));
1102
return _bound.StaticCall(WellKnownMember.System_Linq_Expressions_Expression__New_Type, _bound.
Typeof
(node.Type, _bound.WellKnownType(WellKnownType.System_Type)));
1259
_bound.
Typeof
(node.Type, _bound.WellKnownType(WellKnownType.System_Type)));
Lowering\LocalRewriter\LocalRewriter_Event.cs (1)
322
BoundExpression eventInfo = _factory.New(ctor, _factory.
Typeof
(node.Event.ContainingType, ctor.Parameters[0].Type), _factory.Literal(node.Event.MetadataName));
Lowering\LocalRewriter\LoweredDynamicOperationFactory.cs (3)
106
_factory.
Typeof
(resultType, _factory.WellKnownType(WellKnownType.System_Type)),
228
loweredReceiver = _factory.
Typeof
(((BoundTypeExpression)loweredReceiver).Type, _factory.WellKnownType(WellKnownType.System_Type));
342
var loweredReceiver = _factory.
Typeof
(type, _factory.WellKnownType(WellKnownType.System_Type));
Lowering\SyntheticBoundNodeFactory.cs (3)
1278
return
Typeof
(WellKnownType(type), systemType);
1309
return
Typeof
(type.Type, systemType);
1320
return
Typeof
(this.CompilationState.DynamicOperationContextType, WellKnownType(CodeAnalysis.WellKnownType.System_Type));
Symbols\Synthesized\Records\SynthesizedRecordEqualityContractProperty.cs (1)
180
F.CloseMethod(F.Block(F.Return(F.
Typeof
(ContainingType, ReturnType))));