Home
last modified time | relevance | path

Searched refs:FieldDirection (Results 1 – 25 of 70) sorted by relevance

123

/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.CodeDom/tests/CodeExpressions/
H A DCodeDirectionExpressionTests.cs17 Assert.Equal(FieldDirection.In, direction.Direction); in Ctor_Default()
22 yield return new object[] { FieldDirection.In, null }; in Ctor_TestData()
23 yield return new object[] { FieldDirection.In - 1, new CodePrimitiveExpression() }; in Ctor_TestData()
24 yield return new object[] { FieldDirection.Ref + 1, new CodePrimitiveExpression("Value") }; in Ctor_TestData()
29 public void Ctor(FieldDirection direction, CodeExpression expression) in Ctor()
46 [InlineData(FieldDirection.In - 1)]
47 [InlineData(FieldDirection.In)]
48 [InlineData(FieldDirection.In | FieldDirection.Out)]
49 [InlineData(FieldDirection.Ref + 1)]
50 public void Direction_Set_Get_ReturnsExpected(FieldDirection value) in Direction_Set_Get_ReturnsExpected()
H A DCodeParameterDeclarationExpressionTests.cs18 Assert.Equal(FieldDirection.In, parameter.Direction); in Ctor_Default()
36 Assert.Equal(FieldDirection.In, parameter.Direction); in Ctor_CodeTypeReference_String()
54 Assert.Equal(FieldDirection.In, parameter.Direction); in Ctor_String_String()
72 Assert.Equal(FieldDirection.In, parameter.Direction); in Ctor_Type_String()
111 [InlineData(FieldDirection.In - 1)]
112 [InlineData(FieldDirection.In)]
113 [InlineData(FieldDirection.In | FieldDirection.Out)]
114 [InlineData(FieldDirection.Ref + 1)]
115 public void Direction_Set_Get_ReturnsExpected(FieldDirection value) in Direction_Set_Get_ReturnsExpected()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Test/System.CodeDom/
H A DCodeParameterDeclarationExpressionCas.cs58 Assert.AreEqual (FieldDirection.In, cpde.Direction, "Direction"); in Constructor0_Deny_Unrestricted()
59 cpde.Direction = FieldDirection.Out; in Constructor0_Deny_Unrestricted()
74 Assert.AreEqual (FieldDirection.In, cpde.Direction, "Direction"); in Constructor1_Deny_Unrestricted()
75 cpde.Direction = FieldDirection.Out; in Constructor1_Deny_Unrestricted()
89 Assert.AreEqual (FieldDirection.In, cpde.Direction, "Direction"); in Constructor2_Deny_Unrestricted()
90 cpde.Direction = FieldDirection.Out; in Constructor2_Deny_Unrestricted()
104 Assert.AreEqual (FieldDirection.In, cpde.Direction, "Direction"); in Constructor3_Deny_Unrestricted()
105 cpde.Direction = FieldDirection.Out; in Constructor3_Deny_Unrestricted()
H A DCodeDirectionExpressionCas.cs56 Assert.AreEqual (FieldDirection.In, cde.Direction, "Direction"); in Constructor0_Deny_Unrestricted()
57 cde.Direction = FieldDirection.Out; in Constructor0_Deny_Unrestricted()
67 CodeDirectionExpression cde = new CodeDirectionExpression (FieldDirection.Out, expression); in Constructor1_Deny_Unrestricted()
68 Assert.AreEqual (FieldDirection.Out, cde.Direction, "Direction"); in Constructor1_Deny_Unrestricted()
69 cde.Direction = FieldDirection.Ref; in Constructor1_Deny_Unrestricted()
H A DCodeParameterDeclarationExpressionTest.cs46 Assert.AreEqual (FieldDirection.In, cpde.Direction, "#3"); in Constructor0()
52 cpde.Direction = FieldDirection.Out; in Constructor0()
53 Assert.AreEqual (FieldDirection.Out, cpde.Direction, "#8"); in Constructor0()
82 Assert.AreEqual (FieldDirection.In, cpde.Direction, "#3"); in Constructor1()
106 Assert.AreEqual (FieldDirection.In, cpde.Direction, "#3"); in Constructor2()
130 Assert.AreEqual (FieldDirection.In, cpde.Direction, "#3"); in Constructor3()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/compmod/system/codedom/
H A DCodeDirectionExpression.cs27 private FieldDirection direction = FieldDirection.In;
39 public CodeDirectionExpression(FieldDirection direction, CodeExpression expression) { in CodeDirectionExpression()
59 public FieldDirection Direction {
H A DCodeParameterDeclarationExpression.cs31 private FieldDirection dir = FieldDirection.In;
91 public FieldDirection Direction {
H A DFieldDirection.cs23 public enum FieldDirection { enum
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Design/System.Windows.Forms.Design/
H A DAxParameterData.cs73 public FieldDirection Direction {
76 return FieldDirection.Out;
79 return FieldDirection.Ref;
81 return FieldDirection.In;
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Workflow.Activities/Common/
H A DDelegateTypeInfo.cs88 FieldDirection fieldDir = FieldDirection.In; in Resolve()
99 fieldDir = FieldDirection.Ref; in Resolve()
104 fieldDir = FieldDirection.Ref; in Resolve()
106 fieldDir = FieldDirection.Out; in Resolve()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Workflow.ComponentModel/Shared/
H A DDelegateTypeInfo.cs87 FieldDirection fieldDir = FieldDirection.In; in Resolve()
98 fieldDir = FieldDirection.Ref; in Resolve()
103 fieldDir = FieldDirection.Ref; in Resolve()
105 fieldDir = FieldDirection.Out; in Resolve()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.CodeDom/src/System/CodeDom/
H A DCodeDirectionExpression.cs12 public CodeDirectionExpression(FieldDirection direction, CodeExpression expression) in CodeDirectionExpression()
20 public FieldDirection Direction { get; set; }
H A DCodeParameterDeclarationExpression.cs40 public FieldDirection Direction { get; set; } = FieldDirection.In;
H A DFieldDirection.cs7 public enum FieldDirection enum
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Test/System.CodeDom.Compiler/
H A DCodeGeneratorFromTypeTestBase.cs425 param.Direction = FieldDirection.Ref; in GeneratePropertyParameters()
453 param.Direction = FieldDirection.Ref; in GeneratePropertyIndexer()
602 param.Direction = FieldDirection.In; in GenerateMethodMembersType2()
606 param.Direction = FieldDirection.Out; in GenerateMethodMembersType2()
610 param.Direction = FieldDirection.Ref; in GenerateMethodMembersType2()
643 param.Direction = FieldDirection.Out; in GenerateMethodMembersType3()
781 param.Direction = FieldDirection.Out; in GenerateMethodParamArrayAttribute()
798 param.Direction = FieldDirection.Ref; in GenerateMethodParamArrayAttribute()
905 param.Direction = FieldDirection.In; in GenerateConstructorParameters()
909 param.Direction = FieldDirection.Out; in GenerateConstructorParameters()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.ServiceModel/System/ServiceModel/Description/
H A DClientClassGenerator.cs278 GenerateParameters(helperMethod, paramTypeDecl, inValue, FieldDirection.In); in GenerateHelperMethod()
297 …ent returnStatement = GenerateParameters(helperMethod, returnTypeDecl, outVar, FieldDirection.Out); in GenerateHelperMethod()
312 …d helperMethod, CodeTypeDeclaration codeTypeDeclaration, CodeExpression target, FieldDirection dir) in GenerateParameters()
324 if (dir == FieldDirection.In) in GenerateParameters()
330 …if (param == null && dir == FieldDirection.Out && helperMethod.ReturnType.BaseType == voidTypeRef.… in GenerateParameters()
343 if (dir == FieldDirection.Out) in GenerateParameters()
352 …efParameter(CodeParameterDeclarationExpressionCollection parameters, FieldDirection dir, CodeMembe… in GetRefParameter()
360 p.Direction = FieldDirection.Ref; in GetRefParameter()
857 eventAsyncMethodParameter.Direction = FieldDirection.In; in CreateEventAsyncMethod()
H A DOperationGenerator.cs416 …r(this, beginMethod.Name, beginMethod.Parameters, beginMethod.CustomAttributes, FieldDirection.In); in ParameterizedMethodGenerator()
417 …or(this, beginMethod.Name, endMethod.Parameters, beginMethod.CustomAttributes, FieldDirection.Out); in ParameterizedMethodGenerator()
421 …Expression GetOrCreateParameter(CodeTypeReference type, string name, FieldDirection direction, ref… in GetOrCreateParameter()
424 … ParametersPartCodeGenerator existingParams = direction != FieldDirection.In ? ins : outs; in GetOrCreateParameter()
430 existing.Direction = FieldDirection.Ref; in GetOrCreateParameter()
444 paramDecl.Direction = FieldDirection.Ref; in GetOrCreateParameter()
470 FieldDirection direction;
476 …onCollection parameters, CodeAttributeDeclarationCollection messageAttrs, FieldDirection direction) in ParametersPartCodeGenerator()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Workflow.ComponentModel/AuthoringOM/Compiler/TypeSystem/
H A DHelper.cs14 internal static ParameterAttributes ConvertToParameterAttributes(FieldDirection direction) in ConvertToParameterAttributes()
20 case FieldDirection.In: in ConvertToParameterAttributes()
23 case FieldDirection.Out: in ConvertToParameterAttributes()
H A DParameterInfo.cs25 this.isRef = (codeParameter.Direction == FieldDirection.Ref); in DesignTimeParameterInfo()
/dports/lang/mono/mono-5.10.1.57/mcs/tools/culevel/
H A DCompileUplevel.cs404 hasJavaScript.Direction = FieldDirection.Out; in GetGroupMethod()
465 …CodeDirectionExpression hasJavaScript = new CodeDirectionExpression (FieldDirection.Out, hasJSRef); in GenerateMethod()
598 hasJavaScript.Direction = FieldDirection.Out; in GenerateScanMethod()
796 FieldDirection.Out, in GenerateScanfromExpression()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Workflow.Activities/Rules/
H A DRuleValidation.cs2464 internal FieldDirection direction;
2471 this.direction = FieldDirection.In; in Argument()
2481 this.direction = FieldDirection.In; in Argument()
2489 private FieldDirection direction;
2494 this.direction = FieldDirection.In; in CandidateParameter()
2499 this.direction = FieldDirection.In; in CandidateParameter()
2501 this.direction = FieldDirection.Out; in CandidateParameter()
2503 this.direction = FieldDirection.Ref; in CandidateParameter()
2518 case FieldDirection.In: in Match()
2521 case FieldDirection.Out: in Match()
[all …]
H A DExpressions.cs1557 … (direction != null && (direction.Direction == FieldDirection.Ref || direction.Direction == FieldD… in Evaluate()
1566 if (direction.Direction != FieldDirection.Out) in Evaluate()
1760 if (directionExpr.Direction == FieldDirection.Ref) in Validate()
1769 else if (directionExpr.Direction == FieldDirection.Out) in Validate()
1808 case FieldDirection.In: in AnalyzeUsage()
1815 case FieldDirection.Ref: in AnalyzeUsage()
1825 case FieldDirection.Out: in AnalyzeUsage()
1849 if (directionExpr.Direction == FieldDirection.Out) in Decompile()
1851 else if (directionExpr.Direction == FieldDirection.Ref) in Decompile()
2330 if (argDirection != null && argDirection.Direction != FieldDirection.In) in Validate()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.CodeDom/src/System/CodeDom/Compiler/
H A DCodeGenerator.cs996 protected virtual void OutputDirection(FieldDirection dir) in OutputDirection()
1000 case FieldDirection.In: in OutputDirection()
1002 case FieldDirection.Out: in OutputDirection()
1005 case FieldDirection.Ref: in OutputDirection()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/compmod/system/codedom/compiler/
H A DCodeGenerator.cs1030 protected virtual void OutputDirection(FieldDirection dir) { in OutputDirection()
1032 case FieldDirection.In: in OutputDirection()
1034 case FieldDirection.Out: in OutputDirection()
1037 case FieldDirection.Ref: in OutputDirection()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Workflow.Activities/
H A DWebServiceReceive.cs810 paramDecl.Direction = paramInfo.IsOut ? FieldDirection.Out : FieldDirection.Ref; in GetWebServiceMethodDeclaraion()
812 … if (paramDecl.Direction == FieldDirection.Out && language == SupportedLanguages.VB) in GetWebServiceMethodDeclaraion()

123