Home
last modified time | relevance | path

Searched refs:CodeCastExpression (Results 1 – 25 of 76) sorted by relevance

1234

/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Test/System.CodeDom/
H A DCodeCastExpressionTest.cs43 CodeCastExpression cce = new CodeCastExpression (); in Constructor0()
72 CodeCastExpression cce = new CodeCastExpression (type1, expression1); in Constructor1()
95 cce = new CodeCastExpression ((CodeTypeReference) null, (CodeExpression) null); in Constructor1()
107 CodeCastExpression cce = new CodeCastExpression (baseType, expression); in Constructor2()
113 cce = new CodeCastExpression ((string) null, expression); in Constructor2()
126 CodeCastExpression cce = new CodeCastExpression (type, expression); in Constructor3()
132 cce = new CodeCastExpression (type, (CodeExpression) null); in Constructor3()
142 CodeCastExpression cce = new CodeCastExpression ((Type) null, in Constructor3_NullType()
H A DCodeCastExpressionCas.cs55 CodeCastExpression cce = new CodeCastExpression (); in Constructor0_Deny_Unrestricted()
68 CodeCastExpression cce = new CodeCastExpression (target, expression); in Constructor1_Deny_Unrestricted()
79 ConstructorInfo ci = typeof (CodeCastExpression).GetConstructor (new Type[0]); in LinkDemand_Deny_Unrestricted()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.CodeDom/tests/CodeExpressions/
H A DCodeCastExpressionTests.cs10 public class CodeCastExpressionTests : CodeObjectTestBase<CodeCastExpression>
15 var cast = new CodeCastExpression(); in Ctor_Default()
32 var cast = new CodeCastExpression(type, expression); in Ctor_CodeTypeReference_CodeExpression()
48 var cast = new CodeCastExpression(type, expression); in Ctor_String_CodeExpression()
64 var cast = new CodeCastExpression(type, expression); in Ctor_Type_CodeExpression()
73 var cast = new CodeCastExpression(); in TargetType_Set_Get_ReturnsExpected()
82 var cast = new CodeCastExpression(); in Expression_Set_Get_ReturnsExpected()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.CodeDom/src/System/CodeDom/
H A DCodeCastExpression.cs8 public class CodeCastExpression : CodeExpression class
12 public CodeCastExpression() { } in CodeCastExpression() method in System.CodeDom.CodeCastExpression
14 public CodeCastExpression(CodeTypeReference targetType, CodeExpression expression) in CodeCastExpression() method in System.CodeDom.CodeCastExpression
20 public CodeCastExpression(string targetType, CodeExpression expression) in CodeCastExpression() method in System.CodeDom.CodeCastExpression
26 public CodeCastExpression(Type targetType, CodeExpression expression) in CodeCastExpression() method in System.CodeDom.CodeCastExpression
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/compmod/system/codedom/
H A DCodeCastExpression.cs28 public class CodeCastExpression : CodeExpression { class
37 public CodeCastExpression() { in CodeCastExpression() method in System.CodeDom.CodeCastExpression
46 public CodeCastExpression(CodeTypeReference targetType, CodeExpression expression) { in CodeCastExpression() method in System.CodeDom.CodeCastExpression
54 public CodeCastExpression(string targetType, CodeExpression expression) { in CodeCastExpression() method in System.CodeDom.CodeCastExpression
62 public CodeCastExpression(Type targetType, CodeExpression expression) { in CodeCastExpression() method in System.CodeDom.CodeCastExpression
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Web/Compilation/
H A DCodeDOMUtility.cs137 rightExpr = new CodeCastExpression(valueType, methCall); in GenerateExpressionForValue()
259 … methodInvoke.Method.TargetObject = new CodeCastExpression(typeof(IAttributeAccessor), target); in CreatePropertySetStatements()
276 new CodeCastExpression(destinationType, value)); in CreatePropertySetStatements()
289 rightSide = new CodeCastExpression(destinationType, value); in CreatePropertySetStatements()
347 …internal static CodeCastExpression BuildJSharpCastExpression(Type castType, CodeExpression express… in BuildJSharpCastExpression()
353 CodeCastExpression castedExpression = new CodeCastExpression(castType, expression); in BuildJSharpCastExpression()
H A DDataBindingExpressionBuilder.cs90 … new CodeCastExpression(controlBuilder.ControlType, in BuildExpressionSetup()
101 … new CodeCastExpression(bindingContainerType, in BuildExpressionSetup()
125 … new CodeCastExpression(itemType, in GenerateItemTypeExpressions()
H A DTemplateControlCodeDomTreeGenerator.cs72 …new CodePropertyReferenceExpression(new CodeCastExpression(classTypeRef, new CodeThisReferenceExpr… in BuildInitStatements()
129 …prop.GetStatements.Add(new CodeMethodReturnStatement(new CodeCastExpression(propertyType, propRef)… in BuildStronglyTypedProperty()
266 prop.GetStatements.Add(new CodeMethodReturnStatement(new CodeCastExpression( in BuildApplicationInstanceProperty()
H A DProfileBuildProvider.cs203 getLine = new CodeMethodReturnStatement(new CodeCastExpression(prop.Type, cmie)); in CreateCodeForProperty()
253 getLine = new CodeMethodReturnStatement(new CodeCastExpression(prop.Type, cmie)); in AddPropertyGroup()
286 …ReturnStatement returnSatement = new CodeMethodReturnStatement(new CodeCastExpression(method.Retur… in AddCodeForGetProfileForUser()
H A DBaseTemplateCodeDomTreeGenerator.cs130 parserDeclaration.InitExpression = new CodeCastExpression( in BuildAddParsedSubObjectStatement()
255 CodeCastExpression cast = new CodeCastExpression(builder.ControlType.FullName, in BuildBuildMethodInternal()
493 …setStatement.Right = new CodeCastExpression(typeof(ITemplate), new CodeIndexerExpression(contentTe… in BuildBuildMethodInternal()
1066CodeCastExpression castExpression = new CodeCastExpression(entry.ControlType, findControlCallExpre… in BuildExtractStatementsRecursive()
1255 … new CodeCastExpression(builder.ControlType, in BuildPropertyBindingMethod()
1262 … new CodeCastExpression(bindingContainerType, in BuildPropertyBindingMethod()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Workflow.ComponentModel/AuthoringOM/Serializer/
H A DPrimitiveCodeDomSerializer.cs64 expression = new CodeCastExpression(value.GetType(), expression); in Serialize()
87 return new CodeCastExpression(new CodeTypeReference(value.GetType()), expression); in Serialize()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Data.Entity.Design/System/Data/EntityModel/Emitters/
H A DNavigationPropertyEmitter.cs168 valueRef = new CodeCastExpression(typeRef, valueRef); in EmitNavigationProperty()
188 … new CodeCastExpression(TypeReference.IEntityWithRelationshipsTypeBaseClass, ThisRef), in EmitNavigationProperty()
235 … new CodeCastExpression(TypeReference.IEntityWithRelationshipsTypeBaseClass, ThisRef), in EmitNavigationProperty()
354 … new CodeCastExpression(TypeReference.IEntityWithRelationshipsTypeBaseClass, ThisRef), in EmitGetMethod()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Web/System.Web.Compilation/
H A DAppCodeCompiler.cs449 CodeCastExpression cast = new CodeCastExpression (); in AddProfileClassGetProfileMethod()
485 CodeCastExpression cast = new CodeCastExpression (); in AddProfileClassProperty()
522 CodeCastExpression cast = new CodeCastExpression (); in AddProfileClassGroupProperty()
H A DResourceExpressionBuilder.cs73 return new CodeCastExpression (entry.PropertyInfo.PropertyType, getgro); in GetCodeExpression()
153 return new CodeCastExpression (member_type, getlro); in CreateGetLocalResourceObject()
H A DTemplateControlCompiler.cs569 expr = new CodeCastExpression (type, valueExpression); in DataBoundProperty()
805 assign.Right = new CodeCastExpression (type, expr); in AddExpressionAssign()
1088 CodeCastExpression cast; in CreateAssignStatementFromAttribute()
1092 cast = new CodeCastExpression (typeof (IAttributeAccessor), ctrlVar); in CreateAssignStatementFromAttribute()
1146 CodeCastExpression cast; in CreateDBAttributeMethod()
1151 cast = new CodeCastExpression (typeof (IAttributeAccessor), targetExpr); in CreateDBAttributeMethod()
1331 assign.Right = new CodeCastExpression (binding.ControlType, invoke); in CreateExtractValuesMethod()
1434 assign.Right = new CodeCastExpression (containerRef, in CreateDBMethod()
1759 CodeCastExpression cast = new CodeCastExpression (appType.FullName, propRef); in CreateApplicationInstance()
2067 return new CodeCastExpression (type, instance); in GetExpressionFromString()
[all …]
H A DMasterPageCompiler.cs57 prop = new CodeCastExpression (parser.MasterType, prop); in CreateMethods()
H A DBaseCompiler.cs321 CodeExpression cast = new CodeCastExpression (baseTypeRef, new CodeThisReferenceExpression ()); in AssignAppRelativeVirtualPath()
394 CodeCastExpression cast = new CodeCastExpression (); in InternalCreatePageProperty()
492 CodeCastExpression cast = new CodeCastExpression (prop.Type, invoker); in CreateApplicationOrSessionPropertyForObject()
H A DPageThemeCompiler.cs157CodeCastExpression castExpr = new CodeCastExpression (builder.ControlType, new CodeVariableReferen… in CreateControlSkinMethod()
H A DAppSettingsExpressionBuilder.cs90 return new CodeCastExpression(descriptor.PropertyType, new CodeMethodInvokeExpression(new in GetCodeExpression()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/XamlBuildTask/Microsoft/Build/Tasks/Xaml/
H A DClassGenerator.cs271 …codeExp = new CodeCastExpression { TargetType = new CodeTypeReference(typeof(object)), Expression … in GetCodeExpressionForAttributeArgument()
619 new CodeCastExpression( in GetInitializeMethodTryStatements()
639CodeCastExpression iDisposibleCastXmlReader = new CodeCastExpression(typeof(IDisposable), xmlReade… in GetInitializeMethodFinallyStatements()
646CodeCastExpression iDisposibleCastXamlReader = new CodeCastExpression(typeof(IDisposable), xamlRea… in GetInitializeMethodFinallyStatements()
653CodeCastExpression iDisposibleCastObjWriter = new CodeCastExpression(typeof(IDisposable), objWrite… in GetInitializeMethodFinallyStatements()
1164 …new CodeCastExpression(typeof(XamlSchemaContext), new CodePropertyReferenceExpression(schemaContex… in GenerateSchemaContext()
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/test/System.Web.WebPages.Test/WebPage/
H A DWebPageSurrogateControlBuilderTest.cs398 …var returnStatement = new CodeMethodReturnStatement(new CodeCastExpression(typeof(HttpApplication)… in FixUpClassTest()
485 CodeCastExpression cast; in FixUpAspxClassUserControlTest()
494 CodeCastExpression cast; in FixUpClassUserControlTest()
500 …private static void GetAspxClass(out CodeTypeDeclaration type, out CodeCastExpression cast, Type s… in GetAspxClass()
504 cast = new CodeCastExpression(); in GetAspxClass()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Management/src/System/Management/
H A DWMIGenerator.cs2255 cmieInit.Parameters.Add(new CodeCastExpression( in GenerateConstructorWithScopeKeys()
5679 new CodeCastExpression( in GenerateCodeForRefAndDateTimeTypes()
5689 new CodeCastExpression( in GenerateCodeForRefAndDateTimeTypes()
5811 new CodeCastExpression( in AddPropertySet()
6334 CodeCastExpression cast = null; in AddToDateTimeFunction()
6469 cast = new CodeCastExpression("System.Int64", cboe); in AddToDateTimeFunction()
6649 cast = new CodeCastExpression("System.Int64", cboe); in AddToDateTimeFunction()
6798 new CodeCastExpression( in AddToDMTFTimeIntervalFunction()
6977 new CodeCastExpression("System.Int64", cboe2) in AddToDMTFTimeIntervalFunction()
7040 CodeCastExpression cast = null; in AddToDMTFDateTimeFunction()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/tools/svcutil/
H A DMoonlightChannelBaseExtension.cs172 new CodeCastExpression ( in Fixup()
371 …cm.Statements.Add (new CodeMethodReturnStatement (new CodeCastExpression (context.SyncMethod.Retur… in FixupSync()
435 …cm.Statements.Add (new CodeMethodReturnStatement (new CodeCastExpression (context.EndMethod.Return… in FixupAsync()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Web/UI/
H A DSimplePropertyEntry.cs69 new CodeCastExpression(typeof(IAttributeAccessor), ctrlRefExpr), in GetCodeStatement()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Workflow.Activities/Rules/
H A DExpressions.cs786 … RuleExpressionWalker.Decompile(stringBuilder, leftExpr, new CodeCastExpression()); in Decompile()
845 … RuleExpressionWalker.Decompile(stringBuilder, rightExpr, new CodeCastExpression()); in Decompile()
1991 CodeCastExpression castExpr = (CodeCastExpression)expression; in Validate()
1995 …ltureInfo.CurrentCulture, Messages.CannotWriteToExpression, typeof(CodeCastExpression).ToString()); in Validate()
2150 CodeCastExpression castExpr = (CodeCastExpression)expression; in AnalyzeUsage()
2158 CodeCastExpression castExpr = (CodeCastExpression)expression; in Evaluate()
2198 CodeCastExpression castExpr = (CodeCastExpression)expression; in Decompile()
2230 CodeCastExpression castExpr = (CodeCastExpression)expression; in Clone()
2231 CodeCastExpression newCast = new CodeCastExpression(); in Clone()
2239 CodeCastExpression castExpr = (CodeCastExpression)expression; in Match()
[all …]

1234