1 write to GetStatements
XamlBuildTask (1)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (1)
931
GetStatements
=
78 references to GetStatements
System (3)
compmod\microsoft\csharp\csharpcodeprovider.cs (1)
1982
GenerateStatements(e.
GetStatements
);
compmod\microsoft\visualbasic\VBCodeProvider.cs (1)
2055
GenerateVBStatements(e.
GetStatements
);
compmod\system\codedom\compiler\CodeValidator.cs (1)
263
ValidateStatements(e.
GetStatements
);
System.Activities (4)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (4)
508
accessorProperty.
GetStatements
.Add(getterStatement);
530
accessorPropertyForReadOnly.
GetStatements
.Add(getterStatement);
560
accessorProperty.
GetStatements
.Add(exception);
574
accessorPropertyForReadOnly.
GetStatements
.Add(exception);
System.Data (8)
fx\src\data\System\Data\CodeGen\datacache.cs (8)
395
countProp.
GetStatements
.Add(Return(Property(Property(This(), "Rows"), "Count")));
405
colProp.
GetStatements
.Add(Return(Field(This(), TableColumnFieldName(column))));
415
thisIndex.
GetStatements
.Add(Return(Cast(stRowConcreateClassName, Indexer(Property(This(), "Rows"), Argument("index")))));
891
rowProp.
GetStatements
.Add(getStmnt);
944
anotherProp.
GetStatements
.Add(Return(Cast(ParentTypedRowName, MethodCall(This(), "GetParentRow", Indexer(Property(Property(This(), "Table"), "ParentRelations"), Str(relation.RelationName))))));
985
rowProp.
GetStatements
.Add(Return(Field(This(), "eventRow")));
993
rowProp.
GetStatements
.Add(Return(Field(This(), "eventAction")));
1366
prop.
GetStatements
.Add(Return(Field(This(), TableFieldName(dataSet.Tables[i]))));
System.Data.Entity.Design (6)
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (3)
375
codeProperty.
GetStatements
.AddRange(additionalGetStatements.ToArray());
386
codeProperty.
GetStatements
.Add(
403
codeProperty.
GetStatements
.Add(
System\Data\EntityModel\Emitters\NavigationPropertyEmitter.cs (2)
259
property.
GetStatements
.AddRange(additionalGetStatements.ToArray());
270
property.
GetStatements
.Add(new CodeMethodReturnStatement(getReturnExpression));
System\Data\EntityModel\Emitters\PropertyEmitter.cs (1)
196
CodeStatementCollection statements = memberProperty.
GetStatements
;
System.Data.Services.Design (6)
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (3)
536
codeProperty.
GetStatements
.AddRange(additionalGetStatements.ToArray());
547
codeProperty.
GetStatements
.Add(
564
codeProperty.
GetStatements
.Add(
System\Data\EntityModel\Emitters\NavigationPropertyEmitter.cs (2)
260
property.
GetStatements
.AddRange(additionalGetStatements.ToArray());
271
property.
GetStatements
.Add(new CodeMethodReturnStatement(getReturnExpression));
System\Data\EntityModel\Emitters\PropertyEmitter.cs (1)
192
CodeStatementCollection statements = memberProperty.
GetStatements
;
System.Management (25)
WmiGenerator.cs (25)
994
cmp.
GetStatements
.Add (new CodeMethodReturnStatement (new CodeSnippetExpression(propValue.ToString())));
998
cmp.
GetStatements
.Add (new CodeMethodReturnStatement (new CodePrimitiveExpression(propValue)));
1039
cmp.
GetStatements
.Add(new CodeMethodReturnStatement(Value));
1079
cmp.
GetStatements
.Add(cis);
1192
cmp.
GetStatements
.Add (new CodeMethodReturnStatement (new CodeCastExpression(cmp.Type,cie)));
1345
cmp2.
GetStatements
.Add (cis);
1409
cmp.
GetStatements
.Add (cis);
1446
GenerateCodeForRefAndDateTimeTypes(cie,prop.IsArray,cmp.
GetStatements
,PublicNamesUsed["PathClass"].ToString(),null,false);
1456
GenerateCodeForRefAndDateTimeTypes(cie,prop.IsArray,cmp.
GetStatements
,"System.TimeSpan",null,false);
1460
GenerateCodeForRefAndDateTimeTypes(cie,prop.IsArray,cmp.
GetStatements
,"System.DateTime",null,false);
1477
cmp.
GetStatements
.Add (new CodeMethodReturnStatement (new CodeCastExpression(cmp.Type,cmie )));
1482
cmp.
GetStatements
.Add (new CodeMethodReturnStatement (new CodeCastExpression(cmp.Type,cie)));
4345
cmp.
GetStatements
.Add(new CodeMethodReturnStatement(new CodePropertyReferenceExpression(
4363
cmp.
GetStatements
.Add(new CodeMethodReturnStatement(new CodePropertyReferenceExpression(
4380
cmp.
GetStatements
.Add(new CodeMethodReturnStatement(new CodeThisReferenceExpression()));
4568
cmp.
GetStatements
.Add(new CodeMethodReturnStatement(coce));
5439
cmp.
GetStatements
.Add (new CodeVariableDeclarationStatement("System.String",strRetVar,
5490
cmp.
GetStatements
.Add(cis);
5492
cmp.
GetStatements
.Add (new CodeMethodReturnStatement (new CodeVariableReferenceExpression(strRetVar)));
6107
cmp.
GetStatements
.Add(cis);
6133
cmProp.
GetStatements
.Add(new CodeVariableDeclarationStatement("System.Array",strArray,
6136
cmProp.
GetStatements
.Add(new CodeVariableDeclarationStatement(new CodeTypeReference(strEnumName,1),ArrToRet,
6143
cmProp.
GetStatements
.Add(new CodeVariableDeclarationStatement("System.Int32",strnCtr,new CodePrimitiveExpression(0)));
6171
cmProp.
GetStatements
.Add(cfls);
6173
cmProp.
GetStatements
.Add(new CodeMethodReturnStatement(new CodeVariableReferenceExpression(ArrToRet)));
System.Runtime.Serialization (2)
System\Runtime\Serialization\CodeExporter.cs (2)
1890
extensionDataObjectProperty.
GetStatements
.Add(propertyGet);
1950
property.
GetStatements
.Add(propertyGet);
System.ServiceModel (2)
System\ServiceModel\Description\ClientClassGenerator.cs (2)
609
property.
GetStatements
.Add(new CodeMethodInvokeExpression(new CodeBaseReferenceExpression(), raiseExceptionIfNecessaryMethodName));
610
property.
GetStatements
.Add(returnStmt);
System.Web (11)
Compilation\BaseCodeDomTreeGenerator.cs (5)
532
prop.
GetStatements
.Add(new CodeMethodReturnStatement(new CodeCastExpression(
554
prop.
GetStatements
.Add(new CodeMethodReturnStatement(fieldRef));
620
prop.
GetStatements
.Add(ifStmt);
621
prop.
GetStatements
.Add(new CodeMethodReturnStatement(fieldAccess));
662
prop.
GetStatements
.Add(new CodeMethodReturnStatement(new CodeCastExpression(declaredType, getObject)));
Compilation\PageThemeCodeDomTreeGenerator.cs (1)
47
member.
GetStatements
.Add(returnStmt);
Compilation\ProfileBuildProvider.cs (2)
205
prop.
GetStatements
.Add(getLine);
255
prop.
GetStatements
.Add(getLine);
Compilation\TemplateControlCodeDomTreeGenerator.cs (3)
131
prop.
GetStatements
.Add(new CodeMethodReturnStatement(new CodeCastExpression(propertyType, propRef)));
237
prop.
GetStatements
.Add(new CodeMethodReturnStatement(new CodePrimitiveExpression(false)));
268
prop.
GetStatements
.Add(new CodeMethodReturnStatement(new CodeCastExpression(
System.Web.Services (3)
System\Web\Services\Description\WebCodeGenerator.cs (3)
96
prop.
GetStatements
.Add(ret);
408
prop.
GetStatements
.Add(new CodeMethodInvokeExpression(new CodeThisReferenceExpression(), "RaiseExceptionIfNecessary", new CodeExpression[0]));
415
prop.
GetStatements
.Add(ret);
System.Xml (1)
System\Xml\Serialization\CodeExporter.cs (1)
307
prop.
GetStatements
.Add(ret);
XamlBuildTask (7)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (7)
1110
AssemblyList.
GetStatements
.Add(assemblyListNull);
1111
AssemblyList.
GetStatements
.Add(new CodeMethodReturnStatement(assemblyList));
1156
CodeVariableReferenceExpression xsc = SchemaContext.
GetStatements
.DeclareVar(typeof(XamlSchemaContext), "xsc", new CodePrimitiveExpression(null));
1170
SchemaContext.
GetStatements
.Add(getSchemaContextIfNotNull);
1180
SchemaContext.
GetStatements
.Add(initSchemaContext);
1183
SchemaContext.
GetStatements
.Add(assignSchemaContextField);
1185
SchemaContext.
GetStatements
.Add(new CodeMethodReturnStatement(xsc));