20 references to Typeof
Microsoft.CodeAnalysis.CSharp (20)
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (12)
342
var boundType = _bound.
Typeof
(arrayType.ElementType);
377
return ExprFactory("TypeAs", Visit(node.Operand), _bound.
Typeof
(node.Type));
641
var e2 = ExprFactory(node.Checked && SyntaxFacts.IsCheckedOperator(method.Name) ? "ConvertChecked" : "Convert", e1, _bound.
Typeof
(resultType), _bound.MethodInfo(method));
677
return ExprFactory(isChecked ? "ConvertChecked" : "Convert", expr, _bound.
Typeof
(type));
690
unquoted = _bound.Call(_bound.MethodInfo(method), createDelegate, _bound.
Typeof
(delegateType), receiver);
697
unquoted = _bound.StaticCall(_bound.SpecialType(SpecialType.System_Delegate), "CreateDelegate", _bound.
Typeof
(delegateType), receiver, _bound.MethodInfo(method));
745
return ExprFactory("TypeIs", Visit(operand), _bound.
Typeof
(node.TargetType.Type));
768
_bound.
Typeof
(_typeMap.SubstituteType(p.Type).Type), _bound.Literal(p.Name));
791
return VisitObjectCreationContinued(ExprFactory("New", _bound.
Typeof
(node.Type)), node.InitializerExpressionOpt);
816
var parameter = ExprFactory("Parameter", _bound.
Typeof
(fromType), _bound.Literal(parameterName));
969
return ExprFactory("New", _bound.
Typeof
(node.Type));
1103
_bound.
Typeof
(node.Type));
Lowering\LocalRewriter\LocalRewriter_Event.cs (1)
300
BoundExpression eventInfo = _factory.New(ctor, _factory.
Typeof
(node.Event.ContainingType), _factory.Literal(node.Event.MetadataName));
Lowering\LocalRewriter\LoweredDynamicOperationFactory.cs (3)
105
_factory.
Typeof
(resultType),
227
loweredReceiver = _factory.
Typeof
(((BoundTypeExpression)loweredReceiver).Type);
341
var loweredReceiver = _factory.
Typeof
(type);
Lowering\SyntheticBoundNodeFactory.cs (3)
1182
return
Typeof
(WellKnownType(type));
1197
return
Typeof
(type.Type);
1208
return
Typeof
(this.CompilationState.DynamicOperationContextType);
Symbols\Synthesized\Records\SynthesizedRecordEqualityContractProperty.cs (1)
173
F.CloseMethod(F.Block(F.Return(F.
Typeof
(ContainingType))));