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