5 writes to InitExpression
Microsoft.Build.Tasks.Core (2)
CodeTaskFactory.cs (1)
361field.InitExpression = new CodePrimitiveExpression(defaultValue);
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (1)
623InitExpression = defaultValue == null ? null : new CodePrimitiveExpression(defaultValue)
System.Runtime.Serialization.Schema (3)
System\Runtime\Serialization\Schema\CodeExporter.cs (3)
1094enumMember.InitExpression = new CodeSnippetExpression(XmlConvert.ToString((ulong)longValue)); 1096enumMember.InitExpression = new CodePrimitiveExpression(longValue); 1309typeNameField.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)
1258if (e.InitExpression != null) 1261GenerateExpression(e.InitExpression); 1276if (e.InitExpression != null) 1279GenerateExpression(e.InitExpression);
Microsoft\VisualBasic\VBCodeGenerator.cs (4)
1517if (e.InitExpression != null) 1520GenerateExpression(e.InitExpression); 1541if (e.InitExpression != null) 1544GenerateExpression(e.InitExpression);
System\CodeDom\Compiler\CodeValidator.cs (2)
244if (e.InitExpression != null) 246ValidateExpression(e.InitExpression);