7 writes to InitExpression
Microsoft.Build.Tasks.Core (1)
XamlTaskFactory\TaskGenerator.cs (1)
859createArray.InitExpression = initializeArray;
System.CodeDom (3)
System\CodeDom\CodeVariableDeclarationStatement.cs (3)
35InitExpression = initExpression; 42InitExpression = initExpression; 49InitExpression = initExpression;
System.Runtime.Serialization.Schema (2)
System\Runtime\Serialization\Schema\CodeExporter.cs (2)
1876getEnumerator.InitExpression = new CodeMethodInvokeExpression( 1884getCurrent.InitExpression = new CodePropertyReferenceExpression(
System.Windows.Forms.Design (1)
System\ComponentModel\Design\Serialization\CodeDomSerializer.cs (1)
184InitExpression = expression
14 references to InitExpression
System.CodeDom (8)
Microsoft\CSharp\CSharpCodeGenerator.cs (2)
1080if (e.InitExpression != null) 1083GenerateExpression(e.InitExpression);
Microsoft\VisualBasic\VBCodeGenerator.cs (4)
1396if (typeRef.ArrayRank == 1 && e.InitExpression != null) 1398CodeArrayCreateExpression eAsArrayCreate = e.InitExpression as CodeArrayCreateExpression; 1430if (doInit && e.InitExpression != null) 1433GenerateExpression(e.InitExpression);
System\CodeDom\Compiler\CodeValidator.cs (2)
571if (e.InitExpression != null) 573ValidateExpression(e.InitExpression);
System.Windows.Forms.Design (4)
System\ComponentModel\Design\Serialization\CodeDomSerializer.cs (2)
118else if (statement is CodeVariableDeclarationStatement { InitExpression: not null } varDecl) 120instance = DeserializeExpression(manager, varDecl.Name, varDecl.InitExpression);
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (2)
472if (statement.InitExpression is not null) 474DeserializeExpression(manager, statement.Name, statement.InitExpression);
System.Windows.Forms.Design.Tests (2)
CodeDomHelpers.cs (2)
53if (v.InitExpression is null) 58return $"new CodeVariableDeclarationStatement({GetType(v.Type)}, {GetString(v.Name)}, {GetConstructionString(v.InitExpression)});";