1 instantiation of RefKindVector
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Synthesized\RefKindVector.cs (1)
20return new RefKindVector(capacity);
21 references to RefKindVector
Microsoft.CodeAnalysis.CSharp (20)
Lowering\LocalRewriter\LoweredDynamicOperationFactory.cs (3)
755RefKindVector byRefs; 758byRefs = RefKindVector.Create(1 + (loweredReceiver != null ? 1 : 0) + loweredArguments.Length + (loweredRight != null ? 1 : 0) + (returnsVoid ? 0 : 1)); 781byRefs = default(RefKindVector);
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (7)
46public SynthesizedDelegateKey(int parameterCount, RefKindVector byRefs, bool returnsVoid, int generation) 160internal AnonymousDelegateTemplateSymbol SynthesizeDelegate(int parameterCount, RefKindVector refKinds, bool returnsVoid, int generation) 258var refKinds = default(RefKindVector); 261refKinds = RefKindVector.Create(nTypeArguments); 468private AnonymousDelegateTemplateSymbol CreatePlaceholderSynthesizedDelegateValue(string name, RefKindVector refKinds, bool returnsVoid, int parameterCount) 575if (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> 18internal static RefKindVector Create(int capacity) 69public bool Equals(RefKindVector other) 76return obj is RefKindVector other && this.Equals(other); 109public static bool TryParse(string refKindString, int capacity, out RefKindVector result)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Emit\GeneratedNamesTests.cs (1)
29Assert.True(GeneratedNames.TryParseSynthesizedDelegateName(name, out var actualByRefs, out var actualReturnsVoid, out var actualGeneration, out var actualParameterCount));