20 references to Typeof
Microsoft.CodeAnalysis.CSharp (20)
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (12)
340
var boundType = _bound.
Typeof
(arrayType.ElementType, _bound.WellKnownType(WellKnownType.System_Type));
375
return _bound.StaticCall(WellKnownMember.System_Linq_Expressions_Expression__TypeAs, Visit(node.Operand), _bound.
Typeof
(node.Type, _bound.WellKnownType(WellKnownType.System_Type)));
714
e1, _bound.
Typeof
(resultType, _bound.WellKnownType(WellKnownType.System_Type)),
754
expr, _bound.
Typeof
(type, _bound.WellKnownType(WellKnownType.System_Type)));
767
unquoted = _bound.Call(_bound.MethodInfo(method, createDelegate.ContainingType), createDelegate, _bound.
Typeof
(delegateType, createDelegate.Parameters[0].Type), receiver);
774
_bound.
Typeof
(delegateType, createDelegate.Parameters[0].Type),
824
return _bound.StaticCall(WellKnownMember.System_Linq_Expressions_Expression__TypeIs, Visit(operand), _bound.
Typeof
(node.TargetType.Type, _bound.WellKnownType(WellKnownType.System_Type)));
847
_bound.
Typeof
(_typeMap.SubstituteType(p.Type).Type, _bound.WellKnownType(WellKnownType.System_Type)), _bound.Literal(p.Name));
870
return VisitObjectCreationContinued(_bound.StaticCall(WellKnownMember.System_Linq_Expressions_Expression__New_Type, _bound.
Typeof
(node.Type, _bound.WellKnownType(WellKnownType.System_Type))), node.InitializerExpressionOpt);
895
var parameter = _bound.StaticCall(WellKnownMember.System_Linq_Expressions_Expression__Parameter, _bound.
Typeof
(fromType, _bound.WellKnownType(WellKnownType.System_Type)), _bound.Literal(parameterName));
1059
return _bound.StaticCall(WellKnownMember.System_Linq_Expressions_Expression__New_Type, _bound.
Typeof
(node.Type, _bound.WellKnownType(WellKnownType.System_Type)));
1207
_bound.
Typeof
(node.Type, _bound.WellKnownType(WellKnownType.System_Type)));
Lowering\LocalRewriter\LocalRewriter_Event.cs (1)
310
BoundExpression eventInfo = _factory.New(ctor, _factory.
Typeof
(node.Event.ContainingType, ctor.Parameters[0].Type), _factory.Literal(node.Event.MetadataName));
Lowering\LocalRewriter\LoweredDynamicOperationFactory.cs (3)
105
_factory.
Typeof
(resultType, _factory.WellKnownType(WellKnownType.System_Type)),
227
loweredReceiver = _factory.
Typeof
(((BoundTypeExpression)loweredReceiver).Type, _factory.WellKnownType(WellKnownType.System_Type));
341
var loweredReceiver = _factory.
Typeof
(type, _factory.WellKnownType(WellKnownType.System_Type));
Lowering\SyntheticBoundNodeFactory.cs (3)
1245
return
Typeof
(WellKnownType(type), systemType);
1276
return
Typeof
(type.Type, systemType);
1287
return
Typeof
(this.CompilationState.DynamicOperationContextType, WellKnownType(CodeAnalysis.WellKnownType.System_Type));
Symbols\Synthesized\Records\SynthesizedRecordEqualityContractProperty.cs (1)
179
F.CloseMethod(F.Block(F.Return(F.
Typeof
(ContainingType, ReturnType))));