1 write to Compilation
Microsoft.CodeAnalysis.CSharp (1)
Symbols\AnonymousTypes\AnonymousTypeManager.cs (1)
20this.Compilation = compilation;
33 references to Compilation
Microsoft.CodeAnalysis.CSharp (33)
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.GetWellKnownTypeMember(WellKnownMember.System_String__Format_IFormatProvider) as MethodSymbol; }
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (10)
120CSharpCompilation previousSubmission = this.Compilation.PreviousSubmission; 142CSharpCompilation previousSubmission = this.Compilation.PreviousSubmission; 177Compilation.GetSpecialType(SpecialType.System_IntPtr), 178returnsVoid ? Compilation.GetSpecialType(SpecialType.System_Void) : null, 191bool useUpdatedEscapeRules = Compilation.SourceModule.UseUpdatedEscapeRules; 468Compilation.GetSpecialType(SpecialType.System_IntPtr), 469returnsVoid ? Compilation.GetSpecialType(SpecialType.System_Void) : null, 521int submissionSlotIndex = this.Compilation.GetSubmissionSlotIndex(); 613builder.Sort(new AnonymousTypeOrDelegateComparer(this.Compilation)); 631builder.Sort(new AnonymousTypeOrDelegateComparer(this.Compilation));
Symbols\AnonymousTypes\PublicSymbols\AnonymousManager.TypeOrDelegatePublicSymbol.cs (1)
58get { 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)
100if (currentSmallestLocation != null && this.Manager.Compilation.CompareSourceLocations(currentSmallestLocation, location) < 0) 130get { return this.Manager.Compilation.SourceModule.GlobalNamespace; }