1 write to RefKind
Microsoft.CodeAnalysis.CSharp (1)
Symbols\AnonymousTypes\AnonymousTypeField.cs (1)
49this.RefKind = refKind;
12 references to RefKind
Microsoft.CodeAnalysis.CSharp (12)
Symbols\AnonymousTypes\AnonymousTypeField.cs (3)
58return new AnonymousTypeField(Name, Location, type, RefKind, Scope, DefaultValue, IsParams, HasUnscopedRefAttribute); 64&& x.RefKind == y.RefKind
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (3)
259if (fields.Any(static f => f.RefKind != RefKind.None)) 264refKinds[i] = fields[i].RefKind; 321return (field.Scope, ParameterHelpers.IsRefScopedByDefault(useUpdatedEscapeRules, field.RefKind)) switch
Symbols\AnonymousTypes\PublicSymbols\AnonymousType.DelegatePublicSymbol.cs (2)
62new SynthesizedDelegateInvokeMethod.ParameterDescription(field.TypeWithAnnotations, field.RefKind, field.Scope, field.DefaultValue, isParams: field.IsParams, hasUnscopedRefAttribute: field.HasUnscopedRefAttribute)); 65var invokeMethod = new SynthesizedDelegateInvokeMethod(this, parameters, returnField.TypeWithAnnotations, returnField.RefKind);
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.DelegateTemplateSymbol.cs (4)
141new SynthesizedDelegateInvokeMethod.ParameterDescription(type, field.RefKind, field.Scope, field.DefaultValue, isParams: field.IsParams, hasUnscopedRefAttribute: field.HasUnscopedRefAttribute)); 146var returnRefKind = returnParameter.RefKind; 202new SynthesizedDelegateInvokeMethod.ParameterDescription(typeMap.SubstituteType(field.Type), field.RefKind, field.Scope, field.DefaultValue, isParams: field.IsParams, hasUnscopedRefAttribute: field.HasUnscopedRefAttribute)); 207var returnRefKind = returnParameter.RefKind;