95 references to FieldDirection
System (19)
compmod\microsoft\csharp\csharpcodeprovider.cs (4)
2620private void OutputDirection(FieldDirection dir) { 2622case FieldDirection.In: 2624case FieldDirection.Out: 2627case FieldDirection.Ref:
compmod\microsoft\visualbasic\VBCodeProvider.cs (4)
714protected override void OutputDirection(FieldDirection dir) { 716case FieldDirection.In: 719case FieldDirection.Out: 720case FieldDirection.Ref:
compmod\system\codedom\CodeDirectionExpression.cs (4)
27private FieldDirection direction = FieldDirection.In; 39public CodeDirectionExpression(FieldDirection direction, CodeExpression expression) { 59public FieldDirection Direction {
compmod\system\codedom\CodeParameterDeclarationExpression.cs (3)
31private FieldDirection dir = FieldDirection.In; 91public FieldDirection Direction {
compmod\system\codedom\compiler\CodeGenerator.cs (4)
1030protected virtual void OutputDirection(FieldDirection dir) { 1032case FieldDirection.In: 1034case FieldDirection.Out: 1037case FieldDirection.Ref:
System.Activities (1)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (1)
1281expressionIdParam.Direction = FieldDirection.Out;
System.Data.Entity.Design (1)
System\Data\EntityModel\Emitters\PropertyEmitter.cs (1)
245new CodeDirectionExpression(FieldDirection.In, FieldRef),
System.Management (3)
WmiGenerator.cs (3)
2972cpde.Direction = FieldDirection.In; 2989cpde.Direction = FieldDirection.Ref; 3104cpde.Direction = FieldDirection.Out;
System.ServiceModel (17)
System\ServiceModel\Description\ClientClassGenerator.cs (9)
278GenerateParameters(helperMethod, paramTypeDecl, inValue, FieldDirection.In); 297CodeMethodReturnStatement returnStatement = GenerateParameters(helperMethod, returnTypeDecl, outVar, FieldDirection.Out); 312private static CodeMethodReturnStatement GenerateParameters(CodeMemberMethod helperMethod, CodeTypeDeclaration codeTypeDeclaration, CodeExpression target, FieldDirection dir) 324if (dir == FieldDirection.In) 330if (param == null && dir == FieldDirection.Out && helperMethod.ReturnType.BaseType == voidTypeRef.BaseType) 343if (dir == FieldDirection.Out) 352private static CodeParameterDeclarationExpression GetRefParameter(CodeParameterDeclarationExpressionCollection parameters, FieldDirection dir, CodeMemberField field) 360p.Direction = FieldDirection.Ref; 857eventAsyncMethodParameter.Direction = FieldDirection.In;
System\ServiceModel\Description\OperationGenerator.cs (8)
416this.ins = new ParametersPartCodeGenerator(this, beginMethod.Name, beginMethod.Parameters, beginMethod.CustomAttributes, FieldDirection.In); 417this.outs = new ParametersPartCodeGenerator(this, beginMethod.Name, endMethod.Parameters, beginMethod.CustomAttributes, FieldDirection.Out); 421internal CodeParameterDeclarationExpression GetOrCreateParameter(CodeTypeReference type, string name, FieldDirection direction, ref int index, out bool createdNew) 424ParametersPartCodeGenerator existingParams = direction != FieldDirection.In ? ins : outs; 430existing.Direction = FieldDirection.Ref; 444paramDecl.Direction = FieldDirection.Ref; 470FieldDirection direction; 476internal ParametersPartCodeGenerator(ParameterizedMethodGenerator parent, string methodName, CodeParameterDeclarationExpressionCollection parameters, CodeAttributeDeclarationCollection messageAttrs, FieldDirection direction)
System.Web.Extensions (1)
Compilation\WCFModel\VSWCFServiceContractGenerator.cs (1)
1750if (parameter.Direction == FieldDirection.Out)
System.Web.Services (2)
System\Web\Services\Description\WebCodeGenerator.cs (2)
186param.Direction = FieldDirection.Ref; 188param.Direction = FieldDirection.Out;
System.Workflow.Activities (36)
Common\DelegateTypeInfo.cs (5)
88FieldDirection fieldDir = FieldDirection.In; 99fieldDir = FieldDirection.Ref; 104fieldDir = FieldDirection.Ref; 106fieldDir = FieldDirection.Out;
Rules\Expressions.cs (13)
1557if (direction != null && (direction.Direction == FieldDirection.Ref || direction.Direction == FieldDirection.Out)) 1566if (direction.Direction != FieldDirection.Out) 1760if (directionExpr.Direction == FieldDirection.Ref) 1769else if (directionExpr.Direction == FieldDirection.Out) 1808case FieldDirection.In: 1815case FieldDirection.Ref: 1825case FieldDirection.Out: 1849if (directionExpr.Direction == FieldDirection.Out) 1851else if (directionExpr.Direction == FieldDirection.Ref) 2330if (argDirection != null && argDirection.Direction != FieldDirection.In) 3070if (direction != null && (direction.Direction == FieldDirection.Ref || direction.Direction == FieldDirection.Out))
Rules\Parser\Parser.cs (4)
1719FieldDirection? direction = null; 1724direction = FieldDirection.In; 1728direction = FieldDirection.Out; 1733direction = FieldDirection.Ref;
Rules\RuleValidation.cs (11)
2464internal FieldDirection direction; 2471this.direction = FieldDirection.In; 2481this.direction = FieldDirection.In; 2489private FieldDirection direction; 2494this.direction = FieldDirection.In; 2499this.direction = FieldDirection.In; 2501this.direction = FieldDirection.Out; 2503this.direction = FieldDirection.Ref; 2518case FieldDirection.In: 2521case FieldDirection.Out: 2524case FieldDirection.Ref:
WebServiceReceive.cs (3)
810paramDecl.Direction = paramInfo.IsOut ? FieldDirection.Out : FieldDirection.Ref; 812if (paramDecl.Direction == FieldDirection.Out && language == SupportedLanguages.VB)
System.Workflow.ComponentModel (14)
AuthoringOM\Compiler\TypeSystem\Helper.cs (3)
14internal static ParameterAttributes ConvertToParameterAttributes(FieldDirection direction) 20case FieldDirection.In: 23case FieldDirection.Out:
AuthoringOM\Compiler\TypeSystem\ParameterInfo.cs (1)
25this.isRef = (codeParameter.Direction == FieldDirection.Ref);
AuthoringOM\Compiler\TypeSystem\PropertyInfo.cs (1)
325valueParameter.Direction = FieldDirection.In;
AuthoringOM\Design\DesignerHelpers.cs (4)
1636FieldDirection direction = left.Direction; 1637if ((direction == FieldDirection.In && !right.IsIn) || 1638(direction == FieldDirection.Out && !right.IsOut) || 1639(direction == FieldDirection.Ref && !(right.IsIn && right.IsOut)) ||
Shared\DelegateTypeInfo.cs (5)
87FieldDirection fieldDir = FieldDirection.In; 98fieldDir = FieldDirection.Ref; 103fieldDir = FieldDirection.Ref; 105fieldDir = FieldDirection.Out;
XamlBuildTask (1)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (1)
435new CodeDirectionExpression(FieldDirection.Ref, new CodeVariableReferenceExpression("isInitialized"))