• O
    Generate readonlyattribute if it does not exist (#18715) · d63f0384
    Omar Tawfik 提交于
    * Call this.DeclaringCompilation.EnsureReadOnlyAttributeExists() when needed
    
    * Promote EmbeddedAttribute to be used by both compilers
    
    * Generate Embedded attributes on PE Module Builder
    
    * Thread PEModuleBuilder through Symbol.AddSynthesizedAttributes()
    
    * Fix failing tests
    
    * Base case passing
    
    * Refactor ReadOnlyAttribute to IsReadOnlyAttribute
    
    * Fix build break
    
    * More Tests
    
    * Clean up
    
    * PR Comments #1
    
    PR Comments #3
    
    PR Comments #4
    
    PR Comments #5
    
    PR Comments #6
    
    PR Comments # 7
    
    * Handle NoPIA
    
    Added more tests
    
    * Lambdas and Local functions no longer generate attributes in symbols
    
    Added tests for constructors and operators
    
    Signal need for synthesized attributes in local rewriter for lambdas an local functions
    
    Clean up
    
    * Clean up
    
    * More PR Feedback
    
    * Adding more tests
    
    * More PR Comments
    
    * More tests for explicit interface implementations
    
    * Latest PR Comments
    
    * Moved EnsureIsReadOnlyAttributeExists to AfterAddingTypeMembersChecks
    
    * Fix failing tests
    d63f0384
CommonTypeEarlyWellKnownAttributeData.cs 3.4 KB