5 writes to InitExpression
Microsoft.Build.Tasks.Core (2)
CodeTaskFactory.cs (1)
361
field.
InitExpression
= new CodePrimitiveExpression(defaultValue);
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (1)
623
InitExpression
= defaultValue == null ? null : new CodePrimitiveExpression(defaultValue)
System.Runtime.Serialization.Schema (3)
System\Runtime\Serialization\Schema\CodeExporter.cs (3)
1094
enumMember.
InitExpression
= new CodeSnippetExpression(XmlConvert.ToString((ulong)longValue));
1096
enumMember.
InitExpression
= new CodePrimitiveExpression(longValue);
1309
typeNameField.
InitExpression
= new CodeObjectCreateExpression(ImportGlobals.TypeOfXmlQualifiedName, new CodePrimitiveExpression(typeName.Name), new CodePrimitiveExpression(typeName.Namespace));
10 references to InitExpression
System.CodeDom (10)
Microsoft\CSharp\CSharpCodeGenerator.cs (4)
1258
if (e.
InitExpression
!= null)
1261
GenerateExpression(e.
InitExpression
);
1276
if (e.
InitExpression
!= null)
1279
GenerateExpression(e.
InitExpression
);
Microsoft\VisualBasic\VBCodeGenerator.cs (4)
1517
if (e.
InitExpression
!= null)
1520
GenerateExpression(e.
InitExpression
);
1541
if (e.
InitExpression
!= null)
1544
GenerateExpression(e.
InitExpression
);
System\CodeDom\Compiler\CodeValidator.cs (2)
244
if (e.
InitExpression
!= null)
246
ValidateExpression(e.
InitExpression
);