43 references to GetStatements
Microsoft.Build.Tasks.Core (6)
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (1)
670property.GetStatements.Add(new CodeMethodReturnStatement(fieldReference));
system.design\stronglytypedresourcebuilder.cs (5)
498resMgr.GetStatements.Add(new CodeConditionStatement(isResMgrNull, init)); 499resMgr.GetStatements.Add(new CodeMethodReturnStatement(field_resMgr)); 508culture.GetStatements.Add(new CodeMethodReturnStatement(field_resCulture)); 683prop.GetStatements.Add(returnObj); 687prop.GetStatements.Add(ret);
System.CodeDom (5)
Microsoft\CSharp\CSharpCodeGenerator.cs (1)
1489GenerateStatements(e.GetStatements);
Microsoft\VisualBasic\VBCodeGenerator.cs (1)
1828GenerateVBStatements(e.GetStatements);
System\CodeDom\CodeMemberProperty.cs (2)
23get => _hasGet || GetStatements.Count > 0; 29GetStatements.Clear();
System\CodeDom\Compiler\CodeValidator.cs (1)
303ValidateStatements(e.GetStatements);
System.Management (25)
System\Management\WMIGenerator.cs (25)
953cmp.GetStatements.Add(new CodeMethodReturnStatement(new CodeSnippetExpression(propValue))); 957cmp.GetStatements.Add(new CodeMethodReturnStatement(new CodePrimitiveExpression(propValue))); 998cmp.GetStatements.Add(new CodeMethodReturnStatement(Value)); 1038cmp.GetStatements.Add(cis); 1151cmp.GetStatements.Add(new CodeMethodReturnStatement(new CodeCastExpression(cmp.Type, cie))); 1304cmp2.GetStatements.Add(cis); 1368cmp.GetStatements.Add(cis); 1405GenerateCodeForRefAndDateTimeTypes(cie, prop.IsArray, cmp.GetStatements, PublicNamesUsed["PathClass"].ToString(), null, false); 1415GenerateCodeForRefAndDateTimeTypes(cie, prop.IsArray, cmp.GetStatements, "System.TimeSpan", null, false); 1419GenerateCodeForRefAndDateTimeTypes(cie, prop.IsArray, cmp.GetStatements, "System.DateTime", null, false); 1436cmp.GetStatements.Add(new CodeMethodReturnStatement(new CodeCastExpression(cmp.Type, cmie))); 1441cmp.GetStatements.Add(new CodeMethodReturnStatement(new CodeCastExpression(cmp.Type, cie))); 4285cmp.GetStatements.Add(new CodeMethodReturnStatement(new CodePropertyReferenceExpression( 4302cmp.GetStatements.Add(new CodeMethodReturnStatement(new CodePropertyReferenceExpression( 4318cmp.GetStatements.Add(new CodeMethodReturnStatement(new CodeThisReferenceExpression())); 4472cmp.GetStatements.Add(new CodeMethodReturnStatement(coce)); 5337cmp.GetStatements.Add(new CodeVariableDeclarationStatement("System.String", strRetVar, 5388cmp.GetStatements.Add(cis); 5390cmp.GetStatements.Add(new CodeMethodReturnStatement(new CodeVariableReferenceExpression(strRetVar))); 5994cmp.GetStatements.Add(cis); 6020cmProp.GetStatements.Add(new CodeVariableDeclarationStatement("System.Array", strArray, 6023cmProp.GetStatements.Add(new CodeVariableDeclarationStatement(new CodeTypeReference(strEnumName, 1), ArrToRet, 6030cmProp.GetStatements.Add(new CodeVariableDeclarationStatement("System.Int32", strnCtr, new CodePrimitiveExpression(0))); 6058cmProp.GetStatements.Add(cfls); 6060cmProp.GetStatements.Add(new CodeMethodReturnStatement(new CodeVariableReferenceExpression(ArrToRet)));
System.Runtime.Serialization.Schema (2)
System\Runtime\Serialization\Schema\CodeExporter.cs (2)
1942extensionDataObjectProperty.GetStatements.Add(propertyGet); 2002property.GetStatements.Add(propertyGet);
System.Windows.Forms.Design (5)
System\Resources\Tools\StronglyTypedResourceBuilder.cs (5)
621resourceManagerProperty.GetStatements.Add(new CodeConditionStatement(isResourceManagerNull, assignNewResourceManager)); 622resourceManagerProperty.GetStatements.Add(new CodeMethodReturnStatement(resourceManagerField)); 631culture.GetStatements.Add(new CodeMethodReturnStatement(cultureInfoField)); 801property.GetStatements.Add(returnObject); 805property.GetStatements.Add(returnStatement);