7 instantiations of CodeConstructor
Microsoft.Build.Tasks.Core (2)
system.design\stronglytypedresourcebuilder.cs (1)
345CodeConstructor ctor = new CodeConstructor();
XamlTaskFactory\TaskGenerator.cs (1)
1130var defaultConstructor = new CodeConstructor { Attributes = MemberAttributes.Public };
System.Runtime.Serialization.Schema (2)
System\Runtime\Serialization\Schema\CodeExporter.cs (2)
1802CodeConstructor baseConstructor = new CodeConstructor(); 1823CodeConstructor derivedConstructor = new CodeConstructor();
System.Windows.Forms.Design (3)
System\ComponentModel\Design\Serialization\ComponentTypeCodeDomSerializer.cs (1)
39CodeConstructor ctor = new();
System\ComponentModel\Design\Serialization\TypeCodeDomSerializer.cs (1)
342ctor = new CodeConstructor();
System\Resources\Tools\StronglyTypedResourceBuilder.cs (1)
496CodeConstructor constructor = new();
33 references to CodeConstructor
Microsoft.Build.Tasks.Core (2)
system.design\stronglytypedresourcebuilder.cs (1)
345CodeConstructor ctor = new CodeConstructor();
XamlTaskFactory\TaskGenerator.cs (1)
1130var defaultConstructor = new CodeConstructor { Attributes = MemberAttributes.Public };
System (1)
src\libraries\shims\System\ref\System.cs (1)
48[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.CodeDom.CodeConstructor))]
System.CodeDom (19)
Microsoft\CSharp\CSharpCodeGenerator.cs (7)
1322if (current is CodeMemberMethod && !(current is CodeTypeConstructor) && !(current is CodeConstructor)) 1731if (current is CodeConstructor) 1744CodeConstructor imp = (CodeConstructor)current; 1756private void GenerateConstructor(CodeConstructor e) 1994if (member is CodeConstructor) 1996GenerateConstructor((CodeConstructor)member);
Microsoft\VisualBasic\VBCodeGenerator.cs (2)
1562if (!(current is CodeTypeConstructor) && !(current is CodeConstructor) 1874protected override void GenerateConstructor(CodeConstructor e, CodeTypeDeclaration c)
System\CodeDom\Compiler\CodeGenerator.cs (7)
147if (member is CodeConstructor) 149GenerateConstructor((CodeConstructor)member, declaredType); 443if (current is CodeConstructor) 456CodeConstructor imp = (CodeConstructor)current; 743if (current is CodeMemberMethod && !(current is CodeTypeConstructor) && !(current is CodeConstructor)) 1575protected abstract void GenerateConstructor(CodeConstructor e, CodeTypeDeclaration c);
System\CodeDom\Compiler\CodeValidator.cs (3)
250private void ValidateConstructor(CodeConstructor e) 325else if (e is CodeConstructor) 327ValidateConstructor((CodeConstructor)e);
System.Runtime.Serialization.Schema (4)
System\Runtime\Serialization\Schema\CodeExporter.cs (4)
1798private CodeConstructor ISerializableBaseConstructor 1802CodeConstructor baseConstructor = new CodeConstructor(); 1819private CodeConstructor ISerializableDerivedConstructor 1823CodeConstructor derivedConstructor = new CodeConstructor();
System.Windows.Forms.Design (7)
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.cs (3)
428CodeConstructor => ".ctor", 473string memberName = member is CodeConstructor ? ".ctor" : member.Name; 506if (existingMember is CodeMemberMethod and not CodeConstructor)
System\ComponentModel\Design\Serialization\ComponentTypeCodeDomSerializer.cs (1)
39CodeConstructor ctor = new();
System\ComponentModel\Design\Serialization\TypeCodeDomSerializer.cs (2)
340if (declaration.UserData[s_initMethodKey] is not CodeConstructor ctor) 360if (member is CodeConstructor ctor && ctor.Parameters.Count == 0)
System\Resources\Tools\StronglyTypedResourceBuilder.cs (1)
496CodeConstructor constructor = new();