1 write to DefaultValue
Microsoft.CodeAnalysis.CSharp (1)
Symbols\AnonymousTypes\AnonymousTypeField.cs (1)
51
this.
DefaultValue
= defaultValue;
7 references to DefaultValue
Microsoft.CodeAnalysis.CSharp (7)
Symbols\AnonymousTypes\AnonymousTypeField.cs (3)
58
return new AnonymousTypeField(Name, Location, type, RefKind, Scope,
DefaultValue
, IsParams, HasUnscopedRefAttribute);
66
&& x.
DefaultValue
== y.
DefaultValue
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (1)
331
needsIndexedName = needsIndexedName || field.IsParams || field.
DefaultValue
is not null;
Symbols\AnonymousTypes\PublicSymbols\AnonymousType.DelegatePublicSymbol.cs (1)
62
new SynthesizedDelegateInvokeMethod.ParameterDescription(field.TypeWithAnnotations, field.RefKind, field.Scope, field.
DefaultValue
, isParams: field.IsParams, hasUnscopedRefAttribute: field.HasUnscopedRefAttribute));
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.DelegateTemplateSymbol.cs (2)
141
new SynthesizedDelegateInvokeMethod.ParameterDescription(type, field.RefKind, field.Scope, field.
DefaultValue
, isParams: field.IsParams, hasUnscopedRefAttribute: field.HasUnscopedRefAttribute));
202
new SynthesizedDelegateInvokeMethod.ParameterDescription(typeMap.SubstituteType(field.Type), field.RefKind, field.Scope, field.
DefaultValue
, isParams: field.IsParams, hasUnscopedRefAttribute: field.HasUnscopedRefAttribute));