21 instantiations of CodeObjectCreateExpression
Microsoft.Build.Tasks.Core (1)
system.design\stronglytypedresourcebuilder.cs (1)
463var newResMgr = new CodeObjectCreateExpression(ResMgrCodeTypeReference, new CodePrimitiveExpression(resMgrCtorParam), getAssembly);
PresentationBuildTasks (6)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (6)
985new CodeObjectCreateExpression(KnownTypes.Types[(int)KnownElements.EventSetter], 1871CodeObjectCreateExpression coce = new CodeObjectCreateExpression(desc.MemberInfo.DeclaringType.FullName); 1946CodeObjectCreateExpression coce = new CodeObjectCreateExpression(eventHandlerType, delParams); 2690CodeObjectCreateExpression coceResourceLocator = new CodeObjectCreateExpression(typeof(System.Uri), uriParams); 3162coce = new CodeObjectCreateExpression(appClassName, ctorParams); 3326CodeObjectCreateExpression coceApplicationSplashScreen = new CodeObjectCreateExpression(SPLASHCLASSNAME, new CodePrimitiveExpression(GetSplashResourceId()));
System.Runtime.Serialization.Schema (2)
System\Runtime\Serialization\Schema\CodeExporter.cs (2)
1309typeNameField.InitExpression = new CodeObjectCreateExpression(ImportGlobals.TypeOfXmlQualifiedName, new CodePrimitiveExpression(typeName.Name), new CodePrimitiveExpression(typeName.Namespace)); 1966ifStatement.TrueStatements.Add(new CodeDelegateInvokeExpression(propertyChanged, ThisReference, new CodeObjectCreateExpression(typeof(PropertyChangedEventArgs), propertyName)));
System.Windows.Forms.Design (5)
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (1)
2002expression = new CodeObjectCreateExpression(typeRef, arguments);
System\ComponentModel\Design\Serialization\ComponentCodeDomSerializer.cs (1)
272assignRhs = new CodeObjectCreateExpression(typeName, SerializeToExpression(manager, container)!);
System\ComponentModel\Design\Serialization\ContainerCodeDomSerializer.cs (1)
69CodeObjectCreateExpression objCreate = new(typeof(Container));
System\ComponentModel\Design\Serialization\ResourceCodeDomSerializer.cs (1)
298CodeExpression initExpression = new CodeObjectCreateExpression(typeof(ComponentResourceManager), parameters);
System\Resources\Tools\StronglyTypedResourceBuilder.cs (1)
610CodeObjectCreateExpression newResourceManager = new(
System.Windows.Forms.Design.Tests (7)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationServiceTests.cs (7)
146new CodeAssignStatement(new CodeVariableReferenceExpression("name1"), new CodeObjectCreateExpression(typeof(DataClass))), 160new CodeAssignStatement(new CodeVariableReferenceExpression("name2"), new CodeObjectCreateExpression(typeof(DataClass))), 248new CodeAssignStatement(new CodeVariableReferenceExpression("name"), new CodeObjectCreateExpression(typeof(DataClass))), 350new CodeAssignStatement(new CodeVariableReferenceExpression("name"), new CodeObjectCreateExpression(typeof(DataClass))), 395new CodeAssignStatement(new CodeVariableReferenceExpression("name"), new CodeObjectCreateExpression(typeof(DataClass))), 536new CodeAssignStatement(new CodeVariableReferenceExpression("name"), new CodeObjectCreateExpression(typeof(DataClass))), 585new CodeAssignStatement(new CodeVariableReferenceExpression("name"), new CodeObjectCreateExpression(typeof(DataClass))),
22 references to CodeObjectCreateExpression
Microsoft.Build.Tasks.Core (1)
system.design\stronglytypedresourcebuilder.cs (1)
463var newResMgr = new CodeObjectCreateExpression(ResMgrCodeTypeReference, new CodePrimitiveExpression(resMgrCtorParam), getAssembly);
PresentationBuildTasks (5)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (5)
1871CodeObjectCreateExpression coce = new CodeObjectCreateExpression(desc.MemberInfo.DeclaringType.FullName); 1946CodeObjectCreateExpression coce = new CodeObjectCreateExpression(eventHandlerType, delParams); 2690CodeObjectCreateExpression coceResourceLocator = new CodeObjectCreateExpression(typeof(System.Uri), uriParams); 3158CodeObjectCreateExpression coce; 3326CodeObjectCreateExpression coceApplicationSplashScreen = new CodeObjectCreateExpression(SPLASHCLASSNAME, new CodePrimitiveExpression(GetSplashResourceId()));
System (1)
src\libraries\shims\System\ref\System.cs (1)
78[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.CodeDom.CodeObjectCreateExpression))]
System.CodeDom (10)
Microsoft\CSharp\CSharpCodeGenerator.cs (3)
668private void GenerateObjectCreateExpression(CodeObjectCreateExpression e) 1194else if (e is CodeObjectCreateExpression) 1196GenerateObjectCreateExpression((CodeObjectCreateExpression)e);
Microsoft\VisualBasic\VBCodeGenerator.cs (1)
1167protected override void GenerateObjectCreateExpression(CodeObjectCreateExpression e)
System\CodeDom\Compiler\CodeGenerator.cs (3)
571else if (e is CodeObjectCreateExpression) 573GenerateObjectCreateExpression((CodeObjectCreateExpression)e); 1384protected abstract void GenerateObjectCreateExpression(CodeObjectCreateExpression e);
System\CodeDom\Compiler\CodeValidator.cs (3)
735else if (e is CodeObjectCreateExpression) 737ValidateObjectCreateExpression((CodeObjectCreateExpression)e); 896private void ValidateObjectCreateExpression(CodeObjectCreateExpression e)
System.Windows.Forms.Design (4)
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (2)
702else if (result is CodeObjectCreateExpression objectCreateEx) 1188if (statement.Listener is CodeObjectCreateExpression objCreate)
System\ComponentModel\Design\Serialization\ContainerCodeDomSerializer.cs (1)
69CodeObjectCreateExpression objCreate = new(typeof(Container));
System\Resources\Tools\StronglyTypedResourceBuilder.cs (1)
610CodeObjectCreateExpression newResourceManager = new(
System.Windows.Forms.Design.Tests (1)
CodeDomHelpers.cs (1)
63case CodeObjectCreateExpression coce: