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