1 write to Compilation
Microsoft.CodeAnalysis.CSharp (1)
Symbols\AnonymousTypes\AnonymousTypeManager.cs (1)
20this.Compilation = compilation;
32 references to Compilation
Microsoft.CodeAnalysis.CSharp (32)
Symbols\AnonymousTypes\AnonymousTypeManager.SymbolCollection.cs (15)
111get { return Compilation.GetSpecialType(SpecialType.System_Object); } 116get { return Compilation.GetSpecialType(SpecialType.System_Void); } 121get { return Compilation.GetSpecialType(SpecialType.System_Boolean); } 126get { return Compilation.GetSpecialType(SpecialType.System_String); } 131get { return Compilation.GetSpecialType(SpecialType.System_Int32); } 136get { return Compilation.GetSpecialType(SpecialType.System_IntPtr); } 141get { return Compilation.GetSpecialType(SpecialType.System_MulticastDelegate); } 146get { return Compilation.GetWellKnownType(WellKnownType.System_Diagnostics_DebuggerBrowsableState); } 151get { return this.Compilation.GetSpecialTypeMember(SpecialMember.System_Object__Equals) as MethodSymbol; } 156get { return this.Compilation.GetSpecialTypeMember(SpecialMember.System_Object__ToString) as MethodSymbol; } 161get { return this.Compilation.GetSpecialTypeMember(SpecialMember.System_Object__GetHashCode) as MethodSymbol; } 166get { return this.Compilation.GetWellKnownTypeMember(WellKnownMember.System_Collections_Generic_EqualityComparer_T__Equals) as MethodSymbol; } 171get { return this.Compilation.GetWellKnownTypeMember(WellKnownMember.System_Collections_Generic_EqualityComparer_T__GetHashCode) as MethodSymbol; } 176get { return this.Compilation.GetWellKnownTypeMember(WellKnownMember.System_Collections_Generic_EqualityComparer_T__get_Default) as MethodSymbol; } 181get { return this.Compilation.GetSpecialTypeMember(SpecialMember.System_String__Format_IFormatProvider) as MethodSymbol; }
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (9)
120var previousCache = Compilation.PreviousSubmission?.AnonymousTypeManager.AnonymousTypeTemplates; 140var previousCache = Compilation.PreviousSubmission?.AnonymousTypeManager._lazyAnonymousDelegates; 172Compilation.GetSpecialType(SpecialType.System_IntPtr), 173returnsVoid ? Compilation.GetSpecialType(SpecialType.System_Void) : null, 186bool useUpdatedEscapeRules = Compilation.SourceModule.UseUpdatedEscapeRules; 187bool runtimeSupportsByRefLikeGenerics = Compilation.SourceAssembly.RuntimeSupportsByRefLikeGenerics; 474int submissionSlotIndex = Compilation.GetSubmissionSlotIndex(); 575builder.Sort(new AnonymousTypeOrDelegateComparer(this.Compilation)); 593builder.Sort(new AnonymousTypeOrDelegateComparer(this.Compilation));
Symbols\AnonymousTypes\PublicSymbols\AnonymousManager.TypeOrDelegatePublicSymbol.cs (1)
64get { return this.Manager.Compilation.SourceModule.GlobalNamespace; }
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.FieldSymbol.cs (1)
152AddSynthesizedAttribute(ref attributes, manager.Compilation.TrySynthesizeAttribute(
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.SynthesizedMethodBase.cs (1)
172AddSynthesizedAttribute(ref attributes, Manager.Compilation.TrySynthesizeAttribute(
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TemplateSymbol.cs (3)
164AddSynthesizedAttribute(ref attributes, Manager.Compilation.TrySynthesizeAttribute( 167if (Manager.Compilation.Options.OptimizationLevel == OptimizationLevel.Debug) 218return Manager.Compilation.TrySynthesizeAttribute(
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TypeOrDelegateTemplateSymbol.cs (2)
102if (currentSmallestLocation != null && this.Manager.Compilation.CompareSourceLocations(currentSmallestLocation, location) < 0) 142get { return this.Manager.Compilation.SourceModule.GlobalNamespace; }