1 instantiation of RefKindVector
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Synthesized\RefKindVector.cs (1)
20
return new
RefKindVector
(capacity);
21 references to RefKindVector
Microsoft.CodeAnalysis.CSharp (20)
Lowering\LocalRewriter\LoweredDynamicOperationFactory.cs (3)
755
RefKindVector
byRefs;
758
byRefs =
RefKindVector
.Create(1 + (loweredReceiver != null ? 1 : 0) + loweredArguments.Length + (loweredRight != null ? 1 : 0) + (returnsVoid ? 0 : 1));
781
byRefs = default(
RefKindVector
);
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (7)
46
public SynthesizedDelegateKey(int parameterCount,
RefKindVector
byRefs, bool returnsVoid, int generation)
160
internal AnonymousDelegateTemplateSymbol SynthesizeDelegate(int parameterCount,
RefKindVector
refKinds, bool returnsVoid, int generation)
258
var
refKinds = default(
RefKindVector
);
261
refKinds =
RefKindVector
.Create(nTypeArguments);
468
private AnonymousDelegateTemplateSymbol CreatePlaceholderSynthesizedDelegateValue(string name,
RefKindVector
refKinds, bool returnsVoid, int parameterCount)
575
if (GeneratedNames.TryParseSynthesizedDelegateName(key.Name, out
var
refKinds, out var returnsVoid, out var generation, out var parameterCount))
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.DelegateTemplateSymbol.cs (2)
37
RefKindVector
refKinds)
51
static SynthesizedDelegateInvokeMethod createInvokeMethod(AnonymousDelegateTemplateSymbol containingType,
RefKindVector
refKinds, TypeSymbol? voidReturnTypeOpt)
Symbols\Synthesized\GeneratedNames.cs (3)
376
internal static string MakeSynthesizedDelegateName(
RefKindVector
byRefs, bool returnsVoid, int generation)
398
internal static bool TryParseSynthesizedDelegateName(string name, out
RefKindVector
byRefs, out bool returnsVoid, out int generation, out int parameterCount)
433
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));