2 instantiations of RefKindVector
Microsoft.CodeAnalysis.CSharp (2)
Symbols\Synthesized\RefKindVector.cs (2)
19return new RefKindVector(capacity); 136result = new RefKindVector(bitVector);
21 references to RefKindVector
Microsoft.CodeAnalysis.CSharp (20)
Lowering\LocalRewriter\LoweredDynamicOperationFactory.cs (3)
770RefKindVector byRefs; 773byRefs = RefKindVector.Create(1 + (loweredReceiver != null ? 1 : 0) + loweredArguments.Length + (loweredRight != null ? 1 : 0) + (returnsVoid ? 0 : 1)); 796byRefs = default(RefKindVector);
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (7)
45public SynthesizedDelegateKey(int parameterCount, RefKindVector byRefs, bool returnsVoid, int generation) 159internal AnonymousDelegateTemplateSymbol SynthesizeDelegate(int parameterCount, RefKindVector refKinds, bool returnsVoid, int generation) 253var refKinds = default(RefKindVector); 256refKinds = RefKindVector.Create(nTypeArguments); 462private AnonymousDelegateTemplateSymbol CreatePlaceholderSynthesizedDelegateValue(string name, RefKindVector refKinds, bool returnsVoid, int parameterCount) 569if (GeneratedNames.TryParseSynthesizedDelegateName(key.Name, out var refKinds, out var returnsVoid, out var generation, out var parameterCount))
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.DelegateTemplateSymbol.cs (2)
37RefKindVector refKinds) 51static SynthesizedDelegateInvokeMethod createInvokeMethod(AnonymousDelegateTemplateSymbol containingType, RefKindVector refKinds, TypeSymbol? voidReturnTypeOpt)
Symbols\Synthesized\GeneratedNames.cs (3)
376internal static string MakeSynthesizedDelegateName(RefKindVector byRefs, bool returnsVoid, int generation) 398internal static bool TryParseSynthesizedDelegateName(string name, out RefKindVector byRefs, out bool returnsVoid, out int generation, out int parameterCount) 433if (!RefKindVector.TryParse(refKindString, arity, out byRefs))
Symbols\Synthesized\RefKindVector.cs (5)
13internal struct RefKindVector : IEquatable<RefKindVector> 17internal static RefKindVector Create(int capacity) 65public bool Equals(RefKindVector other) 72return obj is RefKindVector other && this.Equals(other); 105public static bool TryParse(string refKindString, int capacity, out RefKindVector result)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Emit\GeneratedNamesTests.cs (1)
26Assert.True(GeneratedNames.TryParseSynthesizedDelegateName(name, out var actualByRefs, out var actualReturnsVoid, out var actualGeneration, out var actualParameterCount));