20 references to CodeSnippetExpression
System.Activities (3)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (3)
1506
CodeVariableDeclarationStatement statement = new CodeVariableDeclarationStatement(returnType, "expression", new
CodeSnippetExpression
(expressionText));
1542
CodeStatement statement = new CodeMethodReturnStatement(new
CodeSnippetExpression
(expressionText));
1589
CodeAssignStatement statement = new CodeAssignStatement(new
CodeSnippetExpression
(expressionText), new CodeArgumentReferenceExpression(paramName));
System.Management (9)
WmiGenerator.cs (9)
357
new
CodeSnippetExpression
(PrivateNamesUsed["AutoCommitProperty"].ToString()),false,
994
cmp.GetStatements.Add (new CodeMethodReturnStatement (new
CodeSnippetExpression
(propValue.ToString())));
1042
new
CodeSnippetExpression
("value")));
1112
new
CodeSnippetExpression
("value")));
1553
new
CodeSnippetExpression
("value"));
1556
ccs.FalseStatements.Add(new CodeAssignStatement(cie,new
CodeSnippetExpression
("value")));
1562
cmp.SetStatements.Add(new CodeAssignStatement(cie,new
CodeSnippetExpression
("value")));
4180
cis.TrueStatements.Add(new CodeConditionStatement(cboe7,new CodeMethodReturnStatement(new
CodeSnippetExpression
(" \"NULL_ENUM_VALUE\" "))));
6117
new
CodeSnippetExpression
("value")));
System.Runtime.Serialization (1)
System\Runtime\Serialization\CodeExporter.cs (1)
1106
enumMember.InitExpression = new
CodeSnippetExpression
(enumDataContract.GetStringFromEnumValue(longValue));
System.Web (5)
Compilation\BaseCodeDomTreeGenerator.cs (1)
787
new
CodeSnippetExpression
(_dummyVariable));
Compilation\BaseTemplateCodeDomTreeGenerator.cs (3)
1302
CodeExpression expr = new
CodeSnippetExpression
(codeBlock.Content.Trim());
1503
new
CodeSnippetExpression
(codeExpression),
1580
new
CodeSnippetExpression
(content));
Compilation\DataBindingExpressionBuilder.cs (1)
142
CodeExpression expr = new
CodeSnippetExpression
(bpe.Expression);
System.Workflow.ComponentModel (1)
AuthoringOM\Design\CustomActivityDesigner.cs (1)
660
attributeList.Add(new AttributeInfo(typeof(DesignerSerializationVisibilityAttribute), new string[] { }, new object[] { new
CodeSnippetExpression
(typeof(DesignerSerializationVisibility).Name + "." + property.DesignerSerializationVisibility.ToString()) }));
XamlBuildTask (1)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (1)
298
codeExp = new
CodeSnippetExpression
(paramInfo.TextValue);