import {Component} from '@angular/core'; import {By} from '@angular/platform-browser'; const a = By.css('[cdkPortalOutlet]'); const b = By.css('[cdkPortalOutlet]'); // These should not change because we only update string literals that are // inside of a call expression. const c = 'cdkPortalHost'; const d = 'portalHost'; @Component({ template: `
`, styles: [ '[cdkPortalOutlet] {background: red}', 'div[cdkPortalOutlet] {color: blue}' ] }) class E {} @Component({ template: `
`, styles: [ '[cdkPortalOutlet] {background: red}', 'div[cdkPortalOutlet] {color: blue}' ] }) class F {}