25 types derived from CodeExpression
dotnet-svcutil-lib (25)
FrameworkFork\Microsoft.CodeDom\System\CodeArgumentReferenceExpression.cs (1)
21
public class CodeArgumentReferenceExpression :
CodeExpression
FrameworkFork\Microsoft.CodeDom\System\CodeArrayCreateExpression.cs (1)
22
public class CodeArrayCreateExpression :
CodeExpression
FrameworkFork\Microsoft.CodeDom\System\CodeArrayIndexerExpression.cs (1)
23
public class CodeArrayIndexerExpression :
CodeExpression
FrameworkFork\Microsoft.CodeDom\System\CodeBaseReferenceExpression.cs (1)
24
public class CodeBaseReferenceExpression :
CodeExpression
FrameworkFork\Microsoft.CodeDom\System\CodeBinaryOperatorExpression.cs (1)
23
public class CodeBinaryOperatorExpression :
CodeExpression
FrameworkFork\Microsoft.CodeDom\System\CodeCastExpression.cs (1)
24
public class CodeCastExpression :
CodeExpression
FrameworkFork\Microsoft.CodeDom\System\CodeDefaultValueExpression.cs (1)
18
public class CodeDefaultValueExpression :
CodeExpression
FrameworkFork\Microsoft.CodeDom\System\CodeDelegateCreateExpression.cs (1)
23
public class CodeDelegateCreateExpression :
CodeExpression
FrameworkFork\Microsoft.CodeDom\System\CodeDelegateInvokeExpression.cs (1)
24
public class CodeDelegateInvokeExpression :
CodeExpression
FrameworkFork\Microsoft.CodeDom\System\CodeDirectionExpression.cs (1)
21
public class CodeDirectionExpression :
CodeExpression
FrameworkFork\Microsoft.CodeDom\System\CodeEventReferenceExpression.cs (1)
21
public class CodeEventReferenceExpression :
CodeExpression
FrameworkFork\Microsoft.CodeDom\System\CodeFieldReferenceExpression.cs (1)
23
public class CodeFieldReferenceExpression :
CodeExpression
FrameworkFork\Microsoft.CodeDom\System\CodeIndexerExpression.cs (1)
23
public class CodeIndexerExpression :
CodeExpression
FrameworkFork\Microsoft.CodeDom\System\CodeMethodInvokeExpression.cs (1)
24
public class CodeMethodInvokeExpression :
CodeExpression
FrameworkFork\Microsoft.CodeDom\System\codemethodreferenceexpression.cs (1)
24
public class CodeMethodReferenceExpression :
CodeExpression
FrameworkFork\Microsoft.CodeDom\System\CodeObjectCreateExpression.cs (1)
23
public class CodeObjectCreateExpression :
CodeExpression
FrameworkFork\Microsoft.CodeDom\System\CodeParameterDeclarationExpression.cs (1)
23
public class CodeParameterDeclarationExpression :
CodeExpression
FrameworkFork\Microsoft.CodeDom\System\CodePrimitiveExpression.cs (1)
23
public class CodePrimitiveExpression :
CodeExpression
FrameworkFork\Microsoft.CodeDom\System\CodePropertyReferenceExpression.cs (1)
23
public class CodePropertyReferenceExpression :
CodeExpression
FrameworkFork\Microsoft.CodeDom\System\CodePropertySetValueReferenceExpression.cs (1)
23
public class CodePropertySetValueReferenceExpression :
CodeExpression
FrameworkFork\Microsoft.CodeDom\System\CodeSnippetExpression.cs (1)
23
public class CodeSnippetExpression :
CodeExpression
FrameworkFork\Microsoft.CodeDom\System\CodeThisReferenceExpression.cs (1)
23
public class CodeThisReferenceExpression :
CodeExpression
FrameworkFork\Microsoft.CodeDom\System\CodeTypeOfExpression.cs (1)
23
public class CodeTypeOfExpression :
CodeExpression
FrameworkFork\Microsoft.CodeDom\System\CodeTypeReferenceExpression.cs (1)
23
public class CodeTypeReferenceExpression :
CodeExpression
FrameworkFork\Microsoft.CodeDom\System\CodeVariableReferenceExpression.cs (1)
23
public class CodeVariableReferenceExpression :
CodeExpression
168 references to CodeExpression
dotnet-svcutil-lib (168)
CodeDomFixup\ArrayOfXElementTypeHelper.cs (1)
199
new
CodeExpression
[] { }));
CodeDomFixup\CodeDomVisitors\CodeDomVisitor.cs (4)
223
protected override void Visit(
CodeExpression
expr)
548
else if (obj is
CodeExpression
)
549
Visit((
CodeExpression
)obj);
587
protected virtual void Visit(
CodeExpression
expr)
CodeDomFixup\MethodCreationHelper.cs (3)
1350
private static
CodeExpression
CreateTimeSpanExpression(TimeSpan value)
2137
CodeExpression
createIdentityExpression = null;
2144
CodeExpression
createEndpointAddressExpression = null;
FrameworkFork\Microsoft.CodeDom\Compiler\CodeDOMProvider.cs (1)
225
public virtual void GenerateCodeFromExpression(
CodeExpression
expression, TextWriter writer, CodeGeneratorOptions options)
FrameworkFork\Microsoft.CodeDom\Compiler\CodeGenerator.cs (3)
476
void ICodeGenerator.GenerateCodeFromExpression(
CodeExpression
e, TextWriter w, CodeGeneratorOptions o)
714
protected void GenerateExpression(
CodeExpression
e)
1460
((ICodeGenerator)this).GenerateCodeFromExpression((
CodeExpression
)en.Current, _output.InnerWriter, _options);
FrameworkFork\Microsoft.CodeDom\Compiler\CodeValidator.cs (6)
32
else if (e is
CodeExpression
)
34
ValidateExpression((
CodeExpression
)e);
657
ValidateExpression((
CodeExpression
)en.Current);
723
private void ValidateExpression(
CodeExpression
e)
905
foreach (
CodeExpression
exp in e.Indices)
914
foreach (
CodeExpression
exp in e.Indices)
FrameworkFork\Microsoft.CodeDom\Compiler\ICodeGenerator.cs (1)
62
void GenerateCodeFromExpression(
CodeExpression
e, TextWriter w, CodeGeneratorOptions o);
FrameworkFork\Microsoft.CodeDom\Microsoft\CSharpCodeProvider.cs (5)
1007
foreach (
CodeExpression
exp in e.Indices)
1027
foreach (
CodeExpression
exp in e.Indices)
1859
private void GenerateExpression(
CodeExpression
e)
3031
((ICodeGenerator)this).GenerateCodeFromExpression((
CodeExpression
)en.Current, _output.InnerWriter, _options);
4315
void ICodeGenerator.GenerateCodeFromExpression(
CodeExpression
e, TextWriter w, CodeGeneratorOptions o)
FrameworkFork\Microsoft.CodeDom\System\CodeArrayCreateExpression.cs (8)
26
private
CodeExpression
_sizeExpression;
44
public CodeArrayCreateExpression(CodeTypeReference createType, params
CodeExpression
[] initializers)
53
public CodeArrayCreateExpression(string createType, params
CodeExpression
[] initializers)
62
public CodeArrayCreateExpression(Type createType, params
CodeExpression
[] initializers)
104
public CodeArrayCreateExpression(CodeTypeReference createType,
CodeExpression
size)
113
public CodeArrayCreateExpression(string createType,
CodeExpression
size)
122
public CodeArrayCreateExpression(Type createType,
CodeExpression
size)
185
public
CodeExpression
SizeExpression
FrameworkFork\Microsoft.CodeDom\System\CodeArrayIndexerExpression.cs (4)
25
private
CodeExpression
_targetObject;
38
public CodeArrayIndexerExpression(
CodeExpression
targetObject, params
CodeExpression
[] indices)
48
public
CodeExpression
TargetObject
FrameworkFork\Microsoft.CodeDom\System\CodeAssignStatement.cs (6)
25
private
CodeExpression
_left;
26
private
CodeExpression
_right;
43
public CodeAssignStatement(
CodeExpression
left,
CodeExpression
right)
55
public
CodeExpression
Left
73
public
CodeExpression
Right
FrameworkFork\Microsoft.CodeDom\System\CodeAttachEventStatement.cs (5)
26
private
CodeExpression
_listener;
42
public CodeAttachEventStatement(CodeEventReferenceExpression eventRef,
CodeExpression
listener)
51
public CodeAttachEventStatement(
CodeExpression
targetObject, string eventName,
CodeExpression
listener)
83
public
CodeExpression
Listener
FrameworkFork\Microsoft.CodeDom\System\CodeAttributeArgument.cs (4)
26
private
CodeExpression
_value;
42
public CodeAttributeArgument(
CodeExpression
value)
53
public CodeAttributeArgument(string name,
CodeExpression
value)
81
public
CodeExpression
Value
FrameworkFork\Microsoft.CodeDom\System\CodeBinaryOperatorExpression.cs (6)
26
private
CodeExpression
_left;
27
private
CodeExpression
_right;
45
public CodeBinaryOperatorExpression(
CodeExpression
left, CodeBinaryOperatorType op,
CodeExpression
right)
58
public
CodeExpression
Right
76
public
CodeExpression
Left
FrameworkFork\Microsoft.CodeDom\System\CodeCastExpression.cs (5)
27
private
CodeExpression
_expression;
44
public CodeCastExpression(CodeTypeReference targetType,
CodeExpression
expression)
53
public CodeCastExpression(string targetType,
CodeExpression
expression)
62
public CodeCastExpression(Type targetType,
CodeExpression
expression)
94
public
CodeExpression
Expression
FrameworkFork\Microsoft.CodeDom\System\CodeConditionStatement.cs (4)
25
private
CodeExpression
_condition;
43
public CodeConditionStatement(
CodeExpression
condition, params CodeStatement[] trueStatements)
55
public CodeConditionStatement(
CodeExpression
condition, CodeStatement[] trueStatements, CodeStatement[] falseStatements)
68
public
CodeExpression
Condition
FrameworkFork\Microsoft.CodeDom\System\CodeDelegateCreateExpression.cs (3)
26
private
CodeExpression
_targetObject;
43
public CodeDelegateCreateExpression(CodeTypeReference delegateType,
CodeExpression
targetObject, string methodName)
76
public
CodeExpression
TargetObject
FrameworkFork\Microsoft.CodeDom\System\CodeDelegateInvokeExpression.cs (5)
26
private
CodeExpression
_targetObject;
43
public CodeDelegateInvokeExpression(
CodeExpression
targetObject)
54
public CodeDelegateInvokeExpression(
CodeExpression
targetObject, params
CodeExpression
[] parameters)
66
public
CodeExpression
TargetObject
FrameworkFork\Microsoft.CodeDom\System\CodeDirectionExpression.cs (3)
23
private
CodeExpression
_expression;
37
public CodeDirectionExpression(FieldDirection direction,
CodeExpression
expression)
46
public
CodeExpression
Expression
FrameworkFork\Microsoft.CodeDom\System\CodeEventReferenceExpression.cs (3)
23
private
CodeExpression
_targetObject;
36
public CodeEventReferenceExpression(
CodeExpression
targetObject, string eventName)
45
public
CodeExpression
TargetObject
FrameworkFork\Microsoft.CodeDom\System\CodeExpressionCollection.cs (18)
14
/// A collection that stores <see cref='Microsoft.CodeDom.
CodeExpression
'/> objects.
45
/// Initializes a new instance of <see cref='Microsoft.CodeDom.CodeExpressionCollection'/> containing any array of <see cref='Microsoft.CodeDom.
CodeExpression
'/> objects.
48
public CodeExpressionCollection(
CodeExpression
[] value)
54
/// <para>Represents the entry at the specified index of the <see cref='Microsoft.CodeDom.
CodeExpression
'/>.</para>
56
public
CodeExpression
this[int index]
60
return ((
CodeExpression
)(List[index]));
69
/// <para>Adds a <see cref='Microsoft.CodeDom.
CodeExpression
'/> with the specified value to the
72
public int Add(
CodeExpression
value)
80
public void AddRange(
CodeExpression
[] value)
112
/// <see cref='Microsoft.CodeDom.CodeExpressionCollection'/> contains the specified <see cref='Microsoft.CodeDom.
CodeExpression
'/>.</para>
114
public bool Contains(
CodeExpression
value)
123
public void CopyTo(
CodeExpression
[] array, int index)
129
/// <para>Returns the index of a <see cref='Microsoft.CodeDom.
CodeExpression
'/> in
132
public int IndexOf(
CodeExpression
value)
138
/// <para>Inserts a <see cref='Microsoft.CodeDom.
CodeExpression
'/> into the <see cref='Microsoft.CodeDom.CodeExpressionCollection'/> at the specified index.</para>
140
public void Insert(int index,
CodeExpression
value)
146
/// <para> Removes a specific <see cref='Microsoft.CodeDom.
CodeExpression
'/> from the
149
public void Remove(
CodeExpression
value)
FrameworkFork\Microsoft.CodeDom\System\CodeExpressionStatement.cs (3)
26
private
CodeExpression
_expression;
38
public CodeExpressionStatement(
CodeExpression
expression)
46
public
CodeExpression
Expression
FrameworkFork\Microsoft.CodeDom\System\CodeFieldReferenceExpression.cs (3)
25
private
CodeExpression
_targetObject;
42
public CodeFieldReferenceExpression(
CodeExpression
targetObject, string fieldName)
54
public
CodeExpression
TargetObject
FrameworkFork\Microsoft.CodeDom\System\CodeIndexerExpression.cs (4)
25
private
CodeExpression
_targetObject;
43
public CodeIndexerExpression(
CodeExpression
targetObject, params
CodeExpression
[] indices)
56
public
CodeExpression
TargetObject
FrameworkFork\Microsoft.CodeDom\System\CodeIterationStatement.cs (3)
26
private
CodeExpression
_testExpression;
44
public CodeIterationStatement(CodeStatement initStatement,
CodeExpression
testExpression, CodeStatement incrementStatement, params CodeStatement[] statements)
76
public
CodeExpression
TestExpression
FrameworkFork\Microsoft.CodeDom\System\CodeMemberField.cs (2)
26
private
CodeExpression
_initExpression;
93
public
CodeExpression
InitExpression
FrameworkFork\Microsoft.CodeDom\System\CodeMethodInvokeExpression.cs (3)
44
public CodeMethodInvokeExpression(CodeMethodReferenceExpression method, params
CodeExpression
[] parameters)
53
public CodeMethodInvokeExpression(
CodeExpression
targetObject, string methodName, params
CodeExpression
[] parameters)
FrameworkFork\Microsoft.CodeDom\System\codemethodreferenceexpression.cs (4)
26
private
CodeExpression
_targetObject;
46
public CodeMethodReferenceExpression(
CodeExpression
targetObject, string methodName)
52
public CodeMethodReferenceExpression(
CodeExpression
targetObject, string methodName, params CodeTypeReference[] typeParameters)
67
public
CodeExpression
TargetObject
FrameworkFork\Microsoft.CodeDom\System\CodeMethodReturnStatement.cs (3)
25
private
CodeExpression
_expression;
41
public CodeMethodReturnStatement(
CodeExpression
expression)
51
public
CodeExpression
Expression
FrameworkFork\Microsoft.CodeDom\System\CodeObjectCreateExpression.cs (3)
43
public CodeObjectCreateExpression(CodeTypeReference createType, params
CodeExpression
[] parameters)
52
public CodeObjectCreateExpression(string createType, params
CodeExpression
[] parameters)
61
public CodeObjectCreateExpression(Type createType, params
CodeExpression
[] parameters)
FrameworkFork\Microsoft.CodeDom\System\CodePropertyReferenceExpression.cs (3)
25
private
CodeExpression
_targetObject;
44
public CodePropertyReferenceExpression(
CodeExpression
targetObject, string propertyName)
55
public
CodeExpression
TargetObject
FrameworkFork\Microsoft.CodeDom\System\CodeRemoveEventStatement.cs (5)
26
private
CodeExpression
_listener;
42
public CodeRemoveEventStatement(CodeEventReferenceExpression eventRef,
CodeExpression
listener)
51
public CodeRemoveEventStatement(
CodeExpression
targetObject, string eventName,
CodeExpression
listener)
81
public
CodeExpression
Listener
FrameworkFork\Microsoft.CodeDom\System\CodeStatementCollection.cs (1)
80
public int Add(
CodeExpression
value)
FrameworkFork\Microsoft.CodeDom\System\CodeThrowExceptionStatement.cs (3)
26
private
CodeExpression
_toThrow;
42
public CodeThrowExceptionStatement(
CodeExpression
toThrow)
53
public
CodeExpression
ToThrow
FrameworkFork\Microsoft.CodeDom\System\CodeVariableDeclarationStatement.cs (5)
27
private
CodeExpression
_initExpression;
73
public CodeVariableDeclarationStatement(CodeTypeReference type, string name,
CodeExpression
initExpression)
83
public CodeVariableDeclarationStatement(string type, string name,
CodeExpression
initExpression)
93
public CodeVariableDeclarationStatement(Type type, string name,
CodeExpression
initExpression)
105
public
CodeExpression
InitExpression
FrameworkFork\Microsoft.Xml\Xml\Serialization\Advanced\SchemaImporterExtension.cs (1)
46
public virtual
CodeExpression
ImportDefaultValue(string value, string type)
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeExporter.cs (2)
362
CodeExpression
left = new CodeFieldReferenceExpression(new CodeThisReferenceExpression(), field.Name);
363
CodeExpression
right = new CodePropertySetValueReferenceExpression();
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlCodeExporter.cs (11)
211
private CodeAttributeArgument[] GetDefaultValueArguments(PrimitiveMapping mapping, object value, out
CodeExpression
initExpression)
216
CodeExpression
valueExpression = null;
217
CodeExpression
typeofValue = null;
234
CodeExpression
enumRef = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(mapping.TypeDesc.FullName), values[i]);
304
initExpression = new CodeObjectCreateExpression(new CodeTypeReference(typeof(DateTime)), new
CodeExpression
[] { new CodePrimitiveExpression(ticks) });
311
initExpression = new CodeObjectCreateExpression(new CodeTypeReference(typeof(Guid)), new
CodeExpression
[] { valueExpression });
444
CodeExpression
init = extension.ImportDefaultValue((string)defaultValue, mapping.TypeDesc.FullName);
499
CodeExpression
initExpression = null;
509
CodeExpression
[] initializers = new
CodeExpression
[vals.Length];
544
private static void AddInitializationStatement(CodeConstructor ctor, CodeMemberField field,
CodeExpression
init)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeExporter.cs (4)
1755
CodeExpression
left = new CodeFieldReferenceExpression(ThisReference, fieldName);
1756
CodeExpression
right = new CodePropertySetValueReferenceExpression();
1760
"ReferenceEquals", new
CodeExpression
[] { left, right });
1764
left = new CodeMethodInvokeExpression(left, "Equals", new
CodeExpression
[] { right });
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SecurityAttributeGenerationHelper.cs (1)
37
CodeExpression
newValue;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (4)
312
private static CodeMethodReturnStatement GenerateParameters(CodeMemberMethod helperMethod, CodeTypeDeclaration codeTypeDeclaration,
CodeExpression
target, FieldDirection dir)
596
CodeTypeReference propertyType, string propertyName,
CodeExpression
propertyValueExpr)
666
CodeExpression
inValuesRef = new CodeVariableReferenceExpression(inValuesParam.Name);
998
private static
CodeExpression
GetChannelReference()
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (1)
1021
private static
CodeExpression
GetArgValue(object val)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceContractGenerator.cs (1)
179
internal static
CodeExpression
GetEnumReference<EnumType>(EnumType value)