32 references to FieldDirection
dotnet-svcutil-lib (32)
FrameworkFork\Microsoft.CodeDom\Compiler\CodeGenerator.cs (4)
1237
protected virtual void OutputDirection(
FieldDirection
dir)
1241
case
FieldDirection
.In:
1243
case
FieldDirection
.Out:
1246
case
FieldDirection
.Ref:
FrameworkFork\Microsoft.CodeDom\Microsoft\CSharpCodeProvider.cs (4)
2983
private void OutputDirection(
FieldDirection
dir)
2987
case
FieldDirection
.In:
2989
case
FieldDirection
.Out:
2992
case
FieldDirection
.Ref:
FrameworkFork\Microsoft.CodeDom\System\CodeDirectionExpression.cs (4)
24
private
FieldDirection
_direction =
FieldDirection
.In;
37
public CodeDirectionExpression(
FieldDirection
direction, CodeExpression expression)
61
public
FieldDirection
Direction
FrameworkFork\Microsoft.CodeDom\System\CodeParameterDeclarationExpression.cs (3)
28
private
FieldDirection
_dir =
FieldDirection
.In;
96
public
FieldDirection
Direction
FrameworkFork\System.ServiceModel\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 == s_voidTypeRef.BaseType)
343
if (dir ==
FieldDirection
.Out)
352
private static CodeParameterDeclarationExpression GetRefParameter(CodeParameterDeclarationExpressionCollection parameters,
FieldDirection
dir, CodeMemberField field)
360
p.Direction =
FieldDirection
.Ref;
856
eventAsyncMethodParameter.Direction =
FieldDirection
.In;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (8)
414
_ins = new ParametersPartCodeGenerator(this, beginMethod.Name, beginMethod.Parameters, beginMethod.CustomAttributes,
FieldDirection
.In);
415
_outs = new ParametersPartCodeGenerator(this, beginMethod.Name, endMethod.Parameters, beginMethod.CustomAttributes,
FieldDirection
.Out);
419
internal CodeParameterDeclarationExpression GetOrCreateParameter(CodeTypeReference type, string name,
FieldDirection
direction, ref int index, out bool createdNew)
422
ParametersPartCodeGenerator existingParams = direction !=
FieldDirection
.In ? _ins : _outs;
428
existing.Direction =
FieldDirection
.Ref;
442
paramDecl.Direction =
FieldDirection
.Ref;
468
private
FieldDirection
_direction;
474
internal ParametersPartCodeGenerator(ParameterizedMethodGenerator parent, string methodName, CodeParameterDeclarationExpressionCollection parameters, CodeAttributeDeclarationCollection messageAttrs,
FieldDirection
direction)