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