238 references to CodeTypeReference
PresentationBuildTasks (16)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (16)
897_ccRoot.StyleConnectorFn.PrivateImplementationType = new CodeTypeReference(KnownTypes.Types[(int)KnownElements.IStyleConnector]); 1129_ccRoot.HookupFn.PrivateImplementationType = new CodeTypeReference(KnownTypes.Types[(int)KnownElements.IComponentConnector]); 1255var iComponentConnector = new CodeTypeReference(KnownTypes.Types[(int)KnownElements.IComponentConnector]); 1475new CodeTypeReference(typeof(SuppressMessageAttribute)), 1485new CodeTypeReference(typeof(DebuggerNonUserCodeAttribute))); 1995cmmEventHandler.ReturnType = new CodeTypeReference(typeof(void)); 2016cmmEventHandlerHelper.ReturnType = new CodeTypeReference(typeof(void)); 2366ctrTypeArg = new CodeTypeReference(typeParam); 2391new CodeTypeReference(typeof(GeneratedCodeAttribute)), 2511cmmCD.ReturnType = new CodeTypeReference(typeof(Delegate)); 2545cmmLC.ImplementationTypes.Add(new CodeTypeReference(KnownTypes.Types[(int)KnownElements.IComponentConnector])); 2630cmfCL.Type = new CodeTypeReference(typeof(bool)); 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 (16)
compmod\system\codedom\CodeArrayCreateExpression.cs (3)
63this.createType = new CodeTypeReference(createType); 90this.createType = new CodeTypeReference(createType); 117this.createType = new CodeTypeReference(createType);
compmod\system\codedom\CodeCastExpression.cs (1)
63TargetType = new CodeTypeReference(targetType);
compmod\system\codedom\CodeCatchClause.cs (1)
80catchExceptionType = new CodeTypeReference(typeof(System.Exception));
compmod\system\codedom\CodeMemberField.cs (1)
62Type = new CodeTypeReference(type);
compmod\system\codedom\CodeObjectCreateExpression.cs (1)
62CreateType = new CodeTypeReference(createType);
compmod\system\codedom\CodeParameterDeclarationExpression.cs (1)
64Type = new CodeTypeReference(type);
compmod\system\codedom\CodeTypeOfExpression.cs (1)
58Type = new CodeTypeReference(type);
compmod\system\codedom\CodeTypeReference.cs (3)
64this.arrayElementType = new CodeTypeReference(type.GetElementType()); 75public CodeTypeReference (Type type, CodeTypeReferenceOptions codeTypeReferenceOption) : this(type) { 110TypeArguments.Add(new CodeTypeReference(genericArgs[i]));
compmod\system\codedom\CodeTypeReferenceCollection.cs (1)
84Add(new CodeTypeReference(value));
compmod\system\codedom\CodeTypeReferenceExpression.cs (1)
58Type = new CodeTypeReference(type);
compmod\system\codedom\CodeVariableDeclarationStatement.cs (2)
62Type = new CodeTypeReference(type); 91Type = new CodeTypeReference(type);
System.Activities (54)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (54)
154new CodeTypeReference(typeof(GeneratedCodeAttribute)), 170new CodeTypeReference(typeof(BrowsableAttribute)), 184new CodeTypeReference(typeof(EditorBrowsableAttribute)), 187new CodeTypeReference(typeof(EditorBrowsableState))), "Never"))); 472accessorField.Type = new CodeTypeReference(memberData.Type); 540accessorProperty.Type = new CodeTypeReference(memberData.Type); 555accessorProperty.Type = new CodeTypeReference(typeof(object)); 571accessorPropertyForReadOnly.Type = new CodeTypeReference(typeof(object)); 712classDeclaration.BaseTypes.Add(new CodeTypeReference(typeof(ICompiledExpressionRoot))); 715CodeMemberField compiledRootField = new CodeMemberField(new CodeTypeReference(typeof(Activity)), rootActivityFieldName); 721languageProperty.ReturnType = new CodeTypeReference(typeof(string)); 723languageProperty.ImplementationTypes.Add(new CodeTypeReference(typeof(ICompiledExpressionRoot))); 733dataContextActivitiesField.Type = new CodeTypeReference(typeof(object)); 740forImplementationField.Type = new CodeTypeReference(typeof(bool)); 760new CodeTypeReference(typeof(Activity)), 772new CodeTypeReference(typeof(ArgumentNullException)), 812getLocationsMethod.ImplementationTypes.Add(new CodeTypeReference(typeof(ICompiledExpressionRoot))); 814getLocationsMethod.ReturnType = new CodeTypeReference(typeof(IList<string>)); 816getLocationsMethod.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(typeof(int)), "expressionId")); 837CodeVariableDeclarationStatement returnLocationsVar = new CodeVariableDeclarationStatement(new CodeTypeReference(typeof(List<string>)), 839new CodeObjectCreateExpression(new CodeTypeReference(typeof(List<string>)))); 884getExpressionTreeForExpressionMethod.ReturnType = new CodeTypeReference(typeof(Expression)); 885getExpressionTreeForExpressionMethod.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(typeof(int)), "expressionId")); 886getExpressionTreeForExpressionMethod.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(typeof(IList<LocationReference>)), "locationReferences")); 887getExpressionTreeForExpressionMethod.ImplementationTypes.Add(new CodeTypeReference(typeof(ICompiledExpressionRoot))); 928invokeExpressionMethod.ImplementationTypes.Add(new CodeTypeReference(typeof(ICompiledExpressionRoot))); 930invokeExpressionMethod.ReturnType = new CodeTypeReference(typeof(object)); 932invokeExpressionMethod.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(typeof(int)), "expressionId")); 936invokeExpressionMethod.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(typeof(IList<LocationReference>)), "locations")); 937invokeExpressionMethod.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(typeof(ActivityContext)), "activityContext")); 941invokeExpressionMethod.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(typeof(IList<Location>)), "locations")); 1174new CodeTypeReference[] { new CodeTypeReference(descriptor.ResultType) }); 1269isValidMethod.ReturnType = new CodeTypeReference(typeof(bool)); 1274isValidMethod.ImplementationTypes.Add(new CodeTypeReference(typeof(ICompiledExpressionRoot))); 1276isValidMethod.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(typeof(string)), "expressionText")); 1277isValidMethod.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(typeof(bool)), "isReference")); 1278isValidMethod.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(typeof(IList<LocationReference>)), "locations")); 1280CodeParameterDeclarationExpression expressionIdParam = new CodeParameterDeclarationExpression(new CodeTypeReference(typeof(int)), "expressionId"); 1478expressionMethod.ReturnType = new CodeTypeReference(typeof(Expression)); 1537expressionMethod.ReturnType = new CodeTypeReference(resultType); 1538expressionMethod.CustomAttributes.Add(new CodeAttributeDeclaration(new CodeTypeReference(typeof(DebuggerHiddenAttribute)))); 1582expressionMethod.CustomAttributes.Add(new CodeAttributeDeclaration(new CodeTypeReference(typeof(DebuggerHiddenAttribute)))); 1632expressionMethod.CustomAttributes.Add(new CodeAttributeDeclaration(new CodeTypeReference(typeof(DebuggerHiddenAttribute)))); 1779offsetField.Type = new CodeTypeReference(typeof(int)); 1786expectedLocationsCountField.Type = new CodeTypeReference(typeof(int)); 1824dataContextActivitiesHelper.ReturnType = new CodeTypeReference(typeof(object)); 1828new CodeTypeReference(typeof(Activity)), 1833new CodeTypeReference(typeof(bool)), 1852setLocationsOffsetMethod.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(typeof(int)), 1892cacheHelper.ReturnType = new CodeTypeReference(typeof(CompiledDataContext[])); 2196validateMethod.ReturnType = new CodeTypeReference(typeof(bool)); 2200new CodeTypeReference(typeof(IList<LocationReference>)), 2205new CodeTypeReference(typeof(bool)), 2210new CodeTypeReference(typeof(int)),
System.Data (1)
fx\src\data\System\Data\CodeGen\datacache.cs (1)
1422private static CodeTypeReference Type(Type type) { return new CodeTypeReference(type); }
System.Data.Entity.Design (9)
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (4)
489getViewAtMethod.ReturnType = new CodeTypeReference(typeof(KeyValuePair<,>).MakeGenericType(new Type[] { typeof(string), typeof(string) })); 490CodeParameterDeclarationExpression parameter = new CodeParameterDeclarationExpression(new CodeTypeReference(typeof(int)), "index"); 533new CodeObjectCreateExpression(new CodeTypeReference(typeof(IndexOutOfRangeException))))); 543viewMethod.ReturnType = new CodeTypeReference(typeof(KeyValuePair<,>).MakeGenericType(new Type[] { typeof(string), typeof(string) }));
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (2)
273onContextCreatedPartialMethod.ReturnType = new CodeTypeReference(typeof(void)); 444codeMethod.ReturnType = new CodeTypeReference(typeof(void));
System\Data\EntityModel\Emitters\PropertyEmitter.cs (2)
97onChangingDomMethod.ReturnType = new CodeTypeReference(typeof(void)); 105onChangedDomMethod.ReturnType = new CodeTypeReference(typeof(void));
System\Data\EntityModel\Emitters\SchemaTypeEmitter.cs (1)
106typeDecl.BaseTypes.Add(new CodeTypeReference(interfaceType));
System.Data.Services.Design (6)
System\Data\EntityModel\Emitters\AttributeEmitter.cs (1)
30new CodeTypeReference(typeof(System.CodeDom.Compiler.GeneratedCodeAttribute)),
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (1)
786propertyChangedMethod.ReturnType = new CodeTypeReference(typeof(void));
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (2)
235onContextCreatedPartialMethod.ReturnType = new CodeTypeReference(typeof(void)); 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.SqlXml (2)
System\Xml\Xsl\Xslt\Scripts.cs (1)
263new CodeTypeReference(typeof(System.Security.SecurityRulesAttribute)),
System\Xml\Xsl\XsltOld\Compiler.cs (1)
783new CodeTypeReference(typeof(System.Security.SecurityRulesAttribute)),
System.Runtime.Serialization (1)
System\Runtime\Serialization\CodeExporter.cs (1)
366return new CodeTypeReference(type);
System.ServiceModel (22)
System\ServiceModel\Channels\SecurityAttributeGenerationHelper.cs (1)
17CodeTypeReference refT = new CodeTypeReference(typeof(T));
System\ServiceModel\Description\ClientClassGenerator.cs (16)
52static CodeTypeReference voidTypeRef = new CodeTypeReference(typeof(void)); 53static CodeTypeReference asyncResultTypeRef = new CodeTypeReference(typeof(IAsyncResult)); 254CodeAttributeDeclaration browsableAttribute = new CodeAttributeDeclaration(new CodeTypeReference(typeof(EditorBrowsableAttribute))); 520argsType.BaseTypes.Add(new CodeTypeReference(asyncCompletedEventArgsType)); 524resultsField.Type = new CodeTypeReference(objectArrayType); 621operationCompletedEvent.Type = new CodeTypeReference(eventHandlerType); 657onBeginOperationMethod.ReturnType = new CodeTypeReference(asyncResultType); 662inValuesParam.Type = new CodeTypeReference(objectArrayType); 711onEndOperationMethod.ReturnType = new CodeTypeReference(objectArrayType); 717retArray.CreateType = new CodeTypeReference(objectArrayType); 774operationCompletedDelegate.Type = new CodeTypeReference(sendOrPostCallbackType); 790operationCompletedMethod.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(objectType), "state")); 791operationCompletedMethod.ReturnType = new CodeTypeReference(voidType); 848eventAsyncMethod.ReturnType = new CodeTypeReference(voidType); 850CodeArrayCreateExpression invokeAsyncInValues = new CodeArrayCreateExpression(new CodeTypeReference(objectArrayType)); 863eventAsyncMethod.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(objectType), userStateParamName));
System\ServiceModel\Description\DataContractSerializerOperationGenerator.cs (1)
146static CodeTypeReference dataContractAttributeTypeRef = new CodeTypeReference(typeof(DataContractAttribute));
System\ServiceModel\Description\OperationGenerator.cs (1)
965taskReturnType = new CodeTypeReference(ServiceReflector.taskType);
System\ServiceModel\Description\ServiceContractGenerator.cs (2)
71return new CodeTypeReference(type); 643static CodeTypeReference voidTypeReference = new CodeTypeReference(typeof(void));
System\ServiceModel\Description\XmlSerializerOperationGenerator.cs (1)
169CodeAttributeDeclaration knownType = new CodeAttributeDeclaration(new CodeTypeReference(typeof(ServiceKnownTypeAttribute)));
System.ServiceModel.Activation (3)
System\ServiceModel\Activities\Activation\XamlBuildProviderExtension.cs (3)
164codeTypeDeclaration.BaseTypes.Add(new CodeTypeReference(typeof(WorkflowService))); 169codeMemberMethod.ReturnType = new CodeTypeReference(typeof(ICompiledExpressionRoot)); 171new CodeTypeReference(typeof(Activity)),
System.Web (66)
Compilation\AssemblyBuilder.cs (9)
521new CodeTypeReference(typeof(System.Reflection.AssemblyCultureAttribute)), 532new CodeTypeReference(typeof(GeneratedCodeAttribute))); 542new CodeTypeReference(typeof(AllowPartiallyTrustedCallersAttribute))); 551new CodeTypeReference(typeof(AssemblyKeyFileAttribute)), 561new CodeTypeReference(typeof(AssemblyKeyNameAttribute)), 571new CodeTypeReference(typeof(AssemblyDelaySignAttribute)), 593declaration = new CodeAttributeDeclaration(new CodeTypeReference(attrType), new CodeAttributeArgument(field)); 600declaration = new CodeAttributeDeclaration(new CodeTypeReference(attrType), new CodeAttributeArgument(field)); 608new CodeTypeReference(typeof(System.Runtime.Versioning.TargetFrameworkAttribute)),
Compilation\BaseCodeDomTreeGenerator.cs (7)
369method.ReturnType = new CodeTypeReference(typeof(void)); 423_intermediateClass.BaseTypes.Add(new CodeTypeReference(t)); 553prop.Type = new CodeTypeReference(propType); 613prop.Type = new CodeTypeReference(propType); 661prop.Type = new CodeTypeReference(declaredType); 781method.ReturnType = new CodeTypeReference(typeof(void)); 918CodeAttributeDeclaration attributeDeclaration = new CodeAttributeDeclaration(new CodeTypeReference(typeof(System.Diagnostics.DebuggerNonUserCodeAttribute)));
Compilation\BaseTemplateCodeDomTreeGenerator.cs (12)
129parserDeclaration.Type = new CodeTypeReference(typeof(IParserAccessor)); 202method.ReturnType = new CodeTypeReference(typeof(Control)); 209method.ReturnType = new CodeTypeReference(typeof(Control)); 347newDelegate.DelegateType = new CodeTypeReference(typeof(BuildTemplateMethod)); 366((CodeDelegateCreateExpression)newExtractValuesDelegate).DelegateType = new CodeTypeReference(typeof(ExtractTemplateValuesMethod)); 557newDelegate.DelegateType = new CodeTypeReference(typeof(BuildTemplateMethod)); 687newDelegate.DelegateType = new CodeTypeReference(typeof(BuildMethod)); 881newDelegate.DelegateType = new CodeTypeReference(typeof(EventHandler)); 894newDelegate.DelegateType = new CodeTypeReference(typeof(EventHandler)); 904newDelegate.DelegateType = new CodeTypeReference(typeof(RenderMethod)); 946newDelegate.DelegateType = new CodeTypeReference(eventEntry.HandlerType); 987method.ReturnType = new CodeTypeReference(typeof(IOrderedDictionary));
Compilation\BrowserCapabilitiesCompiler.cs (4)
290factoryType.BaseTypes.Add(new CodeTypeReference(baseType)); 299method.ReturnType = new CodeTypeReference(typeof(void)); 343cmm.ReturnType = new CodeTypeReference(typeof(void)); 424cmm.ReturnType = new CodeTypeReference(typeof(void));
Compilation\CodeDOMUtility.cs (1)
69exp.CreateType = new CodeTypeReference(valueType.GetElementType());
Compilation\ObjectFactoryCodeDomTreeGenerator.cs (2)
85method.ReturnType = new CodeTypeReference(typeof(object)); 136new CodeTypeReference(typeof(System.InvalidOperationException)),
Compilation\PageCodeDomTreeGenerator.cs (12)
45_intermediateClass.BaseTypes.Add(new CodeTypeReference(typeof(IRequiresSessionState))); 48_intermediateClass.BaseTypes.Add(new CodeTypeReference(typeof(IReadOnlySessionState))); 53_sourceDataClass.BaseTypes.Add(new CodeTypeReference(typeof(IHttpAsyncHandler))); 78dependencies.Type = new CodeTypeReference(typeof(string[])); 197outputCacheSettingsDeclaration.Type = new CodeTypeReference(typeof(OutputCacheParameters)); 203cacheSettingsObject.CreateType = new CodeTypeReference(typeof(OutputCacheParameters)); 353method.ReturnType = new CodeTypeReference(typeof(int)); 459method.ImplementationTypes.Add(new CodeTypeReference(typeof(IHttpAsyncHandler))); 463method.ReturnType = new CodeTypeReference(typeof(IAsyncResult)); 517method.ImplementationTypes.Add(new CodeTypeReference(typeof(IHttpAsyncHandler))); 521method.ReturnType = new CodeTypeReference(typeof(IAsyncResult)); 586_sourceDataClass.BaseTypes.Add(new CodeTypeReference(typeof(IHttpHandler)));
Compilation\PageThemeCodeDomTreeGenerator.cs (2)
28private CodeTypeReference _controlSkinDelegateType = new CodeTypeReference(typeof(ControlSkinDelegate)); 29private CodeTypeReference _controlSkinType = new CodeTypeReference(typeof(ControlSkin));
Compilation\ProfileBuildProvider.cs (2)
111type.BaseTypes.Add(new CodeTypeReference(baseType)); 261grpType.BaseTypes.Add(new CodeTypeReference(typeof(ProfileGroupBase)));
Compilation\RouteValueExpressionBuilder.cs (1)
35new CodeTypeOfExpression(new CodeTypeReference(entry.ControlType)),
Compilation\TemplateControlCodeDomTreeGenerator.cs (6)
126prop.Type = new CodeTypeReference(propertyType); 154bindMethod.ReturnType = new CodeTypeReference(typeof(string)); 236prop.Type = new CodeTypeReference(typeof(bool)); 262prop.Type = new CodeTypeReference(appType); 308var customAttrExpr = new CodeAttributeDeclaration(new CodeTypeReference(attr.AttributeType), attrArgs.ToArray()); 312var defaultValAttrExpr = new CodeAttributeDeclaration(new CodeTypeReference(typeof(DefaultParameterValueAttribute)),
Configuration\BrowserCapabilitiesCodeGenerator.cs (7)
735method.ReturnType = new CodeTypeReference(typeof(void)); 897method.ReturnType = new CodeTypeReference(typeof(void)); 899new CodeParameterDeclarationExpression(new CodeTypeReference(typeof(IDictionary)), _dictionaryRefName); 960method.ReturnType = new CodeTypeReference(typeof(void)); 962new CodeParameterDeclarationExpression(new CodeTypeReference(typeof(IDictionary)), _dictionaryRefName); 991cmm.ReturnType = new CodeTypeReference(typeof(bool)); 1102cmm.ReturnType = new CodeTypeReference(typeof(void));
Profile\HttpProfileBase.cs (1)
342prop.PropertyCodeRefType = new CodeTypeReference(t);
System.Web.Services (4)
System\Web\Services\Description\WebCodeGenerator.cs (4)
280callback.Type = new CodeTypeReference(typeof(SendOrPostCallback)); 304create.CreateType = new CodeTypeReference(typeof(AsyncCompletedEventArgs)); 339createDelegate.DelegateType = new CodeTypeReference(typeof(SendOrPostCallback)); 359codeClass.BaseTypes.Add(new CodeTypeReference(typeof(AsyncCompletedEventArgs)));
System.Workflow.Activities (9)
Common\DelegateTypeInfo.cs (2)
108parameters[index] = new CodeParameterDeclarationExpression(new CodeTypeReference(paramType), paramName); 112this.returnType = new CodeTypeReference(method.ReturnType);
Rules\Parser\Parser.cs (3)
1361CodeTypeReference typeRef = new CodeTypeReference(type); 1804CodeTypeReference typeRef = new CodeTypeReference(type); 2216CodeTypeReference typeRef = new CodeTypeReference(type);
WebServiceReceive.cs (4)
789webMethod.ReturnType = new CodeTypeReference(methodInfo.ReturnType); 801paramArrayCreationExpression.CreateType = new CodeTypeReference(typeof(Object)); 813paramDecl.CustomAttributes.Add(new CodeAttributeDeclaration(new CodeTypeReference(typeof(System.Runtime.InteropServices.OutAttribute)))); 842CodeVariableDeclarationStatement resultsDeclaration = new CodeVariableDeclarationStatement(new CodeTypeReference(new CodeTypeReference(typeof(Object)), 1), "results");
System.Workflow.ComponentModel (8)
AuthoringOM\Compiler\TypeSystem\EventInfo.cs (2)
63codeAddMethod.ReturnType = new CodeTypeReference(typeof(void)); 82codeRemoveMethod.ReturnType = new CodeTypeReference(typeof(void));
AuthoringOM\Serializer\CodeTypeReferenceSerializer.cs (1)
93result = new CodeTypeReference(type);
AuthoringOM\Serializer\DependencyObjectCodeDomSerializer.cs (2)
119codeMethodInvokeExpr = new CodeMethodInvokeExpression(objectExpression, "SetBinding", new CodeExpression[] { param1, new CodeCastExpression(new CodeTypeReference(typeof(ActivityBind)), param2) }); 151CodeDelegateCreateExpression listener = new CodeDelegateCreateExpression(new CodeTypeReference(eventDesc.EventType), new CodeThisReferenceExpression(), handler);
AuthoringOM\Serializer\PrimitiveCodeDomSerializer.cs (1)
87return new CodeCastExpression(new CodeTypeReference(value.GetType()), expression);
Shared\DelegateTypeInfo.cs (2)
107parameters[index] = new CodeParameterDeclarationExpression(new CodeTypeReference(paramType), paramName); 111this.returnType = new CodeTypeReference(method.ReturnType);
System.Xml (5)
System\Xml\Serialization\CodeExporter.cs (3)
219codeClass.BaseTypes.Add(new CodeTypeReference(typeof(long))); 338codeClass.BaseTypes.Add(new CodeTypeReference(typeof(System.ComponentModel.INotifyPropertyChanged))); 373propertyChangedEvent.Type = new CodeTypeReference(typeof(PropertyChangedEventHandler));
System\Xml\Serialization\XmlCodeExporter.cs (2)
272initExpression = new CodeObjectCreateExpression(new CodeTypeReference(typeof(DateTime)), new CodeExpression[] {new CodePrimitiveExpression(ticks)}); 278initExpression = new CodeObjectCreateExpression(new CodeTypeReference(typeof(Guid)), new CodeExpression[] {valueExpression});
XamlBuildTask (16)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (15)
94result.Members.Add(new CodeMemberField() { Name = "_contentLoaded", Type = new CodeTypeReference(typeof(bool)) }); 137result.BaseTypes.Add(new CodeTypeReference(typeof(ISupportInitialize))); 271codeExp = new CodeCastExpression { TargetType = new CodeTypeReference(typeof(object)), Expression = new CodePrimitiveExpression(null) }; 391new CodeAttributeDeclaration(new CodeTypeReference(typeof(DebuggerNonUserCodeAttribute))), 701ReturnType = new CodeTypeReference(typeof(string)), 742Type = new CodeTypeReference(typeof(int)), 769Type = new CodeTypeReference(typeof(string)), 820CreateType = new CodeTypeReference(typeof(InvalidOperationException)), 834CodeTypeReference ifaceType = new CodeTypeReference(typeof(ISupportInitialize)); 1094Type = new CodeTypeReference(typeof(IList<Assembly>)), 1102Type = new CodeTypeReference(typeof(IList<Assembly>)), 1144Type = new CodeTypeReference(typeof(WeakReference)), 1152Type = new CodeTypeReference(typeof(XamlSchemaContext)), 1215ReturnType = new CodeTypeReference(typeof(Assembly)) 1294ReturnType = new CodeTypeReference(typeof(IList<Assembly>)),
Microsoft\Build\Tasks\Xaml\CodeDomExtensionMethods.cs (1)
18Type = new CodeTypeReference(type),