11 references to CodeCastExpression
PresentationBuildTasks (3)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (3)
1009
CodeCastExpression cceTarget = new
CodeCastExpression
(KnownTypes.Types[(int)KnownElements.Style], careTarget);
1063
cceTarget = new
CodeCastExpression
( eventTarget, careTarget);
2930
CodeCastExpression cceCD = new
CodeCastExpression
(typeof(Delegate), cmieCD);
System.Windows.Forms.Design (8)
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (2)
1986
exp = new
CodeCastExpression
(parameters[i].ParameterType, exp);
2043
expression = new
CodeCastExpression
(targetType, expression);
System\ComponentModel\Design\Serialization\CollectionCodeDomSerializer.cs (3)
444
expression = new
CodeCastExpression
(elementType, expression);
536
serializedObject = new
CodeCastExpression
(elementType, serializedObject!);
615
expression = new
CodeCastExpression
(elementType, expression);
System\ComponentModel\Design\Serialization\EnumCodeDomSerializer.cs (1)
82
expression = new
CodeCastExpression
(enumValue.GetType(), expression);
System\ComponentModel\Design\Serialization\ResourceCodeDomSerializer.cs (1)
353
return new
CodeCastExpression
(castTo, methodInvoke);
System\Windows\Forms\Design\TableLayoutControlCollectionCodeDomSerializer.cs (1)
68
serializedObj = new
CodeCastExpression
(typeof(Control), serializedObj);