2 instantiations of RefKindVector
Microsoft.CodeAnalysis.CSharp (2)
Symbols\Synthesized\RefKindVector.cs (2)
20
return new
RefKindVector
(capacity);
140
result = new
RefKindVector
(bitVector);
19 references to RefKindVector
Microsoft.CodeAnalysis.CSharp (18)
Lowering\LocalRewriter\LoweredDynamicOperationFactory.cs (3)
756
RefKindVector
byRefs;
759
byRefs =
RefKindVector
.Create(1 + (loweredReceiver != null ? 1 : 0) + loweredArguments.Length + (loweredRight != null ? 1 : 0) + (returnsVoid ? 0 : 1));
782
byRefs = default(
RefKindVector
);
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (5)
44
public SynthesizedDelegateKey(int parameterCount,
RefKindVector
byRefs, bool returnsVoid, int generation)
153
internal AnonymousDelegateTemplateSymbol SynthesizeDelegate(int parameterCount,
RefKindVector
refKinds, bool returnsVoid, int generation)
252
var
refKinds = default(
RefKindVector
);
255
refKinds =
RefKindVector
.Create(nTypeArguments);
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.DelegateTemplateSymbol.cs (2)
38
RefKindVector
refKinds)
52
static SynthesizedDelegateInvokeMethod createInvokeMethod(AnonymousDelegateTemplateSymbol containingType,
RefKindVector
refKinds, TypeSymbol? voidReturnTypeOpt)
Symbols\Synthesized\GeneratedNames.cs (3)
382
internal static string MakeSynthesizedDelegateName(
RefKindVector
byRefs, bool returnsVoid, int generation)
404
internal static bool TryParseSynthesizedDelegateName(string name, out
RefKindVector
byRefs, out bool returnsVoid, out int generation, out int parameterCount)
439
if (!
RefKindVector
.TryParse(refKindString, arity, out byRefs))
Symbols\Synthesized\RefKindVector.cs (5)
13
internal struct RefKindVector : IEquatable<
RefKindVector
>
18
internal static
RefKindVector
Create(int capacity)
69
public bool Equals(
RefKindVector
other)
76
return obj is
RefKindVector
other && this.Equals(other);
109
public static bool TryParse(string refKindString, int capacity, out
RefKindVector
result)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Emit\GeneratedNamesTests.cs (1)
29
Assert.True(GeneratedNames.TryParseSynthesizedDelegateName(name, out
var
actualByRefs, out var actualReturnsVoid, out var actualGeneration, out var actualParameterCount));