Skip to content

Instantly share code, notes, and snippets.

View gist:9279034
function f1() { return @("hello"); }
function f2() { return @("hello", "world"); }
$a = @(f1);
write-host $a.Length # prints 1
$a = @(f2);
write-host $a.Length # prints 2
@Ark-kun
Ark-kun / MonoGame.Framework - Windows except Android
Created Jun 18, 2013
Public API members of the Windows version of MonoGame.Framework.dll which are missing in the Android version.
View MonoGame.Framework - Windows except Android
System.Boolean Microsoft.Xna.Framework.Audio.SoundEffect::get_IsDisposed()
System.String Microsoft.Xna.Framework.Content.ContentTypeReader::Normalize(System.String,System.String[])
Microsoft.Xna.Framework.FrameworkDispatcher
System.Void Microsoft.Xna.Framework.FrameworkDispatcher::Update()
Microsoft.Xna.Framework.GameWindow Microsoft.Xna.Framework.Game::get_Window()
Microsoft.Xna.Framework.GameWindow Microsoft.Xna.Framework.GamerServices.Guide::get_Window()
@Ark-kun
Ark-kun / MonoGame.Framework.skeleton.portable.dll.log
Created Jun 9, 2013
Log produced by applying piranha to the Windows version of the MonoGame.Framework.dll piranha.exe make-portable-skeleton --profile ".NETPortable,Version=v4.0,Profile=Profile96" -i MonoGame.Framework.dll -o MonoGame.Framework.skeleton.portable.dll
View MonoGame.Framework.skeleton.portable.dll.log
MakePortableSkeletonProcessor: Started MakePortableSkeletonProcessor.
MakeSkeletonProcessor: Started MakeSkeletonProcessor.
RemoveAllResourcesProcessor: Started RemoveAllResourcesProcessor.
RemoveAllResourcesProcessor: Finished RemoveAllResourcesProcessor.
EnsureParameterlessConstructorsProcessor: Started EnsureParameterlessConstructorsProcessor.
EnsureParameterlessConstructors: Added parameterless constructor to type Microsoft.Xna.Framework.Content.ContentTypeReader.
EnsureParameterlessConstructors: Added parameterless constructor to type Microsoft.Xna.Framework.Content.ContentManager.
EnsureParameterlessConstructors: Added parameterless constructor to type Microsoft.Xna.Framework.Graphics.Texture3D.
EnsureParameterlessConstructors: Added parameterless constructor to type Microsoft.Xna.Framework.Graphics.TextureCube.
EnsureParameterlessConstructors: Added parameterless constructor to type Microsoft.Xna.Framework.Graphics.
@Ark-kun
Ark-kun / gist:5669311
Created May 29, 2013
Types used by the Windows/MonoGameFramework.dll library after piranha.exe remove-code-members-types (when it worked properly).
View gist:5669311
[MonoGame.Framework]Enumerator
[MonoGame.Framework]GateType
[MonoGame.Framework]Microsoft.Xna.Framework.Audio.AudioChannels
[MonoGame.Framework]Microsoft.Xna.Framework.Audio.AudioEmitter
[MonoGame.Framework]Microsoft.Xna.Framework.Audio.AudioListener
[MonoGame.Framework]Microsoft.Xna.Framework.Audio.AudioStopOptions
[MonoGame.Framework]Microsoft.Xna.Framework.Audio.InstancePlayLimitException
[MonoGame.Framework]Microsoft.Xna.Framework.Audio.NoAudioHardwareException
[MonoGame.Framework]Microsoft.Xna.Framework.Audio.SoundEffect
[MonoGame.Framework]Microsoft.Xna.Framework.Audio.SoundEffectInstance