6 references to CodeCastExpression
Microsoft.Build.Tasks.Core (1)
system.design\stronglytypedresourcebuilder.cs (1)
656ret = new CodeMethodReturnStatement(new CodeCastExpression(valueType, new CodeVariableReferenceExpression("obj")));
PresentationBuildTasks (1)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (1)
1184CodeCastExpression cceTarget = new CodeCastExpression(cc.ElementTypeReference, careTarget);
System.Windows.Forms.Design (4)
System\ComponentModel\Design\Serialization\ComponentCodeDomSerializer.cs (2)
511CodeCastExpression castExp = new(type, valueExpression); 530CodeCastExpression castExp = new(type, valueExpression);
System\ComponentModel\Design\Serialization\PrimitiveCodeDomSerializer.cs (1)
29_ => new CodeCastExpression(new CodeTypeReference(value.GetType()), new CodePrimitiveExpression(value)),
System\Resources\Tools\StronglyTypedResourceBuilder.cs (1)
802returnStatement = new(new CodeCastExpression(valueType, new CodeVariableReferenceExpression("obj")));