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