111 writes to ReturnType
PresentationBuildTasks (7)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (7)
1995cmmEventHandler.ReturnType = new CodeTypeReference(typeof(void)); 2016cmmEventHandlerHelper.ReturnType = new CodeTypeReference(typeof(void)); 2511cmmCD.ReturnType = new CodeTypeReference(typeof(Delegate)); 2685cmmCI.ReturnType = new CodeTypeReference(typeof(Object)); 2720cmmGPV.ReturnType = new CodeTypeReference(typeof(Object)); 2784cmmCD.ReturnType = new CodeTypeReference(typeof(Delegate)); 3104cmmMain.ReturnType = new CodeTypeReference(typeof(void));
System.Activities (11)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (11)
721languageProperty.ReturnType = new CodeTypeReference(typeof(string)); 814getLocationsMethod.ReturnType = new CodeTypeReference(typeof(IList<string>)); 884getExpressionTreeForExpressionMethod.ReturnType = new CodeTypeReference(typeof(Expression)); 930invokeExpressionMethod.ReturnType = new CodeTypeReference(typeof(object)); 1269isValidMethod.ReturnType = new CodeTypeReference(typeof(bool)); 1478expressionMethod.ReturnType = new CodeTypeReference(typeof(Expression)); 1537expressionMethod.ReturnType = new CodeTypeReference(resultType); 1554wrapperMethod.ReturnType = expressionMethod.ReturnType; 1824dataContextActivitiesHelper.ReturnType = new CodeTypeReference(typeof(object)); 1892cacheHelper.ReturnType = new CodeTypeReference(typeof(CompiledDataContext[])); 2196validateMethod.ReturnType = new CodeTypeReference(typeof(bool));
System.Data (1)
fx\src\data\System\Data\CodeGen\datacache.cs (1)
1506method.ReturnType = type;
System.Data.Entity.Design (8)
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (2)
489getViewAtMethod.ReturnType = new CodeTypeReference(typeof(KeyValuePair<,>).MakeGenericType(new Type[] { typeof(string), typeof(string) })); 543viewMethod.ReturnType = new CodeTypeReference(typeof(KeyValuePair<,>).MakeGenericType(new Type[] { typeof(string), typeof(string) }));
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (3)
273onContextCreatedPartialMethod.ReturnType = new CodeTypeReference(typeof(void)); 444codeMethod.ReturnType = new CodeTypeReference(typeof(void)); 514method.ReturnType = TypeReference.ObjectResult(elementType);
System\Data\EntityModel\Emitters\PropertyEmitter.cs (2)
97onChangingDomMethod.ReturnType = new CodeTypeReference(typeof(void)); 105onChangedDomMethod.ReturnType = new CodeTypeReference(typeof(void));
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (1)
182method.ReturnType = typeRef;
System.Data.Services.Design (8)
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (1)
786propertyChangedMethod.ReturnType = new CodeTypeReference(typeof(void));
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (4)
235onContextCreatedPartialMethod.ReturnType = new CodeTypeReference(typeof(void)); 260resolveTypeFromName.ReturnType = TypeReference.ForType(typeof(Type)); 322resolveNameFromType.ReturnType = TypeReference.ForType(typeof(String)); 606codeMethod.ReturnType = new CodeTypeReference(typeof(void));
System\Data\EntityModel\Emitters\PropertyEmitter.cs (2)
103onChangingDomMethod.ReturnType = new CodeTypeReference(typeof(void)); 110onChangedDomMethod.ReturnType = new CodeTypeReference(typeof(void));
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (1)
172method.ReturnType = typeRef;
System.Management (32)
WmiGenerator.cs (32)
1426cmm.ReturnType = new CodeTypeReference("System.Boolean"); 2089cmm.ReturnType = new CodeTypeReference("System.String"); 3085cmm.ReturnType = ConvertCIMType(prop.Type,prop.IsArray); 3094cmm.ReturnType = dateType; 3336cmm.ReturnType = new CodeTypeReference(PrivateNamesUsed["CollectionClass"].ToString()); 3366cmm.ReturnType = new CodeTypeReference(PrivateNamesUsed["CollectionClass"].ToString()); 3397cmm.ReturnType = new CodeTypeReference(PrivateNamesUsed["CollectionClass"].ToString()); 3429cmm.ReturnType = new CodeTypeReference(PrivateNamesUsed["CollectionClass"].ToString()); 3476cmm.ReturnType = new CodeTypeReference(PrivateNamesUsed["CollectionClass"].ToString()); 3587cmm.ReturnType = new CodeTypeReference(PrivateNamesUsed["CollectionClass"].ToString()); 3619cmm.ReturnType = new CodeTypeReference(PrivateNamesUsed["CollectionClass"].ToString()); 3660cmm.ReturnType = new CodeTypeReference(PrivateNamesUsed["CollectionClass"].ToString()); 3857cmm.ReturnType = new CodeTypeReference("System.Boolean"); 3881cmm.ReturnType = new CodeTypeReference("System.Boolean"); 3905cmm.ReturnType = new CodeTypeReference("System.Object"); 3930cmm.ReturnType = new CodeTypeReference("System.Object"); 3954cmm.ReturnType = new CodeTypeReference("System.Boolean"); 3979cmm.ReturnType = new CodeTypeReference(propColl); 4000cmm.ReturnType = new CodeTypeReference("System.Boolean"); 4019cmm.ReturnType = new CodeTypeReference("System.ComponentModel.TypeConverter.StandardValuesCollection"); 4038cmm.ReturnType = new CodeTypeReference("System.Boolean"); 4057cmm.ReturnType = new CodeTypeReference("System.Boolean"); 4109cmm.ReturnType = new CodeTypeReference("System.Object"); 4469cmm.ReturnType = new CodeTypeReference("System.Collections.IEnumerator"); 4594cmm.ReturnType = new CodeTypeReference("System.Boolean"); 5508cmm.ReturnType = new CodeTypeReference("System.Boolean"); 5582cmm.ReturnType = new CodeTypeReference("System.Boolean"); 6299cmm.ReturnType = new CodeTypeReference(PrivateNamesUsed["GeneratedClassName"].ToString()); 6441cmmdt.ReturnType = new CodeTypeReference("System.DateTime"); 6892cmmts.ReturnType = new CodeTypeReference("System.String"); 7154cmmdt.ReturnType = new CodeTypeReference("System.String"); 7481cmmts.ReturnType = new CodeTypeReference("System.TimeSpan");
System.Runtime.Serialization (2)
System\Runtime\Serialization\CodeExporter.cs (2)
1713getSchemaMethod.ReturnType = GetCodeTypeReference(typeof(XmlSchema)); 1725getSchemaStaticMethod.ReturnType = GetCodeTypeReference(Globals.TypeOfXmlQualifiedName);
System.ServiceModel (13)
System\ServiceModel\Description\ClientClassGenerator.cs (8)
304helperMethod.ReturnType = method.ReturnType; 332helperMethod.ReturnType = field.Type; 481m.ReturnType = method.ReturnType; 657onBeginOperationMethod.ReturnType = new CodeTypeReference(asyncResultType); 711onEndOperationMethod.ReturnType = new CodeTypeReference(objectArrayType); 791operationCompletedMethod.ReturnType = new CodeTypeReference(voidType); 848eventAsyncMethod.ReturnType = new CodeTypeReference(voidType); 894eventAsyncMethodOverload.ReturnType = eventAsyncMethod.ReturnType;
System\ServiceModel\Description\OperationGenerator.cs (4)
261this.EndMethod.ReturnType = GetParameterType(this.Response.Body.ReturnValue); 292this.EndMethod.ReturnType = typedRespMessageRef; 384this.EndMethod.ReturnType = Context.ServiceContractGenerator.GetCodeTypeReference(typeof(Message)); 972this.Method.ReturnType = taskReturnType;
System\ServiceModel\Description\ServiceContractGenerator.cs (1)
345beginMethod.ReturnType = context.ServiceContractGenerator.GetCodeTypeReference(typeof(IAsyncResult));
System.ServiceModel.Activation (1)
System\ServiceModel\Activities\Activation\XamlBuildProviderExtension.cs (1)
169codeMemberMethod.ReturnType = new CodeTypeReference(typeof(ICompiledExpressionRoot));
System.Web (20)
Compilation\BaseCodeDomTreeGenerator.cs (2)
369method.ReturnType = new CodeTypeReference(typeof(void)); 781method.ReturnType = new CodeTypeReference(typeof(void));
Compilation\BaseTemplateCodeDomTreeGenerator.cs (4)
202method.ReturnType = new CodeTypeReference(typeof(Control)); 209method.ReturnType = new CodeTypeReference(typeof(Control)); 213method.ReturnType = CodeDomUtility.BuildGlobalCodeTypeReference(builder.ControlType); 987method.ReturnType = new CodeTypeReference(typeof(IOrderedDictionary));
Compilation\BrowserCapabilitiesCompiler.cs (3)
299method.ReturnType = new CodeTypeReference(typeof(void)); 343cmm.ReturnType = new CodeTypeReference(typeof(void)); 424cmm.ReturnType = new CodeTypeReference(typeof(void));
Compilation\ObjectFactoryCodeDomTreeGenerator.cs (1)
85method.ReturnType = new CodeTypeReference(typeof(object));
Compilation\PageCodeDomTreeGenerator.cs (3)
353method.ReturnType = new CodeTypeReference(typeof(int)); 463method.ReturnType = new CodeTypeReference(typeof(IAsyncResult)); 521method.ReturnType = new CodeTypeReference(typeof(IAsyncResult));
Compilation\ProfileBuildProvider.cs (1)
278method.ReturnType = new CodeTypeReference(/*BaseCodeDomTreeGenerator.defaultNamespace + "." + */ ProfileTypeName);
Compilation\TemplateControlCodeDomTreeGenerator.cs (1)
154bindMethod.ReturnType = new CodeTypeReference(typeof(string));
Configuration\BrowserCapabilitiesCodeGenerator.cs (5)
735method.ReturnType = new CodeTypeReference(typeof(void)); 897method.ReturnType = new CodeTypeReference(typeof(void)); 960method.ReturnType = new CodeTypeReference(typeof(void)); 991cmm.ReturnType = new CodeTypeReference(typeof(bool)); 1102cmm.ReturnType = new CodeTypeReference(typeof(void));
System.Web.Services (1)
System\Web\Services\Description\WebCodeGenerator.cs (1)
170method.ReturnType = new CodeTypeReference(returnTypeName);
System.Workflow.Activities (1)
WebServiceReceive.cs (1)
789webMethod.ReturnType = new CodeTypeReference(methodInfo.ReturnType);
System.Workflow.ComponentModel (3)
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (1)
1102invokeMethod.ReturnType = ((CodeTypeDelegate)codeDomType).ReturnType;
AuthoringOM\Compiler\TypeSystem\EventInfo.cs (2)
63codeAddMethod.ReturnType = new CodeTypeReference(typeof(void)); 82codeRemoveMethod.ReturnType = new CodeTypeReference(typeof(void));
XamlBuildTask (3)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (3)
701ReturnType = new CodeTypeReference(typeof(string)), 1215ReturnType = new CodeTypeReference(typeof(Assembly)) 1294ReturnType = new CodeTypeReference(typeof(IList<Assembly>)),
29 references to ReturnType
System (7)
compmod\microsoft\csharp\csharpcodeprovider.cs (2)
1807OutputType(e.ReturnType); 1876OutputType(e.ReturnType);
compmod\microsoft\visualbasic\VBCodeProvider.cs (4)
1864if (e.ReturnType.BaseType.Length == 0 || string.Compare(e.ReturnType.BaseType, typeof(void).FullName, StringComparison.OrdinalIgnoreCase) == 0) { 1889OutputType(e.ReturnType); 1890OutputArrayPostfix(e.ReturnType);
compmod\system\codedom\compiler\CodeValidator.cs (1)
308ValidateTypeReference(e.ReturnType);
System.Activities (1)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (1)
1554wrapperMethod.ReturnType = expressionMethod.ReturnType;
System.Data.Entity.Design (1)
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (1)
571viewMethod.ReturnType,
System.Management (2)
WmiGenerator.cs (2)
3091CodeTypeReference dateType = cmm.ReturnType; 3096retRefType = cmm.ReturnType;
System.ServiceModel (15)
System\ServiceModel\Description\ClientClassGenerator.cs (14)
286if (method.ReturnType.BaseType == voidTypeRef.BaseType) 290CodeTypeDeclaration returnTypeDecl = ServiceContractGenerator.NamespaceHelper.GetCodeType(method.ReturnType); 296helperMethod.Statements.Add(new CodeVariableDeclarationStatement(method.ReturnType, outVar.VariableName, invokeMethod)); 304helperMethod.ReturnType = method.ReturnType; 330if (param == null && dir == FieldDirection.Out && helperMethod.ReturnType.BaseType == voidTypeRef.BaseType) 481m.ReturnType = method.ReturnType; 513if ((endMethod.Parameters.Count == 1) && (endMethod.ReturnType.BaseType == voidTypeRef.BaseType)) 558if (endMethod.ReturnType.BaseType != voidTypeRef.BaseType) 562endMethod.ReturnType, 741if (endMethod.ReturnType.BaseType != voidTypeRef.BaseType) 744retValDecl.Type = endMethod.ReturnType; 894eventAsyncMethodOverload.ReturnType = eventAsyncMethod.ReturnType; 996return method.ReturnType == null || String.Compare(method.ReturnType.BaseType, typeof(void).FullName, StringComparison.Ordinal) == 0;
System\ServiceModel\Description\OperationGenerator.cs (1)
961CodeTypeReference resultType = this.Method.ReturnType;
System.Web (1)
Compilation\ProfileBuildProvider.cs (1)
286CodeMethodReturnStatement returnSatement = new CodeMethodReturnStatement(new CodeCastExpression(method.ReturnType, cmie));
System.Workflow.ComponentModel (2)
AuthoringOM\Compiler\TypeSystem\MethodInfo.cs (2)
178return declaringType.ResolveType(DesignTimeType.GetTypeNameFromCodeTypeReference(this.methodInfo.ReturnType, declaringType)); 198this.returnParam = new DesignTimeParameterInfo(this.methodInfo.ReturnType, this);