23 references to CodeObjectCreateExpression
PresentationBuildTasks (3)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (3)
991
new
CodeObjectCreateExpression
(KnownTypes.Types[(int)KnownElements.EventSetter],
1894
CodeObjectCreateExpression coce = new
CodeObjectCreateExpression
(eventHandlerType, delParams);
2603
CodeObjectCreateExpression coceResourceLocator = new
CodeObjectCreateExpression
(typeof(System.Uri), uriParams);
System.Activities (1)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (1)
558
new
CodeObjectCreateExpression
(typeof(InvalidOperationException), new CodePrimitiveExpression(SR.CompiledExpressionsDuplicateName(name))));
System.Data (1)
fx\src\data\System\Data\CodeGen\datacache.cs (1)
1447
private static CodeExpression New(Type type, CodeExpression[] parameters) { return new
CodeObjectCreateExpression
(type, parameters);}
System.Data.Entity.Design (1)
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (1)
583
CodeObjectCreateExpression viewStringConstruct = new
CodeObjectCreateExpression
(typeof(StringBuilder), new CodePrimitiveExpression(capacity));
System.Runtime.Serialization (2)
System\Runtime\Serialization\CodeExporter.cs (2)
1293
typeNameField.InitExpression = new
CodeObjectCreateExpression
(Globals.TypeOfXmlQualifiedName, new CodePrimitiveExpression(typeName.Name), new CodePrimitiveExpression(typeName.Namespace));
1914
ifStatement.TrueStatements.Add(new CodeDelegateInvokeExpression(propertyChanged, ThisReference, new
CodeObjectCreateExpression
(typeof(PropertyChangedEventArgs), propertyName)));
System.ServiceModel (2)
System\ServiceModel\Channels\SecurityAttributeGenerationHelper.cs (1)
39
newValue = new
CodeObjectCreateExpression
(
System\ServiceModel\Description\ClientClassGenerator.cs (1)
811
newEventArgsExpr = new
CodeObjectCreateExpression
(asyncCompletedEventArgsType,
System.Web (9)
Compilation\BaseCodeDomTreeGenerator.cs (1)
722
propertyInitExpression = new
CodeObjectCreateExpression
(obj.ObjectType);
Compilation\BaseTemplateCodeDomTreeGenerator.cs (5)
374
newExpr = new
CodeObjectCreateExpression
(typeof(CompiledBindableTemplateBuilder));
382
newExpr = new
CodeObjectCreateExpression
(typeof(CompiledTemplateBuilder));
563
CodeObjectCreateExpression cocExpr = new
CodeObjectCreateExpression
(typeof(CompiledTemplateBuilder));
708
newExpr = new
CodeObjectCreateExpression
(typeof(LiteralControl));
1002
CodeObjectCreateExpression newTableExpression = new
CodeObjectCreateExpression
(typeof(OrderedDictionary));
Compilation\PageThemeCodeDomTreeGenerator.cs (1)
108
CodeObjectCreateExpression expr = new
CodeObjectCreateExpression
(typeof(HybridDictionary));
Configuration\BrowserCapabilitiesCodeGenerator.cs (2)
918
cas.Right = new
CodeObjectCreateExpression
(typeof(Triplet),
938
cas.Right = new
CodeObjectCreateExpression
(typeof(Triplet),
System.Workflow.Activities (1)
Rules\Parser\Parser.cs (1)
1952
CodeExpression postfixExpr = new
CodeObjectCreateExpression
(type, arguments.ToArray());
System.Workflow.ComponentModel (1)
AuthoringOM\Serializer\SynchronizationHandlesCodeDomSerializer.cs (1)
38
statements.Add(new CodeVariableDeclarationStatement(obj.GetType(), variableName, new
CodeObjectCreateExpression
(obj.GetType())));
System.Xml (1)
System\Xml\Serialization\CodeExporter.cs (1)
361
ifStatement.TrueStatements.Add(new CodeDelegateInvokeExpression(propertyChanged, new CodeThisReferenceExpression(), new
CodeObjectCreateExpression
(typeof(PropertyChangedEventArgs), propertyName)));
XamlBuildTask (1)
Microsoft\Build\Tasks\Xaml\CodeDomExtensionMethods.cs (1)
37
return new
CodeObjectCreateExpression
(type, parameters);