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