Implemented interface member:
property
IsByRef
System.Runtime.InteropServices._Type.IsByRef
134 references to IsByRef
ComSvcConfig (2)
ComplusTypeValidator.cs (2)
135if (typeOfParam.IsByRef) 261if (typeOfParam.IsByRef)
mscorlib (36)
system\defaultbinder.cs (6)
206if (pCls.IsByRef) 903if (c1.IsByRef || c2.IsByRef) 905if (c1.IsByRef && c2.IsByRef) 910else if (c1.IsByRef)
system\oleautbinder.cs (1)
35if (type.IsByRef)
system\reflection\emit\aqnbuilder.cs (1)
140else if (elementType.IsByRef)
system\reflection\emit\dynamicmethod.cs (1)
374if ( (m_returnType == null) || !(m_returnType is RuntimeType) || m_returnType.IsByRef )
system\reflection\emit\modulebuilder.cs (2)
496Contract.Assert(!type.IsByRef, "Must not be ByRef."); 1709if (type.IsByRef)
system\reflection\emit\signaturehelper.cs (1)
435else if (clsArgument.IsByRef)
system\reflection\emit\typebuilder.cs (1)
417if (destType.IsByRef)
system\reflection\methodbase.cs (1)
280if (t.IsByRef && !serialization)
system\reflection\methodinfo.cs (2)
199ReturnType.IsByRef || 698else if (ReturnType.IsByRef)
system\reflection\typedelegator.cs (1)
202return typeImpl.IsByRef;
system\rttype.cs (4)
2202if (type.IsPointer || type.IsByRef || type == typeof(void)) 4403bool isByRef = IsByRef; 4458if (IsByRef) 5632if (aParams[i].ParameterType.IsByRef)
system\Runtime\InteropServices\ComEventsMethod.cs (1)
85if (pi.ParameterType.IsByRef &&
system\runtime\remoting\channelsinkstacks.cs (1)
467if (syncParams[co].IsOut || syncParams[co].ParameterType.IsByRef)
system\runtime\remoting\message.cs (7)
539if (pt.IsByRef) 594if (pt.IsByRef) 651if (pt.IsByRef) 3360if (parameterType.IsByRef) 4280if (pinfos[i].ParameterType.IsByRef) 5397bool bIsByRef = param.ParameterType.IsByRef; // (ref or normal) 5471bool bIsByRef = param.ParameterType.IsByRef; // (ref or normal)
system\runtime\remoting\realproxy.cs (2)
489if (param.IsIn && param.ParameterType.IsByRef) 539if (paramType.IsByRef)
system\runtime\remoting\remotingservices.cs (1)
2069if (param.ParameterType.IsByRef)
system\runtime\remoting\remotingsurrogateselector.cs (2)
320types[i].IsByRef? 395if (sig[sigPosition].IsByRef)
system\unityserializationholder.cs (1)
62else if (type.IsByRef)
System.Activities (4)
System\Activities\DynamicUpdate\ArgumentInfo.cs (1)
210if (type.IsByRef)
System\Activities\Expressions\ExpressionServices.cs (1)
1469isByRef = parameterInfo.ParameterType.IsByRef;
System\Activities\Expressions\MethodCallExpressionHelper.cs (2)
30ParameterExpression variable = Expression.Parameter(parameterType.IsByRef ? parameterType.GetElementType() : parameterType, "arg" + i); 44if (parameterType.IsByRef)
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
1086protected override bool IsByRefImpl() { return _baseReflectionType.IsByRef; }
System.ComponentModel.DataAnnotations (1)
DataAnnotations\CustomValidationAttribute.cs (1)
237if (parameterInfos.Length == 0 || parameterInfos[0].ParameterType.IsByRef) {
System.Core (21)
Microsoft\Scripting\Ast\BinaryExpression.cs (1)
712if (pType.IsByRef)
Microsoft\Scripting\Ast\ElementInit.cs (1)
133if (pi.ParameterType.IsByRef) {
Microsoft\Scripting\Ast\IndexExpression.cs (3)
362if (property.PropertyType.IsByRef) throw Error.PropertyCannotHaveRefType(); 379if (valueType.IsByRef) throw Error.PropertyCannotHaveRefType(); 428if (pType.IsByRef) throw Error.AccessorsCannotHaveByRefArgs();
Microsoft\Scripting\Ast\LambdaExpression.cs (2)
550if (!pType.IsByRef) { 583if (a.IsByRef) {
Microsoft\Scripting\Ast\MethodCallExpression.cs (2)
891if (pType.IsByRef) { 982if (pType.IsByRef) {
Microsoft\Scripting\Ast\NewExpression.cs (1)
256if (pType.IsByRef) {
Microsoft\Scripting\Ast\ParameterExpression.cs (2)
207bool byref = type.IsByRef; 224if (type.IsByRef) throw Error.TypeMustNotBeByRef();
Microsoft\Scripting\Ast\TypeBinaryExpression.cs (2)
198if (type.IsByRef) throw Error.TypeMustNotBeByRef(); 212if (type.IsByRef) throw Error.TypeMustNotBeByRef();
Microsoft\Scripting\Ast\TypeUtils.cs (1)
681return type.IsByRef ? type.GetElementType() : type;
Microsoft\Scripting\Compiler\DelegateHelpers.Generated.cs (1)
213if (types.Length > MaximumArity || types.Any(t => t.IsByRef)) {
Microsoft\Scripting\Compiler\LambdaCompiler.Expressions.cs (1)
442if (type.IsByRef) {
Microsoft\Scripting\Compiler\LambdaCompiler.Unary.cs (1)
305if (paramType.IsByRef) {
Microsoft\Scripting\Compiler\StackSpiller.cs (1)
956if (method != null && method.GetParametersCached().Any(p => p.ParameterType.IsByRef)) {
Microsoft\Scripting\Utils\TypeExtensions.cs (1)
65if (pi.ParameterType.IsByRef) return true;
System\Linq\SequenceQuery.cs (1)
359if (parameterType.IsByRef)
System.Data (1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
1086protected override bool IsByRefImpl() { return _baseReflectionType.IsByRef; }
System.Data.Linq (4)
DataContext.cs (1)
814if (pType.IsByRef) {
SqlClient\Query\SqlFormatter.cs (1)
568if (mp.Parameter.IsOut || mp.Parameter.ParameterType.IsByRef)
SqlClient\Query\SqlParameterizer.cs (1)
248else if (p.Parameter.ParameterType.IsByRef) {
SqlClient\Reader\ObjectReaderCompiler.cs (1)
905if (pType.IsByRef) {
System.Data.SqlXml (1)
System\Xml\Xsl\Runtime\XmlExtensionFunction.cs (1)
296if (clrType.IsByRef)
System.Management (1)
managementnamedvaluecollection.cs (1)
144 if (valueType.IsByRef)
System.Runtime.Remoting (5)
metadata\wsdlparser.cs (2)
4538else if (parameterType.IsByRef) 4605else if (parameterType.IsByRef)
metadata\wsdlwriter.cs (3)
408if (!type.IsArray && !type.IsByRef) 1658bool bIsByRef = param.ParameterType.IsByRef; // (ref or normal) 2299if (type.IsByRef)
System.ServiceModel (5)
System\ServiceModel\Description\ServiceReflector.cs (2)
712if (!parameter.ParameterType.IsByRef) 739return paramInfo.ParameterType.IsByRef;
System\ServiceModel\Description\TypeLoader.cs (1)
1486if (parameterType.IsByRef)
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (1)
954if (member.MemberType.IsByRef)
System\ServiceModel\Dispatcher\InvokerUtil.cs (1)
321if (parameters[i].ParameterType.IsByRef)
System.Web (5)
Compilation\DelayLoadType.cs (1)
161return Type.IsByRef;
UI\WebControls\ModelDataSourceView.cs (2)
1167if (parameterInfo.ParameterType.IsByRef && !parameterInfo.Name.Equals(TotalRowCountParameterName, StringComparison.OrdinalIgnoreCase)) { 1181if (parameter.ParameterType.IsByRef) {
UI\WebControls\ObjectDataSourceView.cs (2)
722if (destinationType.IsByRef) { 1334if (parameter.ParameterType.IsByRef) {
System.Web.Extensions (1)
UI\WebControls\DataSourceHelper.cs (1)
173if (destinationType.IsByRef) {
System.Web.Services (3)
System\Web\Services\Protocols\LogicalMethodInfo.cs (1)
459return paramInfo.IsOut || paramInfo.ParameterType.IsByRef;
System\Web\Services\Protocols\SoapReflector.cs (2)
366if (member.MemberType.IsByRef) 411if (member.MemberType.IsByRef)
System.Workflow.Activities (27)
Common\BasePropertyDescriptor.cs (2)
330if ((paramInfo.ParameterType != null) && (paramInfo.ParameterType.IsByRef || (paramInfo.IsIn && paramInfo.IsOut))) 360if (type.IsByRef)
Common\DelegateTypeInfo.cs (1)
92if (paramType.IsByRef)
CorrelationValidator.cs (2)
912else if (paramInfo.ParameterType.IsByRef) 917new BindValidationContext(paramInfo.ParameterType.IsByRef ? paramInfo.ParameterType.GetElementType() : paramInfo.ParameterType, access));
Executors\InvokeBase.cs (2)
64if (formalParameter.ParameterType.IsByRef) 118if (formalParameter.ParameterType.IsByRef || (formalParameter.IsIn && formalParameter.IsOut))
Executors\WorkflowWebService.cs (1)
53if (parameter.ParameterType.IsByRef || parameter.IsOut)
InvokeWebService.cs (2)
492else if (paramInfo.ParameterType.IsByRef) 496new PropertyValidationContext(invokeWebService.ParameterBindings[paramName], null, paramName), new BindValidationContext(paramInfo.ParameterType.IsByRef ? paramInfo.ParameterType.GetElementType() : paramInfo.ParameterType, access));
Rules\CodeDomDecompiler.cs (1)
198else if (type.IsByRef)
Rules\Design\Dialogs\IntellisenseTextBox.cs (1)
569if (paramType.IsByRef)
Rules\Expressions.cs (1)
1792if (isRef && !parameterType.IsByRef)
Rules\RuleValidation.cs (4)
193if (pi.ParameterType.IsByRef) 2502else if (paramInfo.ParameterType.IsByRef) 2535if (this.type.IsByRef && this.type != argument.type) 3826Debug.Assert(!type.IsPointer && !type.IsByRef,
WebServiceReceive.cs (5)
305if (!(formalParameter.ParameterType.IsByRef || (formalParameter.IsIn && formalParameter.IsOut))) 575Type paramType = paramInfo.ParameterType.IsByRef ? paramInfo.ParameterType.GetElementType() : paramInfo.ParameterType; 600if (paramInfo.ParameterType.IsByRef) 604new PropertyValidationContext(webServiceReceive.ParameterBindings[paramName], null, paramName), new BindValidationContext(paramInfo.ParameterType.IsByRef ? paramInfo.ParameterType.GetElementType() : paramInfo.ParameterType, access)); 807if (paramInfo.IsOut || paramInfo.ParameterType.IsByRef)
WebServiceResponse.cs (5)
166if (formalParameter.ParameterType.IsByRef || (formalParameter.IsIn && formalParameter.IsOut)) 204if (formalParameter.ParameterType.IsByRef || (formalParameter.IsIn && formalParameter.IsOut)) 406Type paramType = paramInfo.ParameterType.IsByRef ? paramInfo.ParameterType.GetElementType() : paramInfo.ParameterType; 439new PropertyValidationContext(webServiceResponse.ParameterBindings[paramName], null, paramName), new BindValidationContext(paramInfo.ParameterType.IsByRef ? paramInfo.ParameterType.GetElementType() : paramInfo.ParameterType, access)); 671if (paramInfo.IsOut || paramInfo.IsRetval || paramInfo.ParameterType.IsByRef)
System.Workflow.ComponentModel (7)
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (2)
209else if ((codeDomTypes[0].IsClass) && (!IsByRef) && (!IsPointer)) 1365if (parameters[i].GetType() != null && parameters[i].GetType().IsByRef)
AuthoringOM\Compiler\TypeSystem\RTTypeWrapper.cs (1)
765return this.runtimeType.IsByRef;
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (1)
1359if ((type.IsByRef) || (!System.Workflow.ComponentModel.Compiler.TypeProvider.IsAssignable(this.parameterType.BaseType, type)))
Shared\BasePropertyDescriptor.cs (2)
329if ((paramInfo.ParameterType != null) && (paramInfo.ParameterType.IsByRef || (paramInfo.IsIn && paramInfo.IsOut))) 359if (type.IsByRef)
Shared\DelegateTypeInfo.cs (1)
91if (paramType.IsByRef)
System.WorkflowServices (9)
System\Workflow\Activities\ContractType.cs (1)
898if (parameters[i].GetType() != null && parameters[i].GetType().IsByRef)
System\Workflow\Activities\Design\ServiceOperationDetailViewControl.cs (1)
514else if (paramType.IsByRef)
System\Workflow\Activities\ReceiveActivity.cs (2)
1404if (parameter.ParameterType.IsByRef || 1409if (parameter.ParameterType.IsByRef &&
System\Workflow\Activities\SendActivity.cs (1)
619if (parameter.ParameterType.IsByRef ||
System\Workflow\Activities\ServiceOperationHelpers.cs (1)
127return (Nullable.GetUnderlyingType(type.IsByRef ? type.GetElementType() : type) != null);
System\Workflow\Activities\ValidationHelper.cs (3)
838if (isOneWay && ((parameter.Attributes & ParameterAttributes.Out) > 0 || parameter.ParameterType.IsByRef)) 921parameter.ParameterType.IsByRef || 932parameter.ParameterType.IsByRef ? parameter.ParameterType.GetElementType() : parameter.ParameterType,