5 instantiations of BitVector
Microsoft.CodeAnalysis (5)
Collections\BitVector.cs (5)
25private static readonly BitVector s_emptyValue = new(0, s_emptyArray, 0); 156return new BitVector(bits0, bits, capacity); 166return new BitVector(0, bits, capacity); 206return new BitVector(bits0, bits, capacity); 225return new BitVector(_bits0, newBits, _capacity);
296 references to BitVector
Microsoft.CodeAnalysis (32)
Collections\BitVector.cs (17)
14internal struct BitVector : IEquatable<BitVector> 24private static readonly BitVector s_nullValue = default; 25private static readonly BitVector s_emptyValue = new(0, s_emptyArray, 0); 41public bool Equals(BitVector other) 52return obj is BitVector other && Equals(other); 55public static bool operator ==(BitVector left, BitVector right) 60public static bool operator !=(BitVector left, BitVector right) 154public static BitVector FromWords(Word bits0, Word[] bits, int capacity) 162public static BitVector Create(int capacity) 174public static BitVector AllSet(int capacity) 213public BitVector Clone() 254public static BitVector Null => s_nullValue; 256public static BitVector Empty => s_emptyValue; 263public bool IntersectWith(in BitVector other) 315public bool UnionWith(in BitVector other)
Diagnostic\DiagnosticInfo.cs (3)
140var bits = BitVector.Create(actualLength); 151Debug.Assert(bits == BitVector.AllSet(actualLength));
Operations\ControlFlowGraphBuilder.cs (4)
239private static BitVector MarkReachableBlocks( 248var visited = BitVector.Empty; 380BitVector isolated = MarkReachableBlocks(blocks,
ReferenceManager\CommonReferenceManager.State.cs (2)
619var visitedAssemblies = BitVector.Create(bindingResult.Length);
Serialization\ObjectReader.cs (4)
514Debug.Assert(BitVector.BitsPerWord == 64); 516var wordLength = BitVector.WordsRequired(array.Length); 523for (var p = 0; p < BitVector.BitsPerWord; p++) 530array[count++] = BitVector.IsTrue(word, p);
Serialization\ObjectWriter.cs (2)
679var bits = BitVector.Create(array.Length);
Microsoft.CodeAnalysis.CSharp (133)
Binder\Binder.ValueChecks.cs (3)
347BitVector defaultArguments = default; 2626var paramsMatched = BitVector.Create(parameters.Length);
Binder\Binder_Attributes.cs (2)
187BitVector defaultArguments = default; 348var defaultArguments = boundAttribute.ConstructorDefaultArguments;
Binder\Binder_Expressions.cs (3)
4321BindDefaultArguments(nonNullSyntax, resultMember.Parameters, analyzedArguments.Arguments, analyzedArguments.RefKinds, ref argsToParamsOpt, out var defaultArguments, expanded, enableCallerInfo, diagnostics); 5007BitVector defaultArguments = default; 5731BindDefaultArguments(node, method.Parameters, analyzedArguments.Arguments, analyzedArguments.RefKinds, ref argToParams, out var defaultArguments, expanded, enableCallerInfo: true, diagnostics);
Binder\Binder_Invocation.cs (5)
1030BindDefaultArguments(node, method.Parameters, analyzedArguments.Arguments, analyzedArguments.RefKinds, ref argsToParams, out var defaultArguments, expanded, enableCallerInfo: true, diagnostics); 1270out BitVector defaultArguments, 1278var visitedParameters = BitVector.Create(parameters.Length); 1304defaultArguments = BitVector.Create(parameters.Length);
Binder\Binder_Query.cs (1)
324var defaultArguments = result.DefaultArguments.Clone();
Binder\Binder_Statements.cs (1)
3870defaultArguments: BitVector.Empty,
Binder\ForEachLoopBinder.cs (3)
1041out BitVector defaultArguments, 1264out BitVector defaultArguments, 1736defaultArguments: out BitVector defaultArguments,
Binder\MethodArgumentInfo.cs (1)
19BitVector DefaultArguments,
Binder\UsingStatementBinder.cs (1)
237out BitVector defaultArguments,
BoundTree\BoundDynamicObjectCreationExpression.cs (1)
15public override BitVector DefaultArguments => default;
BoundTree\BoundExpression.cs (1)
488defaultArguments: default(BitVector),
BoundTree\BoundNewT.cs (1)
18public override BitVector DefaultArguments => default;
BoundTree\BoundNoPiaObjectCreationExpression.cs (1)
18public override BitVector DefaultArguments => default;
BoundTree\BoundObjectCreationExpression.cs (3)
13ImmutableArray<RefKind> argumentRefKindsOpt, bool expanded, ImmutableArray<int> argsToParamsOpt, BitVector defaultArguments, ConstantValue? constantValueOpt, 19ImmutableArray<int> argsToParamsOpt, BitVector defaultArguments, ConstantValue? constantValueOpt, BoundObjectInitializerExpressionBase? initializerExpressionOpt, TypeSymbol type) 26BitVector defaultArguments, ConstantValue? constantValueOpt, BoundObjectInitializerExpressionBase? initializerExpressionOpt, TypeSymbol type)
BoundTree\BoundObjectCreationExpressionBase.cs (1)
18public abstract BitVector DefaultArguments { get; }
BoundTree\Constructors.cs (9)
95BitVector defaultArguments, 112BitVector defaultArguments, 146defaultArguments: default(BitVector), 190defaultArguments: default(BitVector), 203: this(syntax, constructor, ImmutableArray.Create<BoundExpression>(arguments), default(ImmutableArray<string>), default(ImmutableArray<RefKind>), false, default(ImmutableArray<int>), default(BitVector), null, null, constructor.ContainingType) 207: this(syntax, constructor, arguments, default(ImmutableArray<string>), default(ImmutableArray<RefKind>), false, default(ImmutableArray<int>), default(BitVector), null, null, constructor.ContainingType) 232defaultArguments: default(BitVector), 246BitVector defaultArguments, 259BitVector defaultArguments,
Compiler\MethodBodySynthesizer.cs (1)
54defaultArguments: BitVector.Empty,
FlowAnalysis\AlwaysAssignedWalker.cs (1)
111return new LocalState(BitVector.Empty);
FlowAnalysis\DataFlowsInWalker.cs (1)
58return new LocalState(BitVector.Empty);
FlowAnalysis\DefiniteAssignment.cs (10)
138private BitVector _alreadyReported; 189State = new LocalState(BitVector.Empty); 208State = new LocalState(BitVector.Empty); 230State = new LocalState(BitVector.Empty); 335_alreadyReported = BitVector.Empty; // no variables yet reported unassigned 1683var topState = new LocalState(BitVector.Empty); 1745var result = new LocalState(BitVector.AllSet(variableBySlot.Count)); 2651protected void AppendBitNames(BitVector a, StringBuilder builder) 2733internal BitVector Assigned; 2737internal LocalState(BitVector assigned, bool normalizeToBottom = false)
FlowAnalysis\DefiniteAssignment.LocalFunctions.cs (12)
16public BitVector ReadVars = BitVector.Empty; 18public BitVector CapturedMask = BitVector.Null; 19public BitVector InvertedCapturedMask = BitVector.Null; 32new LocalState(BitVector.AllSet(variableBySlot.Count), normalizeToBottom: true), 44var reads = localFunctionState.ReadVars; 126private BitVector GetCapturedBitmask() 129BitVector mask = BitVector.AllSet(n); 211var capturedAndRead = currentState.ReadVars;
FlowAnalysis\NullableWalker.cs (17)
6115BitVector defaultArguments, 6128BitVector defaultArguments, 6143BitVector defaultArguments, 6163BitVector defaultArguments, 6190BitVector defaultArguments, 6344BitVector defaultArguments, 6457BitVector defaultArguments) 11290internal readonly BitVector State; 11292internal LocalStateSnapshot(int id, LocalStateSnapshot? container, BitVector state) 11325private BitVector _state; 11327private LocalState(int id, Boxed? container, BitVector state) 11368static BitVector createBitVectorWithNotNulls(int capacity, bool reachable) 11370BitVector state = BitVector.Create(capacity * 2); 11398private static BitVector CreateBitVector(bool reachable) 11400BitVector state = BitVector.Create(2);
Generated\BoundNodes.xml.Generated.cs (18)
6032public BoundCall(SyntaxNode syntax, BoundExpression? receiverOpt, MethodSymbol method, ImmutableArray<BoundExpression> arguments, ImmutableArray<string> argumentNamesOpt, ImmutableArray<RefKind> argumentRefKindsOpt, bool isDelegateCall, bool expanded, bool invokedAsExtensionMethod, ImmutableArray<int> argsToParamsOpt, BitVector defaultArguments, LookupResultKind resultKind, ImmutableArray<MethodSymbol> originalMethodsOpt, TypeSymbol type, bool hasErrors = false) 6064public BitVector DefaultArguments { get; } 6071public BoundCall Update(BoundExpression? receiverOpt, MethodSymbol method, ImmutableArray<BoundExpression> arguments, ImmutableArray<string> argumentNamesOpt, ImmutableArray<RefKind> argumentRefKindsOpt, bool isDelegateCall, bool expanded, bool invokedAsExtensionMethod, ImmutableArray<int> argsToParamsOpt, BitVector defaultArguments, LookupResultKind resultKind, ImmutableArray<MethodSymbol> originalMethodsOpt, TypeSymbol type) 6124public BoundAttribute(SyntaxNode syntax, MethodSymbol? constructor, ImmutableArray<BoundExpression> constructorArguments, ImmutableArray<string?> constructorArgumentNamesOpt, ImmutableArray<int> constructorArgumentsToParamsOpt, bool constructorExpanded, BitVector constructorDefaultArguments, ImmutableArray<BoundAssignmentOperator> namedArguments, LookupResultKind resultKind, TypeSymbol type, bool hasErrors = false) 6148public BitVector ConstructorDefaultArguments { get; } 6155public BoundAttribute Update(MethodSymbol? constructor, ImmutableArray<BoundExpression> constructorArguments, ImmutableArray<string?> constructorArgumentNamesOpt, ImmutableArray<int> constructorArgumentsToParamsOpt, bool constructorExpanded, BitVector constructorDefaultArguments, ImmutableArray<BoundAssignmentOperator> namedArguments, LookupResultKind resultKind, TypeSymbol type) 6228public BoundObjectCreationExpression(SyntaxNode syntax, MethodSymbol constructor, ImmutableArray<MethodSymbol> constructorsGroup, ImmutableArray<BoundExpression> arguments, ImmutableArray<string> argumentNamesOpt, ImmutableArray<RefKind> argumentRefKindsOpt, bool expanded, ImmutableArray<int> argsToParamsOpt, BitVector defaultArguments, ConstantValue? constantValueOpt, BoundObjectInitializerExpressionBase? initializerExpressionOpt, bool wasTargetTyped, TypeSymbol type, bool hasErrors = false) 6257public override BitVector DefaultArguments { get; } 6265public BoundObjectCreationExpression Update(MethodSymbol constructor, ImmutableArray<MethodSymbol> constructorsGroup, ImmutableArray<BoundExpression> arguments, ImmutableArray<string> argumentNamesOpt, ImmutableArray<RefKind> argumentRefKindsOpt, bool expanded, ImmutableArray<int> argsToParamsOpt, BitVector defaultArguments, ConstantValue? constantValueOpt, BoundObjectInitializerExpressionBase? initializerExpressionOpt, bool wasTargetTyped, TypeSymbol type) 6476public BoundObjectInitializerMember(SyntaxNode syntax, Symbol? memberSymbol, ImmutableArray<BoundExpression> arguments, ImmutableArray<string> argumentNamesOpt, ImmutableArray<RefKind> argumentRefKindsOpt, bool expanded, ImmutableArray<int> argsToParamsOpt, BitVector defaultArguments, LookupResultKind resultKind, TypeSymbol receiverType, TypeSymbol type, bool hasErrors = false) 6502public BitVector DefaultArguments { get; } 6509public BoundObjectInitializerMember Update(Symbol? memberSymbol, ImmutableArray<BoundExpression> arguments, ImmutableArray<string> argumentNamesOpt, ImmutableArray<RefKind> argumentRefKindsOpt, bool expanded, ImmutableArray<int> argsToParamsOpt, BitVector defaultArguments, LookupResultKind resultKind, TypeSymbol receiverType, TypeSymbol type) 6596public BoundCollectionElementInitializer(SyntaxNode syntax, MethodSymbol addMethod, ImmutableArray<BoundExpression> arguments, BoundExpression? implicitReceiverOpt, bool expanded, ImmutableArray<int> argsToParamsOpt, BitVector defaultArguments, bool invokedAsExtensionMethod, LookupResultKind resultKind, TypeSymbol type, bool hasErrors = false) 6620public BitVector DefaultArguments { get; } 6627public BoundCollectionElementInitializer Update(MethodSymbol addMethod, ImmutableArray<BoundExpression> arguments, BoundExpression? implicitReceiverOpt, bool expanded, ImmutableArray<int> argsToParamsOpt, BitVector defaultArguments, bool invokedAsExtensionMethod, LookupResultKind resultKind, TypeSymbol type) 7138public BoundIndexerAccess(SyntaxNode syntax, BoundExpression? receiverOpt, PropertySymbol indexer, ImmutableArray<BoundExpression> arguments, ImmutableArray<string> argumentNamesOpt, ImmutableArray<RefKind> argumentRefKindsOpt, bool expanded, ImmutableArray<int> argsToParamsOpt, BitVector defaultArguments, ImmutableArray<PropertySymbol> originalIndexersOpt, TypeSymbol type, bool hasErrors = false) 7165public BitVector DefaultArguments { get; } 7171public BoundIndexerAccess Update(BoundExpression? receiverOpt, PropertySymbol indexer, ImmutableArray<BoundExpression> arguments, ImmutableArray<string> argumentNamesOpt, ImmutableArray<RefKind> argumentRefKindsOpt, bool expanded, ImmutableArray<int> argsToParamsOpt, BitVector defaultArguments, ImmutableArray<PropertySymbol> originalIndexersOpt, TypeSymbol type)
Lowering\DiagnosticsPass_ExpressionTrees.cs (2)
299BitVector defaultArguments, 346static bool hasDefaultArgument(ImmutableArray<BoundExpression> arguments, BitVector defaultArguments)
Lowering\LocalRewriter\LocalRewriter_AnonymousObjectCreation.cs (1)
31defaultArguments: default(BitVector),
Lowering\LocalRewriter\LocalRewriter_Call.cs (10)
253defaultArguments: default(BitVector), 269default(BitVector), 489var argumentsAssignedToTemp = BitVector.Null; 573void ensureTempTrackingSetup([NotNull] ref ArrayBuilder<LocalSymbol>? tempsOpt, ref BitVector positionsAssignedToTemp) 579positionsAssignedToTemp = BitVector.Create(arguments.Length); 589ref BitVector argumentsAssignedToTemp) 954BitVector defaultArguments, 1147BitVector defaultArguments, 1304defaultArguments: default(BitVector),
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (1)
394defaultArguments: default(BitVector),
Lowering\LocalRewriter\LocalRewriter_IndexerAccess.cs (1)
112BitVector defaultArguments,
Lowering\LocalRewriter\LocalRewriter_Literal.cs (2)
138argsToParamsOpt: default(ImmutableArray<int>), defaultArguments: default(BitVector), 158argsToParamsOpt: default(ImmutableArray<int>), defaultArguments: default(BitVector),
Lowering\LocalRewriter\LocalRewriter_ObjectCreationExpression.cs (1)
347defaultArguments: default(BitVector),
Lowering\StateMachineRewriter\ResumableStateMachineStateAllocator.cs (2)
30private BitVector _matchedStates = BitVector.Empty;
Lowering\SyntheticBoundNodeFactory.cs (2)
816invokedAsExtensionMethod: false, argsToParamsOpt: default(ImmutableArray<int>), defaultArguments: default(BitVector), resultKind: LookupResultKind.Viable, 827argsToParamsOpt: ImmutableArray<int>.Empty, defaultArguments: default(BitVector), resultKind: LookupResultKind.Viable, type: method.ReturnType)
Operations\CSharpOperationFactory_Methods.cs (2)
268BitVector.Empty, 282BitVector defaultArguments,
Symbols\ConstraintsHelper.cs (4)
805BitVector skipParameters = default(BitVector)) 843BitVector skipParameters = default(BitVector),
Symbols\Synthesized\RefKindVector.cs (5)
15private BitVector _bits; 24_bits = BitVector.Create(capacity * 2); 27private RefKindVector(BitVector bits) 135var bitVector = BitVector.FromWords(firstWord.Value, otherWords?.ToArrayAndFree() ?? Array.Empty<ulong>(), capacity * 2);
Symbols\Synthesized\SynthesizedEntryPointSymbol.cs (3)
304defaultArguments: default(BitVector), 355defaultArguments: default(BitVector), 582defaultArguments: default(BitVector),
Microsoft.CodeAnalysis.Test.Utilities (4)
Compilation\ControlFlowGraphVerifier.cs (1)
91var reachabilityVector = BasicBlockReachabilityDataFlowAnalyzer.Run(graph);
Compilation\FlowAnalysis\BasicBlockReachabilityDataFlowAnalyzer.cs (3)
14private BitVector _visited = BitVector.Empty; 17public static BitVector Run(ControlFlowGraph controlFlowGraph)
Microsoft.CodeAnalysis.UnitTests (31)
Collections\BitArrayTests.cs (31)
27int n = BitVector.BitsPerWord * a + b; 29BitVector arr = BitVector.AllSet(n); 55BitVector d = BitVector.Create(capacity); 79BitVector b1 = BitVector.Empty, b2 = BitVector.Empty; 120BitVector b1 = BitVector.Empty, b2 = BitVector.Empty; 176BitVector b = BitVector.Create(capacity); 182var required = BitVector.WordsRequired(capacity); 183var count = BitVector.AllSet(capacity).Words().Count(); 196BitVector b = BitVector.Create(capacity); 205for (var i = 0; i < BitVector.BitsPerWord; i++) 212Assert.Equal(b[index], BitVector.IsTrue(word, index)); 225var required = BitVector.WordsRequired(capacity); 226var count = BitVector.AllSet(capacity).Words().Count(); 234BitVector b = BitVector.Create(capacity); 264var b = BitVector.Create(capacity); 280var b = BitVector.Create(capacity); 300var b = BitVector.Create(capacity); 314var b = BitVector.Create(capacity);
Microsoft.CodeAnalysis.VisualBasic (96)
Analysis\FlowAnalysis\DataFlowPass.LocalState.vb (6)
54Private Shared ReadOnly Property UnreachableBitsSet As BitVector 56Return BitVector.AllSet(1) 64Private Shared Function IntersectBitArrays(ByRef receiver As BitVector, other As BitVector) As Boolean 99Friend Assigned As BitVector 101Friend Sub New(assigned As BitVector)
Analysis\FlowAnalysis\DataFlowPass.vb (6)
102Private _alreadyReported As BitVector 135Me._alreadyReported = BitVector.Empty ' no variables yet reported unassigned 240Me._alreadyReported = BitVector.Null 252Protected Sub AppendBitNames(a As BitVector, builder As StringBuilder) 1521Return New LocalState(BitVector.Empty) 1565Dim result = New LocalState(BitVector.AllSet(nextVariableSlot))
Binding\Binder_Attributes.vb (3)
258Dim defaultArguments As BitVector = Nothing 353Dim argumentInfo As (Arguments As ImmutableArray(Of BoundExpression), DefaultArguments As BitVector) = PassArguments(node.Name, methodResult, boundArguments, diagnostics) 532lValue = New BoundPropertyAccess(identifierName, propertySym, Nothing, PropertyAccessKind.Set, Not isReadOnly, Nothing, ImmutableArray(Of BoundExpression).Empty, defaultArguments:=BitVector.Null, hasErrors)
Binding\Binder_Invocation.vb (4)
848Dim argumentInfo As (Arguments As ImmutableArray(Of BoundExpression), DefaultArguments As BitVector) = PassArguments(node, bestResult, boundArguments, diagnostics) 2636) As (Arguments As ImmutableArray(Of BoundExpression), DefaultArguments As BitVector) 2648Dim defaultArguments = BitVector.Null 2753defaultArguments = BitVector.Create(paramCount)
Binding\Binder_Lambda.vb (1)
843Dim isByRef = BitVector.Empty
Binding\Binder_ObjectInitializer.vb (2)
125defaultArguments:=BitVector.Null, 465Dim argumentInfo As (Arguments As ImmutableArray(Of BoundExpression), DefaultArguments As BitVector) = PassArguments(typeNode, methodResult, boundArguments, diagnostics)
Binding\Binder_Operators.vb (1)
715Dim argumentInfo As (Arguments As ImmutableArray(Of BoundExpression), DefaultArguments As BitVector) =
Binding\MemberSemanticModel.vb (3)
737<Out> ByRef getEnumeratorDefaultArguments As BitVector, 739<Out> ByRef moveNextDefaultArguments As BitVector, 741<Out> ByRef currentDefaultArguments As BitVector
BoundTree\BoundCall.vb (2)
22Optional defaultArguments As BitVector = Nothing 42Me.New(syntax, method, methodGroupOpt, receiverOpt, arguments, defaultArguments:=BitVector.Null, constantValueOpt, isLValue, suppressObjectClone, type, hasErrors)
BoundTree\BoundObjectCreationExpression.vb (2)
15Optional hasErrors As Boolean = False, Optional defaultArguments As BitVector = Nothing) 19Public Function Update(constructorOpt As MethodSymbol, arguments As ImmutableArray(Of BoundExpression), defaultArguments As BitVector, initializerOpt As BoundObjectInitializerExpressionBase, type As TypeSymbol) As BoundObjectCreationExpression
BoundTree\BoundPropertyAccess.vb (1)
19Optional defaultArguments As BitVector = Nothing, Optional hasErrors As Boolean = False)
BoundTree\UnboundLambda.vb (3)
135Public ReadOnly ParameterIsByRef As BitVector 137Public Sub New(parameterTypes As ImmutableArray(Of TypeSymbol), parameterIsByRef As BitVector, returnType As TypeSymbol, returnsByRef As Boolean) 151Dim isByRef = BitVector.Empty
CodeGen\ResumableStateMachineStateAllocator.vb (2)
29Private _matchedStates As BitVector = BitVector.Empty
Generated\BoundNodes.xml.Generated.vb (16)
3017Public Sub New(syntax As SyntaxNode, method As MethodSymbol, methodGroupOpt As BoundMethodGroup, receiverOpt As BoundExpression, arguments As ImmutableArray(Of BoundExpression), defaultArguments As BitVector, constantValueOpt As ConstantValue, isLValue As Boolean, suppressObjectClone As Boolean, type As TypeSymbol, Optional hasErrors As Boolean = False) 3068Private ReadOnly _DefaultArguments As BitVector 3069Public ReadOnly Property DefaultArguments As BitVector 3101Public Function Update(method As MethodSymbol, methodGroupOpt As BoundMethodGroup, receiverOpt As BoundExpression, arguments As ImmutableArray(Of BoundExpression), defaultArguments As BitVector, constantValueOpt As ConstantValue, isLValue As Boolean, suppressObjectClone As Boolean, type As TypeSymbol) As BoundCall 3114Public Sub New(syntax As SyntaxNode, constructor As MethodSymbol, constructorArguments As ImmutableArray(Of BoundExpression), constructorDefaultArguments As BitVector, namedArguments As ImmutableArray(Of BoundExpression), resultKind As LookupResultKind, type As TypeSymbol, Optional hasErrors As Boolean = False) 3143Private ReadOnly _ConstructorDefaultArguments As BitVector 3144Public ReadOnly Property ConstructorDefaultArguments As BitVector 3169Public Function Update(constructor As MethodSymbol, constructorArguments As ImmutableArray(Of BoundExpression), constructorDefaultArguments As BitVector, namedArguments As ImmutableArray(Of BoundExpression), resultKind As LookupResultKind, type As TypeSymbol) As BoundAttribute 3498Public Sub New(syntax As SyntaxNode, constructorOpt As MethodSymbol, methodGroupOpt As BoundMethodGroup, arguments As ImmutableArray(Of BoundExpression), defaultArguments As BitVector, initializerOpt As BoundObjectInitializerExpressionBase, type As TypeSymbol, Optional hasErrors As Boolean = False) 3537Private ReadOnly _DefaultArguments As BitVector 3538Public ReadOnly Property DefaultArguments As BitVector 3549Public Function Update(constructorOpt As MethodSymbol, methodGroupOpt As BoundMethodGroup, arguments As ImmutableArray(Of BoundExpression), defaultArguments As BitVector, initializerOpt As BoundObjectInitializerExpressionBase, type As TypeSymbol) As BoundObjectCreationExpression 4192Public Sub New(syntax As SyntaxNode, propertySymbol As PropertySymbol, propertyGroupOpt As BoundPropertyGroup, accessKind As PropertyAccessKind, isWriteable As Boolean, isLValue As Boolean, receiverOpt As BoundExpression, arguments As ImmutableArray(Of BoundExpression), defaultArguments As BitVector, type As TypeSymbol, Optional hasErrors As Boolean = False) 4264Private ReadOnly _DefaultArguments As BitVector 4265Public ReadOnly Property DefaultArguments As BitVector 4276Public Function Update(propertySymbol As PropertySymbol, propertyGroupOpt As BoundPropertyGroup, accessKind As PropertyAccessKind, isWriteable As Boolean, isLValue As Boolean, receiverOpt As BoundExpression, arguments As ImmutableArray(Of BoundExpression), defaultArguments As BitVector, type As TypeSymbol) As BoundPropertyAccess
Lowering\LocalRewriter\LocalRewriter_Query.vb (1)
147defaultArguments:=BitVector.Null,
Operations\VisualBasicOperationFactory.vb (6)
1193Dim getEnumeratorDefaultArguments As BitVector = BitVector.Null 1195Dim moveNextDefaultArguments As BitVector = BitVector.Null 1197Dim currentDefaultArguments As BitVector = BitVector.Null
Operations\VisualBasicOperationFactory_Methods.vb (1)
194Friend Function DeriveArguments(boundArguments As ImmutableArray(Of BoundExpression), parameters As ImmutableArray(Of VisualBasic.Symbols.ParameterSymbol), ByRef defaultArguments As BitVector) As ImmutableArray(Of IArgumentOperation)
Semantics\Operators.vb (6)
1964Dim applicable = BitVector.Create(opSet.Count) 2036<[In]()> ByRef applicable As BitVector, 2258applicable As BitVector, 2373<[In]()> ByRef applicable As BitVector, 2798If DetectReferencesToGenericParameters(definition.Parameters(0).Type, TypeParameterKind.Type, BitVector.Null) <> TypeParameterKind.None Then 2802If DetectReferencesToGenericParameters(definition.ReturnType, TypeParameterKind.Type, BitVector.Null) <> TypeParameterKind.None Then
Semantics\OverloadResolution.vb (15)
77Public Overridable ReadOnly Property FixedTypeParameters As BitVector 79Return BitVector.Null 238Private _fixedTypeParameters As BitVector 245Private Shared Function GetFixedTypeParameters(method As MethodSymbol) As BitVector 247Dim fixedTypeParameters = BitVector.Create(method.ReducedFrom.Arity) 259Private Sub New(method As MethodSymbol, fixedTypeParameters As BitVector) 278Public Overrides ReadOnly Property FixedTypeParameters As BitVector 711Public NotInferredTypeArguments As BitVector 4614BitVector.Null) 4619BitVector.Null) 4645methodTypeParametersToTreatAsTypeTypeParameters As BitVector 4678methodTypeParametersToTreatAsTypeTypeParameters As BitVector 4703methodTypeParametersToTreatAsTypeTypeParameters As BitVector 4875Dim inferredTypeByAssumption As BitVector = Nothing 4937candidate.NotInferredTypeArguments = BitVector.Create(typeArguments.Length)
Semantics\TypeInference\TypeArgumentInference.vb (11)
30<Out> ByRef inferredTypeByAssumption As BitVector, 35Optional inferTheseTypeParameters As BitVector = Nothing 712<Out> ByRef inferredTypeByAssumption As BitVector, 717inferTheseTypeParameters As BitVector 894inferredTypeByAssumption = BitVector.Create(arity) 1051AddTypeToGraph(node.ParameterType, node, isOutgoingEdge, BitVector.Create(_typeParameterNodes.Length)) 1070ByRef haveSeenTypeParameters As BitVector 1157AddTypeToGraph(parameterType, argNode, isOutgoingEdge:=True, haveSeenTypeParameters:=BitVector.Create(_typeParameterNodes.Length)) 1165Dim haveSeenTypeParameters = BitVector.Create(_typeParameterNodes.Length) 1191AddTypeToGraph(parameterType, argNode, isOutgoingEdge:=True, haveSeenTypeParameters:=BitVector.Create(_typeParameterNodes.Length)) 1213Dim haveSeenTypeParameters = BitVector.Create(_typeParameterNodes.Length)
Symbols\ReducedExtensionMethodSymbol.vb (1)
77Dim fixTheseTypeParameters = BitVector.Create(possiblyExtensionMethod.Arity)
Symbols\TypeSubstitution.vb (3)
410Dim haveSubstitutionForOrdinal = BitVector.Create(params.Length) 752Dim haveSubstitutionForOrdinal As BitVector = Nothing 764haveSubstitutionForOrdinal = BitVector.Create(arity)