Exemple #1
0
 internal TypeParameterBuilder(SyntaxReference syntaxRef, SourceNamedTypeSymbol owner, Location location)
 {
     _syntaxRef = syntaxRef;
     Debug.Assert(syntaxRef.GetSyntax().IsKind(SyntaxKind.TypeParameter));
     _owner    = owner;
     _location = location;
 }
 public SynthesizedEnumValueFieldSymbol(SourceNamedTypeSymbol containingEnum)
     : base(containingEnum, WellKnownMemberNames.EnumBackingFieldName, isPublic: true, isReadOnly: false, isStatic: false)
 {
 }
 public SourceTypeParameterSymbol(SourceNamedTypeSymbol owner, string name, int ordinal, VarianceKind varianceKind, ImmutableArray <Location> locations, ImmutableArray <SyntaxReference> syntaxRefs)
     : base(name, ordinal, locations, syntaxRefs)
 {
     _owner        = owner;
     _varianceKind = varianceKind;
 }